The following comment has been added to this issue:
Author: Emmanuel Venisse
Created: Fri, 29 Aug 2003 6:29 AM
Body:
In beta10, you must you war.bundle.jar instead of war.bundle
For your log4j dependency, you should declare it like this:
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.8</version>
<url>http://jakarta.apache.org/log4j/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
or
<dependency>
<id>log4j</id>
<version>1.2.8</version>
<url>http://jakarta.apache.org/log4j/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-745
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-745
Summary: plugin-war does not copy artifact properly when instructed under
dependency, war.bundle.
Type: Bug
Status: Unassigned
Priority: Major
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
plugin-war
Versions:
1.0-beta-10
Assignee:
Reporter:
Created: Tue, 26 Aug 2003 1:25 PM
Updated: Tue, 26 Aug 2003 1:25 PM
Environment: Red Hat 9.0 Linux
Description:
I create the maven -D... appgen sample application. I update the POM project.xml with
my specific information along with adding a src/webapp/WEB-INF/ directory to the
project home. Then I add these two dependencies in the POM:
<dependencies>
<dependency>
<id>servletapi</id>
<version>2.3</version>
<!-- Compile time only -->
</dependency>
<dependency>
<id>log4j</id>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.8</version>
<jar>log4j-1.2.8.jar</jar>
<type>jar</type>
<url>http://jakarta.apache.org/log4j/</url>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
</dependencies>
When I run "maven war" or "maven war:webapp" I do NOT get the log4j-1.2.8.jar in my
WEB-INF/lib directory. I actually don't get anthing in that directory.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]