This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/master by this push:
new 3d115a0 Upgrade Weld to 3.1.0 and ClassFileWriter to 1.2.4
3d115a0 is described below
commit 3d115a0f515dc8a03a4c62cb93008f73cbfc672f
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Wed Mar 20 09:01:53 2019 +0200
Upgrade Weld to 3.1.0 and ClassFileWriter to 1.2.4
This way Wicket can be build with Java 12 and 13
---
pom.xml | 2 +-
wicket-cdi/pom.xml | 18 ++++++++++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index cfca4ae..505c3ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -153,7 +153,7 @@
<objenesis.version>3.0.1</objenesis.version>
<aspectj.version>1.9.2</aspectj.version>
<metrics.version>4.0.5</metrics.version>
- <weld.version>3.0.4.Final</weld.version>
+ <weld.version>3.1.0.Final</weld.version>
<forbiddenapis.version>2.6</forbiddenapis.version>
<velocity.version>1.7</velocity.version>
diff --git a/wicket-cdi/pom.xml b/wicket-cdi/pom.xml
index e09abf7..898e1db 100644
--- a/wicket-cdi/pom.xml
+++ b/wicket-cdi/pom.xml
@@ -63,6 +63,24 @@
<groupId>org.jboss.weld.module</groupId>
<artifactId>weld-web</artifactId>
</dependency>
+ <!-- SUPPORT FOR JAVA 12 BUILD START -->
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-core-impl</artifactId>
+ <version>${weld.version}</version>
+ <exclusions>
+ <exclusion>
+
<groupId>org.jboss.classfilewriter</groupId>
+
<artifactId>jboss-classfilewriter</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.classfilewriter</groupId>
+ <artifactId>jboss-classfilewriter</artifactId>
+ <version>1.2.4.Final</version>
+ </dependency>
+ <!-- SUPPORT FOR JAVA 12 BUILD END -->
<dependency>
<groupId>org.jboss.weld.se</groupId>
<artifactId>weld-se-core</artifactId>