[ 
http://jira.codehaus.org/browse/MWAR-101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95475
 ] 

Stephane Nicoll commented on MWAR-101:
--------------------------------------

Yes, the verifier does not take the classifier into account apparently.

Thanks for the report.

> dependency with scope compile missing in WEB-INF/lib
> ----------------------------------------------------
>
>                 Key: MWAR-101
>                 URL: http://jira.codehaus.org/browse/MWAR-101
>             Project: Maven 2.x War Plugin
>          Issue Type: Bug
>         Environment: maven-2.0.6
>            Reporter: Jörg Hohwiller
>
> I have a maven module with packaging war that has various dependencies. When 
> the webapp is build by the war-plugin, some dependencies are NOT copied to 
> the WEB-INF/lib directory of the webapp.
> This seems to have something to do with the fact that in this case I have the 
> same dependency twice once as a regular dependency and another time with 
> classifier "sources". This is necessary since I am using the 
> Google-Web-Toolkit that needs the sources of dependent client modules.
> So I have such dependecies in my POM:
> <dependency>
>   <groupId>foo.bar</groupId>
>   <artifactId>web-client</artifactId>
>   <version>1.0</version>
>   <scope>compile</scope>
> </dependency>
> <dependency>
>   <groupId>foo.bar</groupId>
>   <artifactId>web-client</artifactId>
>   <version>1.0</version>
>   <scope>compile</scope>
>   <classifier>sources</classifier>
> </dependency>
> This works fine for compilation where the GWT reads the sources from the 
> classpath.
> However there is no "web-client-*.jar" in WEB-INF/lib but one 
> "foo.bar-web-client-1.0.jar" that holds the content
> of the "web-client-1.0-sources.jar". 
> I do not know what goes wrong here, but I looks that the war-plugin detects 
> some kind of clush for this "duplicate" depdency and makes some magic that 
> seems wrong here...

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