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.

Here's the output of "mvn dependency:resolve" which shows me the resolution is correct:

[INFO] The following files have been resolved:
[INFO] com.ideas.tetris.pacman:client-services:jar:1.0- SNAPSHOT:compile
[INFO]    com.ideas.tetris.pacman:ejb:jar:1.0-SNAPSHOT:compile
[INFO]    com.ideas.tetris.pacman:esb-action:jar:1.0-SNAPSHOT:compile
[INFO]    com.ideas.tetris.pacman:pacman-lib:jar:1.0-SNAPSHOT:compile
[INFO] com.ideas.tetris.pacman:sas-integration:jar:1.0- SNAPSHOT:compile [INFO] com.ideas.tetris.pacman.gui.pacmanui:pacman-web:war:1.0- SNAPSHOT:compile [INFO] com.ideas.tetris.platform:platform-lib:jar:1.0- SNAPSHOT:compile
[INFO]    commons-pool:commons-pool:jar:1.5.2:compile

I've tried with various dependency scopes without any luck. The jar archives are properly included in the lib directory. I'm trying to include the war in the root of the esb archive.

My pom configuration is below.

Thanks for your help.

Steve Finck

        <dependencies>
                <dependency>
                        <groupId>com.ideas.tetris.pacman</groupId>
                        <artifactId>client-services</artifactId>
                        <version>1.0-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>com.ideas.tetris.pacman</groupId>
                        <artifactId>ejb</artifactId>
                        <version>1.0-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>com.ideas.tetris.pacman</groupId>
                        <artifactId>esb-action</artifactId>
                        <version>1.0-SNAPSHOT</version>
                </dependency>
                <dependency>
<groupId>com.ideas.tetris.pacman.gui.pacmanui</groupId>
                        <artifactId>pacman-web</artifactId>
                        <version>1.0-SNAPSHOT</version>
                        <type>war</type>
                </dependency>
        </dependencies>
        <build>
                <plugins>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-packaging-maven- plugin</artifactId>
                                <version>2.2-SNAPSHOT</version>
<!-- Enable packaging types and lifecycle bindings. -->
                                <extensions>true</extensions>
                                <configuration>

<deploymentDescriptorFile>$ {basedir}/src/main/resources/META-INF/jboss-esb.xml</ deploymentDescriptorFile>
                                </configuration>
                        </plugin>
                </plugins>
        </build>


Reply via email to