You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/09/24 03:31:10 UTC

[jira] Closed: (MAVEN-745) plugin-war does not copy artifact properly when instructed under dependency, war.bundle.

Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Tue, 23 Sep 2003 8:30 PM

There is now a test project in the war plugin that tests this case. It works now.
---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: FIXED

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-war
   Fix Fors:
             1.0-rc1
   Versions:
             1.0-beta-10

   Assignee: 
   Reporter: 

    Created: Tue, 26 Aug 2003 1:25 PM
    Updated: Tue, 23 Sep 2003 8:30 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org