[ http://jira.codehaus.org/browse/MWAR-87?page=all ]

Dennis Lundberg moved MPWAR-69 to MWAR-87:
------------------------------------------

    Workflow: Maven New  (was: jira)
         Key: MWAR-87  (was: MPWAR-69)
     Project: Maven 2.x War Plugin  (was: maven-war-plugin)

> Extra jars get added to WEB-INF/lib dir
> ---------------------------------------
>
>                 Key: MWAR-87
>                 URL: http://jira.codehaus.org/browse/MWAR-87
>             Project: Maven 2.x War Plugin
>          Issue Type: Bug
>         Environment: Using Windows XP, Maven 2.0.4, maven-war-plugin 2.0.1, 
> jdk 1.5
>            Reporter: Joshua White
>            Priority: Minor
>
> I am creating a hello world J2EE application to start my project, but even 
> without any dependencies avalon 4.1.3, commons-logging 1.1, log4j 1.2.12, and 
> servletapi 2.3 show up in my WEB-INF/lib directory.  Even though that is a 
> bit confusing, JBoss gets very angry at that since JBoss thinks it owns log4j 
> (1.2.8).  I can get around it by adding the dependencies to my pom, but I 
> don't think these jars should be added by default by the plugin.
> I didn't get too far tracing the plugin dependencies (is there any way to 
> track the whole dependency graph?), but I suspect somewhere the dependencies 
> are messed up a bit.
> - Joshua
> <!-- workaround for plugin error.  using JBoss 4.0.5 versions instead of 
> versions that show up from the maven-war-plugin -->
>     <dependency>
>       <groupId>avalon-framework</groupId>
>       <artifactId>avalon-framework</artifactId>
>       <version>4.1.5</version>
>       <scope>provided</scope>
>     </dependency>
>     <dependency>
>       <groupId>commons-logging</groupId>
>       <artifactId>commons-logging</artifactId>
>       <version>1.0</version>
>       <scope>provided</scope>
>     </dependency>
>     <dependency>
>       <groupId>log4j</groupId>
>       <artifactId>log4j</artifactId>
>       <version>1.2.8</version>
>       <scope>provided</scope>
>     </dependency>
>     <dependency>
>       <groupId>servletapi</groupId>
>       <artifactId>servletapi</artifactId>
>       <version>2.4</version>
>       <scope>provided</scope>
>     </dependency>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to