Skip to content

Commit

Permalink
Fixes examples after pool2 upgrade due to OpenJPA using an old pool2 …
Browse files Browse the repository at this point in the history
…impl
  • Loading branch information
rzo1 committed Nov 17, 2023
1 parent 5ce33b6 commit e5076d4
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1 deletion.
6 changes: 6 additions & 0 deletions examples/alternate-descriptors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@
<artifactId>openjpa</artifactId>
<version>4.0.0-SNAPSHOT</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
6 changes: 6 additions & 0 deletions examples/multi-jpa-provider-testing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@
<artifactId>openjpa</artifactId>
<version>4.0.0-SNAPSHOT</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<!-- just a facade pom which will bring hibernate for us -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<artifactId>hibernate-deps</artifactId>

<properties>
<version.hibernate.orm>6.1.4.Final</version.hibernate.orm>
<version.hibernate.orm>6.1.7.Final</version.hibernate.orm>
<version.hibernate.validator>7.0.5.Final</version.hibernate.validator>
</properties>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
<groupId>org.apache.openjpa</groupId>
<artifactId>openjpa</artifactId>
<version>4.0.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>
1 change: 1 addition & 0 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<module>cdi-alternative-and-stereotypes</module>
<module>cdi-application-scope</module>
<module>cdi-basic</module>
<module>cdi-dynamic-inject</module>
<module>cdi-ejbcontext-jaas</module>
<module>cdi-events</module>
<module>cdi-interceptors</module>
Expand Down

0 comments on commit e5076d4

Please sign in to comment.