I have a multi-module project. Here is the plugin configurations of my ear 
project:


  | <build>
  |     <defaultGoal>cargo:deploy</defaultGoal>
  |     <plugins>
  |             <plugin>
  |                     <groupId>org.codehaus.cargo</groupId>
  |                     <artifactId>cargo-maven2-plugin</artifactId>
  |                     <configuration>
  |                             <container>
  |                                     <containerId>jboss4x</containerId>
  |                                     <type>remote</type>
  |                             </container>
  |                             <configuration>
  |                                     <type>runtime</type>
  |                                     <properties>
  |                                             <cargo.hostname>
  |                                                     ${remoteServer}
  |                                             </cargo.hostname>
  |                                             <cargo.servlet.port>
  |                                                     ${remotePort}
  |                                             </cargo.servlet.port>
  |                                             <cargo.remote.username>
  |                                                     ${remoteUsername}
  |                                             </cargo.remote.username>
  |                                             <cargo.remote.password>
  |                                                     ${remotePassword}
  |                                             </cargo.remote.password>
  |                                     </properties>
  |                             </configuration>
  |                     </configuration>
  |             </plugin>
  |             <plugin>
  |                     <groupId>org.apache.maven.plugins</groupId>
  |                     <artifactId>maven-ear-plugin</artifactId>
  |                     <configuration>
  |                             <displayName>Prototipo</displayName>
  |                             <description>Prototipo Seam</description>
  |                             <version>5</version>
  |                             <modules>
  |                                     <webModule>
  |                                             
<groupId>br.gov.serpro.prototipo</groupId>
  |                                             
<artifactId>cenarios-web</artifactId>
  |                                             
<contextRoot>/seam-reg</contextRoot>
  |                                     </webModule>
  |                                     <ejbModule>
  |                                             
<groupId>br.gov.serpro.prototipo</groupId>
  |                                             
<artifactId>cenarios-ejb</artifactId>
  |                                     </ejbModule>
  |                                     <javaModule>
  |                                             
<groupId>org.jboss.seam</groupId>
  |                                             
<artifactId>jboss-seam</artifactId>
  |                                             <includeInApplicationXml>
  |                                                     true
  |                                             </includeInApplicationXml>
  |                                     </javaModule>
  |                                     <javaModule>
  |                                             
<groupId>org.jboss.seam</groupId>
  |                                             <artifactId>el-api</artifactId>
  |                                             <includeInApplicationXml>
  |                                                     true
  |                                             </includeInApplicationXml>
  |                                     </javaModule>
  |                                     <javaModule>
  |                                             
<groupId>org.jboss.seam</groupId>
  |                                             <artifactId>el-ri</artifactId>
  |                                             <includeInApplicationXml>
  |                                                     true
  |                                             </includeInApplicationXml>
  |                                     </javaModule>
  |                             </modules>
  |                     </configuration>
  |             </plugin>
  |     </plugins>
  | </build>
  | <properties>
  |     <remoteServer>localhost</remoteServer>
  |     <remotePort>8080</remotePort>
  |     <remoteUsername>admin</remoteUsername>
  |     <remotePassword>admin</remotePassword>
  | </properties>
  | 
I did not used any Archetype, so it could be a little different from your 
configuration.
To deploy the application, run "cargo:deploy" goal.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044303#4044303

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044303
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to