maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wolf <mar...@emedia-solutions-wolf.de>
Subject WEB-INF/lib excludes once more
Date Sun, 09 Jul 2006 06:39:48 GMT
Hi,

I have a problem creating my EAR file containing a WAR and a EJB.
First I setup my WAR-pom to have the EAR as provided dependency, but
then it is not possible to add it to the manifests classpath.
Then I read through the mailinglist and found an exclude configuration
should help. But no matter how I configure my excludes they are ignored...

I've checked the version of the war plugin as well and I'm using 2.0.1.
Is there anything I've overlooked in my pom.xml?

...
<dependencies>
  <dependency>
    <groupId>de.esw.services</groupId>
    <artifactId>emediaservices-core</artifactId>
    <version>1.0-SNAPSHOT</version>
    <scope>runtime</scope>
  </dependency>
  <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>3.8.1</version>
    <scope>test</scope>
  </dependency>
</dependencies>
<build>
  <finalName>emediaservices-web</finalName>
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-war-plugin</artifactId>
      <configuration>
        <excludes>
          <exclude>WEB-INF/lib/*.jar</exclude>
        </excludes>
        <archive>
          <manifest>
            <addClasspath>true</addClasspath>
          </manifest>
        </archive>
      </configuration>
    </plugin>
  </plugins>
</build>
...

Any ideas?
Thanks
Markus Wolf
-- 
>
> emedia-solutions wolf
> Wedeler Landstrasse 63
> 22559 Hamburg
> (040) 550 083 70
>
>>  web: http://www.emedia-solutions-wolf.de
>> mail: markus@emedia-solutions-wolf.de
>>  pgp: http://wwwkeys.de.pgp.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message