Skip to content

Commit

Permalink
Fix weld dependency version
Browse files Browse the repository at this point in the history
Signed-off-by: tvallin <thibault.vallin@oracle.com>
  • Loading branch information
tvallin committed Apr 15, 2020
1 parent 449f35f commit 5ee3428
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion examples/helloworld-cdi2-se/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<properties>
<cdi.api.version>2.0</cdi.api.version>
<weld.version>3.1.1.Final</weld.version>
<weld.version>${weld3.version}</weld.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -81,6 +81,20 @@
</plugins>
</build>
</profile>

<profile>
<id>jdk11</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.jboss.weld.se</groupId>
<artifactId>weld-se-core</artifactId>
<version>3.1.1.Final</version>
</dependency>
</dependencies>
</profile>
</profiles>

</project>

0 comments on commit 5ee3428

Please sign in to comment.