AFAIK you need to specify the plugin version, unless the plugin resides in
the groupId:

org.apache.maven.plugins


If adding the version (e.g. 1.0-beta-1 as latest in
http://repo2.maven.org/maven2/org/codehaus/cargo/cargo-maven2-plugin/ ) does
not help, then I'm stuck ;)

Hope this helps,
Gab


2008/11/25 <[EMAIL PROTECTED]>

> hello
>
> i am one mavien multiproject that has 2 web modules, 2 jar modules.
> into the ear module i have add the next but when i made mvn install apears
> the bellow error.
>
> Can you help me for solving this problem?
> thanks
>
> <plugin>
> <groupId>org.codehaus.cargo</groupId>
> <artifactId>cargo-maven2-plugin</artifactId>
> <configuration>
> <container>
> <containerId>jboss4x</containerId>
> <!--<home>${jboss.home}</home>-->
> <append>false</append>
> </container>
> <configuration>
> <type>existing</type>
> <home>${jboss.home}\server\default</home>
> <properties>
> <cargo.logging>high</cargo.logging>
> <cargo.rmi.port>1099</cargo.rmi.port>
> <cargo.jboss.configuration>default</cargo.jboss.configuration>
> </properties>
> </configuration>
> <deployer>
> <type>installed</type>
> <deployables>
> <deployable>
> <groupId>${pom.groupId}</groupId>
> <artifactId>${pom.artifactId}</artifactId>
> <type>${pom.packaging}</type>
> </deployable>
> </deployables>
> </deployer>
> </configuration>
> <executions>
> <execution>
> <id>start-container</id>
> <phase>pre-integration-test</phase>
> <goals>
> <goal>start</goal>
> </goals>
> </execution>
> <execution>
> <id>stop-container</id>
> <phase>post-integration-test</phase>
> <goals>
> <goal>stop</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> <properties>
> <jboss.home>C:\Ekirol\jboss-4.2.2.GA</jboss.home>
> <jboss.port>8080</jboss.port>
> </properties>
>
>
> ###########ERROR################
> [INFO] [war:war]
> [INFO] Packaging webapp
> [INFO] Assembling webapp[myAppAdminWeb] in
> [C:\myApp\aplicacion\myApp\myAppAdminWeb\target\myAppAdminWeb]
> [INFO] Processing war project
> [INFO] Webapp assembled in[15 msecs]
> [INFO] Building war:
> C:\myApp\aplicacion\myApp\myAppAdminWeb\target\myAppAdminWeb.war
> [INFO] [install:install]
> [INFO] Installing
> C:\myApp\aplicacion\myApp\myAppAdminWeb\target\myAppAdminWeb.war to
> C:\Documents and Settings\user\.m2\repository\myAppGroup\myApp\
> myAppAdminWeb\1.0\myAppAdminWeb-1.0.war
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building myAppEar
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.codehaus.cargo:cargo-maven2-plugin' does not exist
> or no
> valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Tue Nov 25 13:10:07 CET 2008
> [INFO] Final Memory: 13M/24M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Gabriele Columbro
Alfresco ECM Product Strategy Consultant
+31 627 565 103
Sourcesense - Making sense of open Source

Reply via email to