Skip to content

Commit

Permalink
Formatter / Remove unused Groovy mode.
Browse files Browse the repository at this point in the history
Groovy formatter is unused and unmaintained in GeoNetwork.
It is also unused in the (only one?) project which used it (geocat.ch)
since 2 years now.

This PR propose to remove it.
  • Loading branch information
fxprunayre committed Sep 19, 2023
1 parent 68f7829 commit 83eddb1
Show file tree
Hide file tree
Showing 198 changed files with 18 additions and 14,243 deletions.
9 changes: 0 additions & 9 deletions code_quality/findbugs-excludes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,6 @@
<Bug pattern="DC_DOUBLECHECK"/>
<Method name="getSupportedExts"/>
</Match>
<Match>
<Class name="org.fao.geonet.api.records.formatters.groovy.util.AssociatedLink"/>
<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/>
<Method name="equals"/>
</Match>
<Match>
<Class name="org.fao.geonet.api.records.formatters.groovy.util.LinkType"/>
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
</Match>
<Match>
<Class name="org.fao.geonet.api.regions.ListRegionsResponse"/>
<Bug pattern="URF_UNREAD_FIELD"/>
Expand Down
7 changes: 0 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -386,19 +386,12 @@
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.15.3</version>
</dependency>

<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.4.21</version>
</dependency>

<!-- universal character set detector -->
<dependency>
<groupId>com.googlecode.juniversalchardet</groupId>
Expand Down
4 changes: 0 additions & 4 deletions schemas-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@
<name>Tests for schema plugins</name>

<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>gn-services</artifactId>
Expand Down
108 changes: 0 additions & 108 deletions schemas-test/src/test/java/cswrecord/FullViewFormatterTest.java

This file was deleted.

107 changes: 0 additions & 107 deletions schemas-test/src/test/java/cswrecord/XmlViewFormatterTest.java

This file was deleted.

108 changes: 0 additions & 108 deletions schemas-test/src/test/java/dublincore/FullViewFormatterTest.java

This file was deleted.

0 comments on commit 83eddb1

Please sign in to comment.