Skip to content

Commit

Permalink
[resolves #2272] Upgrade to wildfly-12.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tdiesler committed Mar 1, 2018
1 parent a672c4f commit 52dc1ca
Show file tree
Hide file tree
Showing 28 changed files with 214 additions and 238 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@

public final class WildFlyCamelConfigPlugin implements ConfigPlugin {

public static final Namespace NS_DOMAIN_50 = Namespace.getNamespace("urn:jboss:domain:5.0");
public static final Namespace NS_DOMAIN_60 = Namespace.getNamespace("urn:jboss:domain:6.0");

public static final Namespace[] NS_DOMAINS = new Namespace[] { NS_DOMAIN_50 };
public static final Namespace[] NS_DOMAINS = new Namespace[] { NS_DOMAIN_60 };

public static final Namespace NS_CAMEL = Namespace.getNamespace("urn:jboss:domain:camel:1.0");
public static final Namespace NS_SECURITY = Namespace.getNamespace("urn:jboss:domain:security:2.0");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import static org.wildfly.extension.camel.config.WildFlyCamelConfigPlugin.NS_CAMEL;
import static org.wildfly.extension.camel.config.WildFlyCamelConfigPlugin.NS_DOMAINS;
import static org.wildfly.extension.camel.config.WildFlyCamelConfigPlugin.NS_DOMAIN_50;
import static org.wildfly.extension.camel.config.WildFlyCamelConfigPlugin.NS_DOMAIN_60;
import static org.wildfly.extension.camel.config.WildFlyCamelConfigPlugin.NS_SECURITY;

import java.io.File;
Expand Down Expand Up @@ -81,7 +81,7 @@ public void testUnsupportedNamespaceVersion() throws Exception {
SAXBuilder jdom = new SAXBuilder();
Document doc = jdom.build(resurl);

doc.getRootElement().getChild("extensions", NS_DOMAIN_50).setNamespace(Namespace.getNamespace("urn:jboss:domain:99.99"));
doc.getRootElement().getChild("extensions", NS_DOMAIN_60).setNamespace(Namespace.getNamespace("urn:jboss:domain:99.99"));

File modifiedConfig = new File("target/standalone-modified.xml");
outputDocumentContent(doc, new FileOutputStream(modifiedConfig));
Expand Down
4 changes: 4 additions & 0 deletions docs/guide/start/compatibility.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
The {wildfly} compatibility matrix

[cols="2*",width="60%"]
|===
| **12.0.0.Final**
| 6.0

|===
| **11.0.0.Final**
| 5.0, 5.1
Expand Down
16 changes: 16 additions & 0 deletions feature/common/etc/smartics/wildfly-modules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
<include artifact=":jackson-module-jaxb-annotations" />
</module>

<module name="com.github.ben-manes.caffeine" skip="true">
<include artifact="com.github.ben-manes.caffeine:caffeine" />
</module>

<module name="com.github.relaxng" skip="true">
<include artifact=":relaxngDatatype" />
</module>
Expand Down Expand Up @@ -243,6 +247,10 @@
<include artifact=":commons-io" />
</module>

<module name="org.apache.commons.lang3" skip="true">
<include artifact="org.apache.commons:commons-lang3" />
</module>

<module name="org.apache.commons.logging" skip="true">
<include artifact=":commons-logging" />
</module>
Expand Down Expand Up @@ -302,6 +310,10 @@
<include artifact=":neethi" />
</module>

<module name="org.apache.qpid.proton" skip="true">
<include artifact="org.apache.qpid:proton-j" />
</module>

<module name="org.apache.santuario.xmlsec" skip="true">
<include artifact="org.apache.santuario:xmlsec" />
</module>
Expand Down Expand Up @@ -469,6 +481,10 @@
<include artifact=":jsoup" />
</module>

<module name="org.reactivestreams" skip="true">
<include artifact="org.reactivestreams:reactive-streams" />
</module>

<module name="org.slf4j" skip="true">
<include artifact=":jcl-over-slf4j" />
<include artifact=":slf4j-api" />
Expand Down
3 changes: 1 addition & 2 deletions feature/extrasA/etc/wildfly-feature-pack.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?xml version="1.0" ?>
<?xml version='1.0' encoding='UTF-8'?>

<feature-pack xmlns="urn:wildfly:feature-pack:1.1">
<dependencies>
<artifact name="org.wildfly.camel:wildfly-camel-feature-modules"/>
</dependencies>
<artifact-versions>
<artifact groupId="aopalliance" artifactId="aopalliance" version="1.0"/>
<artifact groupId="asm" artifactId="asm" version="3.1"/>
<artifact groupId="com.google.code.gson" artifactId="gson" version="2.2.4"/>
<artifact groupId="com.google.guava" artifactId="guava" version="11.0.2"/>
<artifact groupId="com.google.inject" artifactId="guice" version="3.0"/>
Expand Down
12 changes: 6 additions & 6 deletions feature/extrasB/etc/wildfly-feature-pack.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?xml version="1.0" ?>
<?xml version='1.0' encoding='UTF-8'?>

<feature-pack xmlns="urn:wildfly:feature-pack:1.1">
<dependencies>
<artifact name="org.wildfly.camel:wildfly-camel-feature-extrasA"/>
</dependencies>
<artifact-versions>
<artifact groupId="com.carrotsearch" artifactId="hppc" version="0.7.1"/>
<artifact groupId="com.fasterxml.jackson.core" artifactId="jackson-core" version="2.8.9"/>
<artifact groupId="com.fasterxml.jackson.dataformat" artifactId="jackson-dataformat-cbor" version="2.8.9"/>
<artifact groupId="com.fasterxml.jackson.dataformat" artifactId="jackson-dataformat-smile" version="2.8.9"/>
<artifact groupId="com.fasterxml.jackson.dataformat" artifactId="jackson-dataformat-yaml" version="2.8.9"/>
<artifact groupId="com.fasterxml.jackson.core" artifactId="jackson-core" version="2.9.4"/>
<artifact groupId="com.fasterxml.jackson.dataformat" artifactId="jackson-dataformat-cbor" version="2.9.4"/>
<artifact groupId="com.fasterxml.jackson.dataformat" artifactId="jackson-dataformat-smile" version="2.9.4"/>
<artifact groupId="com.fasterxml.jackson.dataformat" artifactId="jackson-dataformat-yaml" version="2.9.4"/>
<artifact groupId="com.google.guava" artifactId="guava" version="18.0"/>
<artifact groupId="com.ning" artifactId="compress-lzf" version="1.0.2"/>
<artifact groupId="com.spatial4j" artifactId="spatial4j" version="0.5"/>
Expand Down Expand Up @@ -39,6 +39,6 @@
<artifact groupId="org.hdrhistogram" artifactId="HdrHistogram" version="2.1.6"/>
<artifact groupId="org.slf4j" artifactId="slf4j-api" version="1.7.22"/>
<artifact groupId="org.wildfly.camel" artifactId="wildfly-camel-feature-extrasA" version="5.2.0-SNAPSHOT" extension="zip"/>
<artifact groupId="org.yaml" artifactId="snakeyaml" version="1.17"/>
<artifact groupId="org.yaml" artifactId="snakeyaml" version="1.18"/>
</artifact-versions>
</feature-pack>
2 changes: 1 addition & 1 deletion feature/extrasC/etc/wildfly-feature-pack.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" ?>
<?xml version='1.0' encoding='UTF-8'?>

<feature-pack xmlns="urn:wildfly:feature-pack:1.1">
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion feature/extrasD/etc/wildfly-feature-pack.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" ?>
<?xml version='1.0' encoding='UTF-8'?>

<feature-pack xmlns="urn:wildfly:feature-pack:1.1">
<dependencies>
Expand Down
14 changes: 7 additions & 7 deletions feature/modules/etc/smartics/camel-modules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -397,20 +397,19 @@

<module name="org.apache.camel.component.caffeine">
<include artifact="org.apache.camel:camel-caffeine" />
<include artifact="com.github.ben-manes.caffeine:caffeine" />
<apply-to-dependencies skip="true">
<include module="com.google.code.findbugs" />
<include module="com.google.errorprone" />
<include module="org.apache.camel.apt" />
<include module="org.springframework.boot" />
</apply-to-dependencies>
<dependencies>
<module name="org.slf4j" />
<module name="com.github.ben-manes.caffeine" export="true">
<exports>
<exclude path="com/github"/>
<exclude path="com/github/benmanes"/>
</exports>
</module>
</dependencies>
<exports>
<exclude path="com/github"/>
<exclude path="com/github/benmanes"/>
</exports>
</module>

<module name="org.apache.camel.component.cassandra">
Expand Down Expand Up @@ -1371,6 +1370,7 @@
<dependencies>
<module name="org.infinispan" export="true" >
<exports>
<exclude path="org/infinispan/configuration/internal" />
<exclude path="OSGI-INF/blueprint" />
</exports>
</module>
Expand Down
1 change: 1 addition & 0 deletions feature/modules/etc/smartics/extra-modules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<dependencies>
<module name="javax.api" />
<module name="javax.servlet.api" />
<module name="javax.ws.rs.api" />
<module name="javax.xml.bind.api" />
</dependencies>
<exports>
Expand Down
21 changes: 0 additions & 21 deletions feature/modules/etc/smartics/other-modules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1088,13 +1088,6 @@
</exports>
</module>

<module name="org.apache.commons.lang3">
<properties>
<property name="jboss.api" value="private"/>
</properties>
<include artifact="org.apache.commons:commons-lang3" />
</module>

<module name="org.apache.commons.math3">
<properties>
<property name="jboss.api" value="private"/>
Expand Down Expand Up @@ -1325,13 +1318,6 @@
</dependencies>
</module>

<module name="org.apache.qpid.proton" slot="0.16">
<properties>
<property name="jboss.api" value="private"/>
</properties>
<include artifact="org.apache.qpid:proton-(.*)" />
</module>

<module name="org.apache.sshd">
<properties>
<property name="jboss.api" value="private"/>
Expand Down Expand Up @@ -1839,13 +1825,6 @@
</exports>
</module>

<module name="org.reactivestreams">
<properties>
<property name="jboss.api" value="private"/>
</properties>
<include artifact="org.reactivestreams:reactive-streams" />
</module>

<module name="org.reflections">
<properties>
<property name="jboss.api" value="private"/>
Expand Down
Loading

0 comments on commit 52dc1ca

Please sign in to comment.