You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Markus KARG (JIRA)" <ji...@codehaus.org> on 2010/01/10 20:05:55 UTC

[jira] Created: (ARCHETYPE-280) Forgets to rewrite package in POM.xml

Forgets to rewrite package in POM.xml
-------------------------------------

                 Key: ARCHETYPE-280
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-280
             Project: Maven Archetype
          Issue Type: Bug
    Affects Versions: 2.0-alpha-4
            Reporter: Markus KARG
            Priority: Critical


I am using archetype:create-from-project to produce an archetype. It is a smart feature that at time of creation, the package of the resulting java package gets rewritten! But this feature is buggy. There are plugins that need to have the package named in the POM.xml (like the maven-jar-plugin to know the main class, or the maven-exec-plugin for the same reason). The POM.xml actually gets rewritten for the artifactId, groupId and version, but the configuration of (at least) those two (not uncommon) plugins is not rewritten. As a result, the created project will not work. :-(

I want to propose that the config of (at least) these two plugin gets rewritten to reflect the actually configured package.

-- 
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