[
https://jira.codehaus.org/browse/MWAR-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=331133#comment-331133
]
Jörg Schaible edited comment on MWAR-304 at 8/21/13 2:18 AM:
-------------------------------------------------------------
Attach means that the resulting artifact is an additional project result and
will be installed/deployed to the repository on its own. It is certainly not
meant to be included automatically into the main artifact. Such a behavior
would break quite a lot of existing projects.
If you want to add it to the war, simply set the proper target directory for
this attached artifact (into
{noformat}${project.build.directory}/${project.build.finalName}/WEB-INF/lib{noformat}).
was (Author: joehni):
Attach means that the resulting artifact is an additional project result
and will be installed/deployed to the repository on its own. It is certainly
not meant to be included automatically into the main artifact. Such a behavior
would break quite a lot of existing projects.
If you want to add it to the war, simply set the proper target directory for
this attached artifact (into
${project.build.directory}/${project.build.finalName}/WEB-INF/lib).
> WAR plugin ignores attached artifacts from previous plugins
> -----------------------------------------------------------
>
> Key: MWAR-304
> URL: https://jira.codehaus.org/browse/MWAR-304
> Project: Maven WAR Plugin
> Issue Type: Bug
> Components: overlay
> Affects Versions: 2.4
> Environment: any
> Reporter: Richard Sand
>
> If my maven project includes a plugin that attaches an artifact to the
> project, the war plugin will not process the artifact for inclusion in the
> results
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira