Skip to content

Commit

Permalink
Cleanup poms
Browse files Browse the repository at this point in the history
  • Loading branch information
stzanakis committed Oct 4, 2024
1 parent 10c7c63 commit 420ccf8
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 75 deletions.
34 changes: 20 additions & 14 deletions metis-core-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,8 @@
</parent>
<artifactId>metis-core-common</artifactId>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${version.junit}</version>
<scope>test</scope>
</dependency>
<!-- Submodules -->
<!-- Owned -->
<dependency>
<groupId>eu.europeana.metis</groupId>
<artifactId>metis-common-utils</artifactId>
Expand Down Expand Up @@ -50,6 +38,8 @@
</exclusion>
</exclusions>
</dependency>

<!-- Compile -->
<dependency>
<groupId>dev.morphia.morphia</groupId>
<artifactId>morphia-core</artifactId>
Expand Down Expand Up @@ -83,6 +73,22 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>

<!-- Runtime -->
<!-- Test -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${version.junit}</version>
</dependency>
</dependencies>

<dependencyManagement>
Expand Down
91 changes: 49 additions & 42 deletions metis-core-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,23 @@
</parent>
<artifactId>metis-core-rest</artifactId>
<dependencies>
<!-- Submodules -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
<groupId>eu.europeana.metis</groupId>
<artifactId>metis-core-service</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Owned -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j2</artifactId>
<groupId>eu.europeana.metis</groupId>
<artifactId>metis-authentication-rest-client</artifactId>
<version>${version.metis-framework}</version>
</dependency>
<dependency>
<groupId>co.elastic.apm</groupId>
<artifactId>apm-agent-attach</artifactId>
<version>${version.elastic.apm}</version>
<scope>runtime</scope>
<groupId>eu.europeana.metis</groupId>
<artifactId>metis-common-spring-properties</artifactId>
<version>${version.metis-framework}</version>
</dependency>
<dependency>
<groupId>eu.europeana.cloud</groupId>
Expand All @@ -61,6 +50,23 @@
<artifactId>ecloud-service-dps-rest-client-java</artifactId>
<version>${version.ecloud}</version>
</dependency>

<!-- Compile -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
Expand All @@ -79,18 +85,6 @@
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>
<dependency>
<groupId>eu.europeana.metis</groupId>
<artifactId>metis-common-spring-properties</artifactId>
<version>${version.metis-framework}</version>
</dependency>
<dependency>
<groupId>eu.europeana.metis</groupId>
<artifactId>metis-core-service</artifactId>
<version>${version.metis-framework}</version>
</dependency>


<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
Expand All @@ -107,16 +101,33 @@
<version>${version.jackson}</version>
</dependency>

<!-- Runtime -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j2</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>co.elastic.apm</groupId>
<artifactId>apm-agent-attach</artifactId>
<version>${version.elastic.apm}</version>
<scope>runtime</scope>
</dependency>

<!-- Test -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
Expand All @@ -129,11 +140,6 @@
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
</dependency>
<dependency>
<groupId>eu.europeana.metis</groupId>
<artifactId>metis-authentication-rest-client</artifactId>
<version>${version.metis-framework}</version>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
Expand All @@ -145,6 +151,7 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand Down
50 changes: 31 additions & 19 deletions metis-core-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,17 @@
<artifactId>metis-core-service</artifactId>

<dependencies>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<scope>test</scope>
</dependency>
<!-- Submodules -->
<dependency>
<groupId>eu.europeana.metis</groupId>
<artifactId>metis-authentication-common</artifactId>
<version>${version.metis-framework}</version>
<artifactId>metis-core-common</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Owned -->
<dependency>
<groupId>eu.europeana.metis</groupId>
<artifactId>metis-core-common</artifactId>
<artifactId>metis-authentication-common</artifactId>
<version>${version.metis-framework}</version>
</dependency>
<dependency>
Expand Down Expand Up @@ -51,6 +49,8 @@
</exclusion>
</exclusions>
</dependency>

<!-- Compile -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
Expand All @@ -75,12 +75,6 @@
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
</dependency>
<dependency>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo</artifactId>
<version>${version.embedded.mongo}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-standalone</artifactId>
Expand Down Expand Up @@ -124,20 +118,38 @@
<version>${version.redisson}</version>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>${version.awaitability}</version>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
</dependency>

<!-- Runtime -->
<!-- Test -->
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo</artifactId>
<version>${version.embedded.mongo}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>${version.awaitability}</version>
<scope>test</scope>
</dependency>


<!-- Runtime -->

</dependencies>

<dependencyManagement>
Expand Down

0 comments on commit 420ccf8

Please sign in to comment.