-
1. Re: Problems trying to construct a clean and realistic pom.xml for Switchyard/wildfly 8.1
tcunning Dec 16, 2015 11:24 AM (in response to arielcarrera)Ariel,
What we suggest is to follow what's done in the SwitchYard quickstarts - import the switchyard-bom in dependencyManagement :
<dependencyManagement> <dependencies> <dependency> <groupId>org.switchyard</groupId> <artifactId>switchyard-bom</artifactId> <version>${switchyard.version}</version> <scope>import</scope> <type>pom</type> </dependency> </dependencies> </dependencyManagement>
That should provide correct versions for all your SwitchYard dependencies. You'll still need to pull state your dependencies, but that should be pretty easy, especially if you can use a quickstart as a starting point.
-
2. Re: Problems trying to construct a clean and realistic pom.xml for Switchyard/wildfly 8.1
arielcarrera Dec 16, 2015 1:58 PM (in response to tcunning)Hi Tom, thanks for your reply.
It's not exactly what I try to say...
I could use your code, but it doesn't have the same versions that my wildfly's environment...
For example, this switchyard-bom has a Resteasy 2.X version and "wildfly 8.1" has a 3.X version...
When you install Switchyard into a Wildfly... you will adds to wildfly's BASE Module (layer) two modules layers (soa and bpms)... is there a bom that contains only this list of dependencies?
Instead of use your code... could be more realistic something like this:
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.wildfly.bom</groupId>
- <artifactId>jboss-bom-parent</artifactId>
- <version>8.1.0.Final</version>
- <scope>import</scope>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.switchyard</groupId>
- <artifactId>switchyard-wildfly8-bom</artifactId>
- <version>${switchyard.version}</version>
- <scope>import</scope>
- <type>pom</type>
- </dependency>
- </dependencies>
- </dependencyManagement>
Thanks