Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISPN-5541 Add provided scope to javax api dependencies #3638

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions all/embedded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
<dependency>
<groupId>org.jboss.spec.javax.transaction</groupId>
<artifactId>jboss-transaction-api_1.1_spec</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down
7 changes: 7 additions & 0 deletions as-modules/embedded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,13 @@
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
</dependency>

<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<scope>provided</scope>
</dependency>

</dependencies>

<build>
Expand Down
4 changes: 3 additions & 1 deletion demos/nearcache-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.enterprise</groupId>
Expand All @@ -44,6 +45,7 @@
<groupId>org.jboss.spec.javax.jms</groupId>
<artifactId>jboss-jms-api_1.1_spec</artifactId>
<version>1.0.0.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
Expand Down Expand Up @@ -122,4 +124,4 @@
</plugins>
</build>

</project>
</project>
1 change: 1 addition & 0 deletions demos/nearcache/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<groupId>org.jboss.spec.javax.jms</groupId>
<artifactId>jboss-jms-api_1.1_spec</artifactId>
<version>1.0.0.Final</version>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down
3 changes: 2 additions & 1 deletion distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>

Expand Down Expand Up @@ -215,4 +216,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
7 changes: 6 additions & 1 deletion integrationtests/cdi-jcache-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
<artifactId>cdi-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>infinispan-jcache</artifactId>
Expand Down Expand Up @@ -111,4 +116,4 @@
</profile>
</profiles>

</project>
</project>
2 changes: 2 additions & 0 deletions jcache/commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down
7 changes: 7 additions & 0 deletions jcache/embedded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down
1 change: 1 addition & 0 deletions jcache/remote/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down
1 change: 1 addition & 0 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1555,6 +1555,7 @@
<goal>java</goal>
</goals>
<configuration>
<classpathScope>compile</classpathScope>
<skip>${module.skipComponentMetaDataProcessing}</skip>
<mainClass>org.infinispan.factories.components.ComponentMetadataPersister</mainClass>
<arguments>
Expand Down