Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Duplicate
-
2.0.4
-
None
-
None
-
None
-
Windows XP SP2
Description
I have created two new maven plugins to customize the way war et ejb projects are built (i.e. maven 2 default plugins are not compliant with my requirements). In order to use these custom plugins, I have also creating two new packaging (named xnet-ejb and xnet-war) but output files I want to store in the maven repository must have .war and .jar extensions. So I have added plexus components descriptor in order to change the extension (by default, the role-hint will be the extension of the file).
In a multiproject build, if I use only one of my plugin, it works well; the file install in the repository has the correct extension. But if I use both plugin, only one works and for project manage by the other one plugin, the file install in the repository will have a wrong extension (i.e. the role-hint).
This problem seems to be known (see http://cargo.codehaus.org/Merging+WAR+files) but I haven't found any fix.
Thanks for your help
Attached are my both plugin jar files.
Attachments
Attachments
Issue Links
- duplicates
-
MNG-1682 Plugins do not honor the correct extension when run as a part of a multiproject build
- Closed