Hello Vitor,
i have been reading your post so and so....so i might give you an answer
that has already been said..
generally (and also because i don't have much experience with cargo plugin)
i just output the .ear already in the <jbossdir>/server/default/deploy ,
that's the easy way...
here's detail of my .ear pom.xml...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<configuration>
<modules>
...
</modules>
<outputDirectory>${deploy.directory}</outputDirectory>
</configuration>
</plugin>
</plugins>
</build>
obviously, i guess cargo plugin will do a better job.....but i still have to
catch upt with
that plugin
hth
marco