Dependency as type=test-jar and scope=compile not included in WEB-INF/lib on 
packaging.
---------------------------------------------------------------------------------------

                 Key: MWAR-91
                 URL: http://jira.codehaus.org/browse/MWAR-91
             Project: Maven 2.x War Plugin
          Issue Type: Bug
    Affects Versions: 2.0.2
         Environment: Mac OSX. Maven 2.0.4
            Reporter: Franz Garsombke


I have a dependency defined below:

    <dependency>
      <groupId>com.foo.ejb.server</groupId>
      <artifactId>slm-ejb-server</artifactId>
      <type>test-jar</type>
      <scope>compile</scope>
    </dependency>       

I would expect it in the WEB-INF/lib directory at time of packaging. 
Interestingly enough its transitive dependencies show up but not the actual 
test jar. The reason we need it in the WAR is for Cactus tests. I agree Cactus 
is evil but can not remove it in the short term.

-- 
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