You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marco Mistroni <mm...@gmail.com> on 2006/05/20 20:16:53 UTC
Re: including dependencies in Manifest of jar / solved
hello,
i shouldnt even have botheret the list... i googled the subject and found
out
answers...on maven mailing list
sorry for bothering
regards
marco
On 5/20/06, Marco Mistroni <mm...@gmail.com> wrote:
>
> hello all,
> i am building an .ear application and i need some dependencies to go in
> the Classpath entry of the manifest file
> of one of the jar in the .ear
>
> i cannot figure out how to do that... according to docs, if hte dependency
> is included with scope compile or runtime, shoudl end
> up int he mainfest classpath entry of the generated jar....
> but here's my pom.xml (only relevant part)
>
> **** pom.xml *****
>
> <dependency>
> <groupId>geronimo-spec</groupId>
> <artifactId>geronimo-spec-j2ee</artifactId>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>jboss-seam</groupId>
> <artifactId>jboss-seam-ui</artifactId>
> <version>1.0.0CR2</version>
> </dependency>
> <dependency>
> <groupId>jboss-seam</groupId>
> <artifactId>jboss-seam</artifactId>
> <version>1.0.0CR2</version>
> </dependency>
>
> </dependencies>
> <build>
> <plugins>
>
>
> <plugin>
> <artifactId>maven-compiler-plugin</artifactId>
> <configuration>
> <encoding>iso-8859-1</encoding>
> </configuration>
> </plugin>
>
>
>
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.2-SNAPSHOT</version>
> <configuration>
> <suiteXmlFiles>
> <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
>
> </suiteXmlFiles>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-report-plugin</artifactId>
> </plugin>
>
>
>
> </plugins>
> </build>
>
>
>
> according to this, IMO the two jboss-seam jar files should be included int
> he Manifest Classpath entry of the generated jar, but they
> arent.....
>
> what am i forgetting??
>
> thanks and regards
> marco
>