Thanks for the Response. I have attached a Maven pom.xml that displays the content that was not readable.
Additionally, yes the MANIFEST.MF file is present in the WAR and I have done a jar tvf to ensure the presence of the MANIFEST.MF.
Additionally, the following are the lines I see when the war is extracted:
2008-08-12 11:34:24.039::INFO: jetty-6.1.1rc1
2008-08-12 11:34:24.135::INFO: Extract jar:file:Foo/Foo-webapp/target/Foo-webapp-1.0-SNAPSHOT.war!/ to /tmp/Jetty_0_0_0_0_9090_Foo-webapp-1.0-SNAPSHOT.war__IntegrationTest__-jvb210/webapp
2008-08-12 11:34:25.253::INFO: Extract jar:file:/tmp/cargo/conf/cargocpc.war!/ to /tmp/Jetty_0_0_0_0_9090_cargocpc.war__cargocpc__tqefh9/webapp
Thanks again.
Sanjay
----------------------------------------
> From:
mwringe@...
> To:
user@...
> Date: Tue, 12 Aug 2008 13:44:44 -0400
> Subject: Re: [cargo-user] MANIFEST.MF being lost on Deploy of WAR
>
>
> On Tue, 2008-08-12 at 17:14 +0000, Sanjay Acharya wrote:
>> Hi,
>>
>> I am using the following Maven/Cargo Configuration:
>>
>> Version 0.3 of cargo-maven2-plugin with JETTY6 and embedded container.
>>
>>
>>
>> com.overstock.rossi
>> Foo-webapp
>> war
>>
>> IntegrationTest
>>
>>
http://localhost:9090/IntegrationTest>
> ^^ I can't read what you have here
>
>> I have the deployable configured and during Maven's integration test phase, I am able to Start Jetty Via cargo. As part of deploying procedure, Cargo explodes the WAR to a temporary location, /tmp/Jetty_...Foo-webapp.../
>>
>> I am finding that the MANIFEST.MF entry that was present in the Foo-webapp.war is lost in the deployment. Other properties added to the META-INF folder seem to be retained.
>
> does the manifest file exist if you were to do this outside of cargo?
>
>> Any tips would be appreciated.
>>
>> Regards,
>> Sanjay
>> _________________________________________________________________
>> Reveal your inner athlete and share it with friends on Windows Live.
>>
http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>
http://xircles.codehaus.org/manage_email>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>
http://xircles.codehaus.org/manage_email>
>
_________________________________________________________________
Get Windows Live and get whatever you need, wherever you are. Start here.
http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008<project xmlns="
http://maven.apache.org/POM/4.0.0"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.overstock.rossi</groupId>
<artifactId>Foo-integration-test-1</artifactId>
<version>1.0-SNAPSHOT</version>
<!-- Although not a deployable Artifact, resource properties do not work if not a jar -->
<packaging>jar</packaging>
<name>Foo Integration Test 1</name>
<description>
Integration Test between clients and webapp.
</description>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<!-- Define version of Client. It is a depenedency -->
<dependency>
<groupId>com.overstock.rossi</groupId>
<artifactId>Foo-client</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<!-- Define version of installed Webapp-->
<dependency>
<groupId>com.overstock.rossi</groupId>
<artifactId>Foo-webapp</artifactId>
<version>1.0-SNAPSHOT</version>
<type>war</type>
</dependency>
</dependencies>
<build>
<!-- Reconfigure Test Source Directory from Default Setting -->
<testSourceDirectory>src/test</testSourceDirectory>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*IntegrationTest.java</exclude>
</excludes>
</configuration>
<!-- Dont run integration test in Test(s) phase -->
<executions>
<execution>
<id>integration-tests</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<skip>false</skip>
<excludes>
<exclude>none</exclude>
</excludes>
<includes>
<include>**/*IntegrationTest.java</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>0.3</version>
<configuration>
<wait>false</wait>
<container>
<containerId>jetty6x</containerId>
<type>embedded</type>
<systemProperties>
<org.apache.commons.logging.Log>
org.apache.commons.logging.impl.SimpleLog
</org.apache.commons.logging.Log>
</systemProperties>
</container>
<configuration>
<properties>
<cargo.servlet.port>9090</cargo.servlet.port>
</properties>
<deployables>
<deployable>
<groupId>com.overstock.rossi</groupId>
<artifactId>Foo-webapp</artifactId>
<type>war</type>
<properties>
<context>IntegrationTest</context>
</properties>
<pingURL>
http://localhost:9090/IntegrationTest</pingURL>
</deployable>
</deployables>
</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>
</plugins>
</build>
<properties>
<cargo.container>jetty6.x</cargo.container>
<global.config.dir>
${basedir}/src/test/global-config-dir/unit-test
</global.config.dir>
</properties>
</project>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email