> -----Original Message----- > From: Alexandre Russel [mailto:[EMAIL PROTECTED] > Sent: lundi 21 novembre 2005 13:37 > To: Maven Users List > Subject: Re: [mvn] using cactus with maven2 > > Vincent Massol a écrit : > > >The recommendation right now (while waiting for a proper cactus m2 > plugin) > >is to use Cargo to all container manipulations > (http://cargo.codehaus.org). > > > > > thanks for your answer. I am trying to use cargo. > My pom.xml is: > > <build> > <plugins> > <plugin> > <artifactId>cargo-maven2-plugin</artifactId> > <groupId>org.codehaus.cargo.maven2</groupId> > <version>0.7-SNAPSHOT</version> > <configuration> > <container> > <containerId>jboss</containerId> > <home>/usr/local/jboss-4.0.2</home> > </container> > </configuration> > </plugin>
ATM you still need to specify a <configuration> element as shown on http://cargo.codehaus.org/Maven2+plugin?refresh=1 But it's a good idea for improvement to default to a standalone local configuration if none is specified. > trying mvn cargo:start I got: > > Downloading: > http://cargo.codehaus.org/dist2/geronimo-spec/geronimo-spec-j2ee- > deployment/1.1-rc4/geronimo-spec-j2ee-deployment-1.1-rc4.pom > [INFO] > -------------------------------------------------------------------------- > -- > [ERROR] BUILD ERROR > [INFO] > -------------------------------------------------------------------------- > -- > [INFO] Error building POM (may not be this project's POM). > > > Project ID: geronimo-spec:geronimo-spec-j2ee-deployment > > Reason: Error getting POM for > 'geronimo-spec:geronimo-spec-j2ee-deployment' from the repository: Error > transferring file > geronimo-spec:geronimo-spec-j2ee-deployment:1.1-rc4:pom > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > cargo repository (http://cargo.codehaus.org/dist2), > snapshots (http://snapshots.maven.codehaus.org/maven2) I've just checked and the Geronimo jar is indeed in the ibiblio m2 repo: http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-j2ee-deployment/1. 1-rc4/ Thus it looks to me as it is a transient error with ibiblio. Can you try again? Thanks -Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
