I think you're looking for...

<plugin>
 <artifactId>maven-war-plugin</artifactId>
 <configuration>
   <archive>
     <manifest>
       <addClasspath>true</addClasspath>
     </manifest>
   </archive>
 </configuration>
</plugin>

HTH.
Wayne

On 4/17/06, Janos Mucsi <[EMAIL PROTECTED]> wrote:
> Hi
> If I am doing this in pom.xml
> <plugin>
>          <groupId>org.apache.maven.plugins</groupId>
>          <artifactId>maven-war-plugin</artifactId>
>          <configuration>
>            <archive>
>               <manifestEntries>
>
> <Classpath>${pom.dependencies}</Classpath>
>               </manifestEntries>
>           </archive>
>
> <warSourceDirectory>${basedir}/WebContent</warSourceDirectory>
>
> <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
>            <excludes>**/*.jar</excludes>
>          </configuration>
>       </plugin>
>
> I am getting garbage (well, not what I want):
>
> Classpath: [Dependency {groupId=junit,
> artifactId=junit, version=3.8.1
>  , type=jar}, Dependency {groupId=fds.app,
> artifactId=my-core, version
>  =1.0, type=jar}]
>
>
>
> Can somebody please tell me how to enumerate the
> dependencies I want in the manifest?
> Thanks.
> Janos
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to