You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2011/12/07 20:04:39 UTC
[jira] Commented: (MWAR-269) war fails to build while using m2e in
workspace resolution mode
[ https://jira.codehaus.org/browse/MWAR-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285164#comment-285164 ]
Stephane Nicoll commented on MWAR-269:
--------------------------------------
It think the patch makes sense and is clean/short enough to be applied but before doing so I would like to reproduce your issue. Can you add a sample project or explain how I can reproduce the issue? Thanks.
> war fails to build while using m2e in workspace resolution mode
> ---------------------------------------------------------------
>
> Key: MWAR-269
> URL: https://jira.codehaus.org/browse/MWAR-269
> Project: Maven 2.x WAR Plugin
> Issue Type: Improvement
> Affects Versions: 2.1.1
> Reporter: Chris Gamache
> Attachments: maven-war-plugin.patch
>
>
> This is my first time for an issue/patch submission. Apologies if I'm doing it wrong....
> When building in Eclipse using m2e in workspace resolution mode, the maven-war-plugin is not prepared for a "dependency" which isn't an assembly but is instead a folder containing the compiled classes from within the local workspace. I propose that if the incoming dependency happens to be a directory that it get packaged up and copied to the destination instead of blowing up with an exception.
> See attached patch for your review...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira