[ http://jira.codehaus.org/browse/MPGENAPP-26?page=all ]
Lukas Theussl closed MPGENAPP-26.
---------------------------------
Resolution: Fixed
I fixed the issue but I couldn't apply your patch: it's not in unified diff
format, the ant:exclude part broke some other standard templates, and I
couldn't figure out what the rest of the patch is supposed to do. Please open a
new issue with a more detailed description.
> Problem with maven.genapp.repackage.dir and maven.genapp.repackage
> ------------------------------------------------------------------
>
> Key: MPGENAPP-26
> URL: http://jira.codehaus.org/browse/MPGENAPP-26
> Project: maven-genapp-plugin
> Issue Type: Bug
> Affects Versions: 2.3
> Environment: Test on windows
> Reporter: Charles Rathouis
> Assigned To: Lukas Theussl
> Fix For: 2.3.1
>
> Attachments: jelly.diff, saint-gobain.zip
>
>
> When you use the maven.genapp.repackage.dir properties and set it to . , the
> files contained in the maven.genapp.repackage directory are not < moved > to
> the new package directory, but copied in it, and steel in the base directory.
> Here is the template.properties file :
> maven.genapp.repackage.dir=
> maven.genapp.repackage=main/src/java,test/src/unit
> maven.genapp.filter=project.xml
> maven.genapp.default.package=com.saint-gobain.sgsi.my_application
> maven.genapp.filter=project.xml,main/src/webapp/WEB-INF/web.xml
> The content of "main/src/java" are not moved in
> "main/src/java/com/saint-gobain/sgsi/my_application" but copyed in it and
> steel in the "main/src/java" directory.
> If I put the main and test directory in a "src" directory, and remove the
> "maven.genapp.repackage.dir" propertie, everything works fine.
> You can find in attachment the template
--
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