Skip to content

Commit

Permalink
The pom.xml from the public and member api should have almost the sam…
Browse files Browse the repository at this point in the history
…e dependencies
  • Loading branch information
amontenegro committed Feb 28, 2023
1 parent 8b29731 commit 4298145
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 43 deletions.
9 changes: 2 additions & 7 deletions orcid-api-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@
<!-- https://mvnrepository.com/artifact/jakarta.servlet/jakarta.servlet-api -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${servlets.version}</version>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>

Expand All @@ -116,11 +115,7 @@
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>

<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
Expand Down
57 changes: 23 additions & 34 deletions orcid-api-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,7 @@
</properties>

<dependencies>
<!-- Internal dependencies -->
<dependency>
<groupId>${project.parent.groupId}</groupId>
<artifactId>orcid-core</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>orcid-api-common</artifactId>
<version>${project.parent.version}</version>
</dependency>

<!-- External dependencies -->
<!-- Spring security -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
Expand All @@ -54,38 +42,39 @@
<groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId>
</dependency>


<!-- Internal dependencies -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<groupId>${project.groupId}</groupId>
<artifactId>orcid-core</artifactId>
<version>${project.parent.version}</version>
</dependency>

<!-- Provided -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<groupId>${project.groupId}</groupId>
<artifactId>orcid-api-common</artifactId>
<version>${project.parent.version}</version>
</dependency>

<!-- External dependencies -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>

<!-- Test dependencies -->
<!-- Togglz testing support -->
<dependency>
<groupId>org.orcid</groupId>
<artifactId>orcid-test</artifactId>
<scope>test</scope>
<version>${project.version}</version>
<groupId>org.togglz</groupId>
<artifactId>togglz-junit</artifactId>
<version>2.4.1.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<groupId>${project.groupId}</groupId>
<artifactId>orcid-test</artifactId>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<!-- Togglz testing support -->
<dependency>
<groupId>org.togglz</groupId>
<artifactId>togglz-junit</artifactId>
<version>2.4.1.Final</version>
<scope>test</scope>
</dependency>

</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
Expand Down
3 changes: 1 addition & 2 deletions orcid-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,7 @@
<!-- https://mvnrepository.com/artifact/javax.ws.rs/javax.ws.rs-api -->
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.1</version>
<artifactId>javax.ws.rs-api</artifactId>
</dependency>

</dependencies>
Expand Down

0 comments on commit 4298145

Please sign in to comment.