It can be found here:
http://repository.codehaus.org/org/codehaus/cargo/cargo-maven2-plugin
beta 1 is also available.

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Fri, Oct 24, 2008 at 11:12 AM, Wim Deblauwe <[EMAIL PROTECTED]> wrote:
> In what repo is that version?
>
> 2008/10/24 Marc Schneider <[EMAIL PROTECTED]>
>
>> Hello,
>>
>> I also use the cargo-maven2-plugin but don't need to specify all these
>> dependencies.
>>
>> Btw I use cargo 1.0-alpha6.
>>
>> Here is my plugin configuration :
>>
>> <plugin>
>>        <groupId>org.codehaus.cargo</groupId>
>>        <artifactId>cargo-maven2-plugin</artifactId>
>>         <configuration>
>>                <wait>false</wait>
>>                <container>
>>                        <containerId>tomcat5x</containerId>
>>                        <home>${tomcat.local.home}</home>
>>                </container>
>>                <configuration>
>>                        <properties>
>>                                <cargo.logging>high</cargo.logging>
>>
>>  <cargo.servlet.port>${servlet.port}</cargo.servlet.port>
>>                        </properties>
>>                </configuration>
>>        </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>
>>
>> Marc.
>>
>>
>> Wim Deblauwe a écrit :
>> > Hi,
>> >
>> > It seems that I need to add all my dependencies in my pom.xml 2 times
>> when I
>> > use a war project with cargo. Is there a way to avoid this? This is very
>> > annoying to try to find out all the dependencies (and their transitive
>> > dependencies manually) and have to add those to the <dependencies/>
>> section
>> > of the cargo plugin. According to the documentation (
>> >
>> http://cargo.codehaus.org/Starting+and+stopping+a+container#Startingandstoppingacontainer-extrajars
>> )
>> > this is only needed if you want to share between web projects, but I only
>> > have 1 and I still have to do it, otherwise I get
>> ClassNotFoundExceptions.
>> >
>> > This is my pom.xml (partially):
>> >
>> >     <packaging>war</packaging>
>> >     <build>
>> >         <finalName>server-web</finalName>
>> >         <plugins>
>> >             <plugin>
>> >                 <groupId>org.codehaus.cargo</groupId>
>> >                 <artifactId>cargo-maven2-plugin</artifactId>
>> >                 <version>0.3</version>
>> >                 <configuration>
>> >                     <container>
>> >                         <containerId>tomcat5x</containerId>
>> >                         <zipUrlInstaller>
>> >                             <url>
>> >
>> http://www.apache.org/dist/tomcat/tomcat-5/v5.5.27/bin/apache-tomcat-5.5.27.zip
>> > </url>
>> >                             <installDir>${installDir}</installDir>
>> >                         </zipUrlInstaller>
>> >                         <systemProperties>
>> >
>> > <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
>> >                         </systemProperties>
>> >                         <dependencies>
>> >                             LONG LIST OF DEPENDENCIES HERE
>> >
>> >
>> > regards,
>> >
>> > Wim
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

Reply via email to