[ http://issues.ops4j.org/jira/browse/PAXCONSTRUCT-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11860#action_11860 ]
Stuart McCulloch commented on PAXCONSTRUCT-95: ---------------------------------------------- Ignore that last comment, it was applied when I did a block close of old issues - the situation is still that the classic maven archetype system doesn't support renaming of resource files according to package name. There is a new archetype system that is more flexible, but it uses a different (incompatible) archetype format which makes upgrading non-trivial (we'd need to push out new archetypes, re-write the clone mojo, etc, etc...). We'd also need to detect use of package related strings in the resource files, which is much harder than for Java sources. Finally the new archetype system still has a few bugs that are being ironed out. So while not impossible this is definitely something for a 2.0 release, and not really something I personally feel like working on (given time needed vs. benefit). Note that you could always use a script or some other tool/plugin to fix up resource files after applying the archetype... > Package names in resources not renamed when creating from archteype > ------------------------------------------------------------------- > > Key: PAXCONSTRUCT-95 > URL: http://issues.ops4j.org/jira/browse/PAXCONSTRUCT-95 > Project: Pax Construct > Issue Type: Bug > Reporter: David Leangen > Assignee: Stuart McCulloch > > Steps to reproduce: > 1. Create an archetype, including packages with resources in the > src/test/resources directory > 2. Create a new bundle based on that archetype: pax-create-bundle -p > com.example -n example -- -Dcontents=[archtetypeRef] > The resources packages in the new example project are not renamed to > com.example.*. They retain the same name as in the archetype project. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general