You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2019/02/23 23:35:05 UTC

[wicket] branch master updated: Fix the build with Java 12 by using the freshly released jboss-classfilewriter:1.2.5.Final

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 213ee05  Fix the build with Java 12 by using the freshly released jboss-classfilewriter:1.2.5.Final
213ee05 is described below

commit 213ee05d816ad74cec810d16108dd9c633ea9652
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Sun Feb 24 01:34:12 2019 +0200

    Fix the build with Java 12 by using the freshly released jboss-classfilewriter:1.2.5.Final
---
 pom.xml            |  2 +-
 wicket-cdi/pom.xml | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 2567229..25f64c9 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>
 	</properties>
diff --git a/wicket-cdi/pom.xml b/wicket-cdi/pom.xml
index ac6c3c2..af22f29 100644
--- a/wicket-cdi/pom.xml
+++ b/wicket-cdi/pom.xml
@@ -58,10 +58,39 @@
 			<groupId>org.jboss.weld.module</groupId>
 			<artifactId>weld-web</artifactId>
 		</dependency>
+		<!-- TODO: Remove the explicit dependencies on
+		jboss-classfilewriter and weld-core-impl once
+		a new release of weld-web is released that uses
+		jboss-classfilewriter:1.2.5.Final or newer.
+		Also remove the exclusion of jboss-classfilewriter
+		for weld-se-core
+		-->
+		<dependency>
+			<groupId>org.jboss.classfilewriter</groupId>
+			<artifactId>jboss-classfilewriter</artifactId>
+			<version>1.2.5.Final-SNAPSHOT</version>
+		</dependency>
+		<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.weld.se</groupId>
 			<artifactId>weld-se-core</artifactId>
 			<scope>test</scope>
+			<exclusions>
+				<exclusion>
+					<groupId>org.jboss.classfilewriter</groupId>
+					<artifactId>jboss-classfilewriter</artifactId>
+				</exclusion>
+			</exclusions>
 		</dependency>
 		<dependency>
 			<groupId>org.junit.vintage</groupId>