I had the same problem; a Maven2 multi-module jBoss ESB project where the
WAR-project needs to be packaged in the root of the .esb artifact. I'm using
the maven-dependency-plugin to achieve this.
Put this in the jboss-esb POM file (inside <plugins>...</plugins>):
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-installed</id>
<phase>prepare-package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.ideas.tetris.pacman.gui.pacmanui</groupId>
<artifactId>pacman-web</artifactId>
<version>${project.version}</version>
<type>war</type>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/${project.name}-${project.version}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
Best regards,
Fredrik Omland
greenbird Integration Technology
http://greenbird.com
Steve Finck wrote:
>
> Hello,
>
> I'm working with the jboss-packaging-maven-plugin using jboss-
> packaging:esb and trying to include a war file within my esb archive.
> However the war file is not included.
>
> ...
>
>
--
View this message in context:
http://old.nabble.com/-jboss-packaging-maven-plugin--Unable-to-Include-war-inside-of-esb-archive-tp27323897p30366695.html
Sent from the mojo - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email