From 0648e3a61f7aa6c54dd92ccbcbe0068a4d629a39 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Wed, 20 Mar 2019 13:18:12 +0100 Subject: [PATCH] Adapting to Wildfly 16 by actively excluding JSONB, to keep RestEasy using Jackson --- pom.xml | 14 +++++++------- .../webapp/WEB-INF/jboss-deployment-structure.xml | 3 +++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 3e24907..c9eebd2 100755 --- a/pom.xml +++ b/pom.xml @@ -14,26 +14,26 @@ <dependency> <groupId>javax</groupId> <artifactId>javaee-web-api</artifactId> - <version>7.0</version> + <version>8.0</version> <type>jar</type> <scope>provided</scope> </dependency> <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-jaxrs</artifactId> - <version>3.0.9.Final</version> + <version>3.6.3.Final</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> - <version>2.4.1</version> + <version>2.9.8</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> - <version>2.4.1</version> + <version>2.9.8</version> <scope>provided</scope> </dependency> <dependency> @@ -49,7 +49,7 @@ <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-client</artifactId> - <version>3.0.9.Final</version> + <version>3.6.3.Final</version> <scope>provided</scope> </dependency> <dependency> @@ -71,8 +71,8 @@ <artifactId>maven-compiler-plugin</artifactId> <version>2.0.2</version> <configuration> - <source>1.8</source> - <target>1.8</target> + <source>10</source> + <target>10</target> </configuration> </plugin> <plugin> diff --git a/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/src/main/webapp/WEB-INF/jboss-deployment-structure.xml index 11baf8d..e4433d6 100755 --- a/src/main/webapp/WEB-INF/jboss-deployment-structure.xml +++ b/src/main/webapp/WEB-INF/jboss-deployment-structure.xml @@ -23,5 +23,8 @@ along with VIPSCore. If not, see <http://www.nibio.no/licenses/>. <module name="com.fasterxml.jackson.core.jackson-core" /> <module name="com.fasterxml.jackson.core.jackson-databind" /> </dependencies> + <exclusions> + <module name="org.jboss.resteasy.resteasy-json-binding-provider"/> + </exclusions> </deployment> </jboss-deployment-structure> -- GitLab