Skip to content

Commit

Permalink
Fixed dependency scopes and versions
Browse files Browse the repository at this point in the history
  • Loading branch information
chkal committed May 16, 2021
1 parent 21de5ec commit 326d39c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 20 deletions.
23 changes: 6 additions & 17 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,50 +117,39 @@
<groupId>jakarta.mvc</groupId>
<artifactId>jakarta.mvc-api</artifactId>
<version>${spec.version}</version>
<scope>compile</scope>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>3.0.0</version>
<!-- <type>bundle</type>-->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>5.0.0</version>
<!-- <scope>provided</scope>-->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
<version>3.0.0</version>
<!-- <scope>provided</scope>-->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<version>3.0.0</version>
<!-- <scope>provided</scope>-->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>2.0.0</version>
<!-- <scope>provided</scope>-->
<scope>provided</scope>
</dependency>

<!-- TODO remove -->
<!-- <dependency>-->
<!-- <groupId>jakarta.el</groupId>-->
<!-- <artifactId>jakarta.el-api</artifactId>-->
<!-- <version>4.0.0-RC2</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>jakarta.interceptor</groupId>-->
<!-- <artifactId>jakarta.interceptor-api</artifactId>-->
<!-- <version>2.0.0-RC2</version>-->
<!-- </dependency>-->
<!-- Test scope -->
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
Expand Down
2 changes: 1 addition & 1 deletion ext/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<dependency>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-api</artifactId>
<version>8.0.0</version>
<version>9.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
14 changes: 13 additions & 1 deletion resteasy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,19 @@
<groupId>jakarta.mvc</groupId>
<artifactId>jakarta.mvc-api</artifactId>
<version>${spec.version}</version>
<scope>compile</scope>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>3.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>2.0.0</version>
<scope>provided</scope>
</dependency>

<!-- Krazo Core -->
Expand Down
2 changes: 1 addition & 1 deletion testsuite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<dependency>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-api</artifactId>
<version>8.0.0</version>
<version>9.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 326d39c

Please sign in to comment.