Hello,
I work with Jboss ESB 4.2.1.GA and Maven 2.0.8.
I'm trying to package an esb archive with maven build wich will be deployed on a Jboss
Application Server 4.0.5.
I did these following steps, can you tell me if it's good :
1) I create a simple project :
mvn archetype:create -DgroupId=fr.monGroupId -DartifactId=monesb -Dpackagena
me=fr.monGroupId
2) Then, I modified the pom.xml using the jboss-packaging-maven-plugin of
org.codehaus.mojo. I tried to use your maven esb plugin but I failed (if you can explain
how to modify my pom.xml to use your plugin, it will help me). (you can read the source of
the pom.xml at the end of my message)
3) I do : mvn install. I've got an error because the jboss-esb.xml is missing.
4) I put a jboss-esb.xml in monesb\target\monesb-1.0-SNAPSHOT\META-INF
5) I do : mvn install.
I obtained the file monesb-1.0-SNAPSHOT.esb which does nothing for the moment.
Do you agree with my steps?
Now, I want to create a real esb archive which works. To do this, I need some jar which
are in jbossesb.sar\lib like jbossesb-rosetta.jar etc.
But I don't find them in a maven repository. How can I get them during maven build?
The parent pom.xml :
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
4.0.0
all-projects
all-projects
pom
1.0-SNAPSHOT
All Projects
http://maven.apache.org
monesb
Codehaus Snapshots
http://snapshots.repository.codehaus.org/
true
false
The pom.xml of my esb project :
<?xml version="1.0"?>
all-projects
all-projects
1.0-SNAPSHOT
4.0.0
fr.monGroupId
monesb
monesb
1.0-SNAPSHOT
jboss-esb
http://maven.apache.org
junit
junit
3.8.1
test
org.codehaus.mojo
jboss-packaging-maven-plugin
2.0-SNAPSHOT
true
Codehaus Snapshots
http://snapshots.repository.codehaus.org/
true
false
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124818#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...