Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
# Conflicts:
#	pom.xml
#	registry-cli/pom.xml
#	registry-directory/pom.xml
#	registry-doi/pom.xml
#	registry-domain/pom.xml
#	registry-events/pom.xml
#	registry-examples/pom.xml
#	registry-identity/pom.xml
#	registry-integration-tests/pom.xml
#	registry-integration-tests/src/test/java/org/gbif/registry/ws/it/collections/resource/CollectionsSearchResourceTest.java
#	registry-integration-tests/src/test/java/org/gbif/registry/ws/it/collections/service/CollectionsSearchIT.java
#	registry-integration-tests/src/test/java/org/gbif/registry/ws/it/collections/service/suggestions/CollectionChangeSuggestionServiceIT.java
#	registry-integration-tests/src/test/java/org/gbif/registry/ws/it/persistence/mapper/CollectionMapperIT.java
#	registry-integration-tests/src/test/java/org/gbif/registry/ws/it/persistence/mapper/InstitutionMapperIT.java
#	registry-mail/pom.xml
#	registry-messaging/pom.xml
#	registry-oaipmh/pom.xml
#	registry-persistence/pom.xml
#	registry-persistence/src/main/java/org/gbif/registry/persistence/config/MyBatisConfiguration.java
#	registry-persistence/src/main/java/org/gbif/registry/persistence/mapper/collections/dto/CollectionSearchDto.java
#	registry-persistence/src/main/java/org/gbif/registry/persistence/mapper/collections/dto/InstitutionSearchDto.java
#	registry-persistence/src/main/java/org/gbif/registry/persistence/mapper/collections/dto/SearchDto.java
#	registry-persistence/src/main/resources/liquibase/143-removed-fields-grscicoll.xml
#	registry-persistence/src/main/resources/liquibase/master.xml
#	registry-persistence/src/main/resources/org/gbif/registry/persistence/mapper/collections/Common.xml
#	registry-pipelines/pom.xml
#	registry-search/pom.xml
#	registry-security/pom.xml
#	registry-service/pom.xml
#	registry-service/src/main/java/org/gbif/registry/service/collections/CollectionsSearchService.java
#	registry-service/src/main/java/org/gbif/registry/service/collections/descriptors/DefaultDescriptorService.java
#	registry-service/src/main/java/org/gbif/registry/service/collections/descriptors/Interpreter.java
#	registry-surety/pom.xml
#	registry-ws-client/pom.xml
#	registry-ws/pom.xml
#	registry-ws/src/main/java/org/gbif/registry/ws/provider/CollectionSearchRequestHandlerMethodArgumentResolver.java
#	registry-ws/src/main/java/org/gbif/registry/ws/resources/collections/CollectionResource.java
  • Loading branch information
marcos-lg committed Nov 29, 2024
2 parents b289f22 + 73c2b32 commit e21d247
Show file tree
Hide file tree
Showing 60 changed files with 675 additions and 434 deletions.
125 changes: 58 additions & 67 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>org.gbif</groupId>
<artifactId>motherpom</artifactId>
<version>56</version>
<version>59</version>
</parent>

<groupId>org.gbif.registry</groupId>
<artifactId>registry-parent</artifactId>
<version>3.96.30-SNAPSHOT</version>
<version>3.97.0-SNAPSHOT</version>
<name>GBIF Registry Parent</name>
<description>GBIF Registry project</description>

Expand Down Expand Up @@ -46,7 +46,7 @@
<url>https://repository.gbif.org/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>gbif-snapshot</id>
<id>gbif-deploy</id>
<url>https://repository.gbif.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
Expand Down Expand Up @@ -74,31 +74,35 @@
</modules>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<java.version>11</java.version>

<!-- Spring -->
<spring-boot.version>2.3.12.RELEASE</spring-boot.version>
<spring-boot-admin.version>2.2.4</spring-boot-admin.version>
<spring-cloud-openfeign.version>2.2.6.RELEASE</spring-cloud-openfeign.version>
<spring-cloud-openfeign.version>2.2.10.RELEASE</spring-cloud-openfeign.version>
<spring-cloud-zookeeper.version>2.2.5.RELEASE</spring-cloud-zookeeper.version>
<mybatis-spring-boot-starter.version>2.1.0</mybatis-spring-boot-starter.version>
<mybatis-spring-boot-starter.version>2.3.2</mybatis-spring-boot-starter.version>
<springdoc-openapi-ui.version>1.5.8</springdoc-openapi-ui.version>
<spring-cloud-sleuth.version>2.2.8.RELEASE</spring-cloud-sleuth.version>

<!-- GBIF -->
<gbif-api.version>1.16.18</gbif-api.version>
<gbif-api.version>2.0.0</gbif-api.version>
<gbif-common.version>0.59</gbif-common.version>
<gbif-common-mybatis.version>1.4</gbif-common-mybatis.version>
<gbif-common-ws.version>1.26</gbif-common-ws.version>
<gbif-common-mybatis.version>2.0.0</gbif-common-mybatis.version>
<gbif-common-ws.version>2.0.0</gbif-common-ws.version>
<gbif-directory.version>1.13</gbif-directory.version>
<gbif-doi.version>2.17</gbif-doi.version>
<gbif-download-query-tools.version>1.53.3</gbif-download-query-tools.version>
<gbif-doi.version>3.0.0</gbif-doi.version>
<gbif-download-query-tools.version>2.0.0</gbif-download-query-tools.version>
<gbif-httputils.version>0.10</gbif-httputils.version>
<gbif-metadata-profile.version>2.6</gbif-metadata-profile.version>
<gbif-parsers.version>0.67</gbif-parsers.version>
<gbif-postal-service.version>1.8.1</gbif-postal-service.version>
<xoai.version>4.1.0-gbif-4</xoai.version>
<gbif-occurrence.version>0.195.1</gbif-occurrence.version>
<gbif-vocabulary.version>1.0.12</gbif-vocabulary.version>
<checklistbank.version>2.128</checklistbank.version>
<gbif-occurrence.version>0.195.8</gbif-occurrence.version>
<gbif-vocabulary.version>2.0.2</gbif-vocabulary.version>
<checklistbank.version>3.0.0</checklistbank.version>

<!-- Third party -->
<commons-digester.version>3.2</commons-digester.version>
Expand All @@ -109,7 +113,7 @@
<elasticsearch.version>7.9.1</elasticsearch.version>
<feign.version>10.11</feign.version>
<findbugs-jsr305.version>3.0.1</findbugs-jsr305.version>
<guava.version>18.0</guava.version>
<guava.version>27.0-jre</guava.version>
<hadoop.version>2.6.0-cdh5.16.2</hadoop.version>
<hikaricp.version>3.2.0</hikaricp.version>
<janino-logback.version>2.5.10</janino-logback.version>
Expand All @@ -118,19 +122,19 @@
<jsr311-api.version>1.1.1</jsr311-api.version>
<logback.version>1.2.3</logback.version>
<logstash-logback-encoder.version>4.11</logstash-logback-encoder.version>
<lombok.version>1.18.20</lombok.version>
<lombok.version>1.18.28</lombok.version>
<mybatis.version>3.5.0</mybatis.version>
<okhttp.version>4.9.1</okhttp.version>
<okio.version>2.10.0</okio.version>
<retrofit.version>2.8.0</retrofit.version>
<slf4j.version>1.7.30</slf4j.version>
<woodstox.version>4.4.1</woodstox.version>
<zookeeper.version>3.4.14</zookeeper.version>
<zookeeper.version>3.8.1</zookeeper.version>
<curator.version>5.5.0</curator.version>
<owasp-java-html-sanitizer.version>20200713.1</owasp-java-html-sanitizer.version>
<super-csv.version>2.4.0</super-csv.version>
<opencsv.version>5.7.1</opencsv.version>
<geojson.version>1.14</geojson.version>
<avro.version>1.8.2</avro.version>
<jaxb-api.version>2.3.1</jaxb-api.version>
<swagger-annotations.version>2.2.3</swagger-annotations.version>
<resilience4j.version>1.7.0</resilience4j.version>

<!-- Hadoop -->
Expand All @@ -141,8 +145,8 @@
<junit.version>5.9.1</junit.version>
<mockito.version>3.3.3</mockito.version>
<xmlunit.version>2.6.3</xmlunit.version>
<postgresql-testcontainers.version>1.17.6</postgresql-testcontainers.version>
<testcontainers-elasticsearch.version>1.17.6</testcontainers-elasticsearch.version>
<postgresql-testcontainers.version>1.19.8</postgresql-testcontainers.version>
<testcontainers-elasticsearch.version>1.19.8</testcontainers-elasticsearch.version>
<mock-javamail.version>1.9</mock-javamail.version>
<mybatis-spring-boot-starter-test.version>2.0.0</mybatis-spring-boot-starter-test.version>
<reflections.version>0.9.12</reflections.version>
Expand All @@ -168,6 +172,7 @@

<!-- Plugin versions -->
<spring-boot-maven-plugin.version>${spring-boot.version}</spring-boot-maven-plugin.version>
<maven-shade-plugin.version>3.5.3</maven-shade-plugin.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -451,6 +456,21 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>${curator.version}</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>${curator.version}</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-x-discovery</artifactId>
<version>${curator.version}</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
Expand Down Expand Up @@ -529,42 +549,6 @@
<version>${geojson.version}</version>
</dependency>

<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit</artifactId>
<version>${retrofit.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-jackson</artifactId>
<version>${retrofit.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-simplexml</artifactId>
<version>${retrofit.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-scalars</artifactId>
<version>${retrofit.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
<version>${okio.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
<artifactId>owasp-java-html-sanitizer</artifactId>
Expand All @@ -577,16 +561,6 @@
<version>${janino-logback.version}</version>
<scope>runtime</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>ch.qos.logback</groupId>-->
<!-- <artifactId>logback-classic</artifactId>-->
<!-- <version>${logback.version}</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>ch.qos.logback</groupId>-->
<!-- <artifactId>logback-core</artifactId>-->
<!-- <version>${logback.version}</version>-->
<!-- </dependency>-->
<dependency>
<groupId>net.logstash.logback</groupId>
<artifactId>logstash-logback-encoder</artifactId>
Expand Down Expand Up @@ -736,6 +710,18 @@
</exclusions>
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${jaxb-api.version}</version>
</dependency>

<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations.version}</version>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
Expand Down Expand Up @@ -826,6 +812,11 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down
59 changes: 26 additions & 33 deletions registry-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.gbif.registry</groupId>
<artifactId>registry-parent</artifactId>
<version>3.96.30-SNAPSHOT</version>
<version>3.97.0-SNAPSHOT</version>
</parent>

<artifactId>registry-cli</artifactId>
Expand All @@ -19,14 +19,17 @@
</distributionManagement>

<properties>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<java.version>11</java.version>
<main.basedir>${project.parent.basedir}</main.basedir>
<jcommander.version>1.48</jcommander.version>
<yammer.version>2.2.0</yammer.version>
<gbif-cli.version>1.0</gbif-cli.version>
<metainf-services.version>1.5</metainf-services.version>
<gbif-cli.version>1.2-SNAPSHOT</gbif-cli.version>
<metainf-services.version>1.11</metainf-services.version>
<jersey.version>1.19.3</jersey.version>
<javax.mail.version>1.4.7</javax.mail.version>
<guava.version>18.0</guava.version>
<kotlin.version>1.4.20</kotlin.version>

<sonar.coverage.jacoco.xmlReportPaths>
${project.basedir}/../target/site/jacoco-it/jacoco.xml,${project.basedir}/../target/site/jacoco-ut/jacoco.xml
Expand All @@ -53,8 +56,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration combine.self="override">
<source>1.8</source>
<target>1.8</target>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
Expand Down Expand Up @@ -113,18 +116,6 @@
<!-- This bit merges the various META-INF/services files -->
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
</transformers>
<!--
<relocations>
<relocation>
<pattern>org.codehaus.plexus.util</pattern>
<shadedPattern>org.shaded.plexus.util</shadedPattern>
<excludes>
<exclude>org.codehaus.plexus.util.xml.Xpp3Dom</exclude>
<exclude>org.codehaus.plexus.util.xml.pull.*</exclude>
</excludes>
</relocation>
</relocations>
-->
</configuration>
</execution>
</executions>
Expand All @@ -139,11 +130,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -185,11 +171,6 @@
<artifactId>spring-jdbc</artifactId>
</dependency>

<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-jackson</artifactId>
</dependency>

<!-- GBIF dependencies -->
<dependency>
<groupId>org.gbif</groupId>
Expand Down Expand Up @@ -339,11 +320,6 @@
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<scope>runtime</scope>
</dependency>

<!-- logging -->
<dependency>
Expand Down Expand Up @@ -375,6 +351,23 @@
<artifactId>mail</artifactId>
<version>${javax.mail.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.14</version>
</dependency>

<!-- needed for the datacite client -->
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-common</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
</dependency>

<!-- testing -->
<dependency>
Expand Down
Loading

0 comments on commit e21d247

Please sign in to comment.