[ 
http://jira.codehaus.org/browse/ARCHETYPE-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106620
 ] 

Brian Fox commented on ARCHETYPE-87:
------------------------------------

in multimodule archetypes, there isn't a way to update the names of the modules 
and the sibling dependencies aren't updated. For example, i ran it on the 
enforcer tree. When I create the project from the archetype, I rename the group 
id to org.apache.maven.checker and the artifact to checker. The groups all get 
updated, but inside i still have enforcer-rule, enforcer-api etc. The parent 
pom artifactid does get changed to checker.

Also, there are still dependencies in the modules that point to 
org.apache.maven.enforcer.xxxx


> create-from-project replaces too many things in the pom with variables
> ----------------------------------------------------------------------
>
>                 Key: ARCHETYPE-87
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-87
>             Project: Maven Archetype
>          Issue Type: Bug
>            Reporter: Brian Fox
>            Assignee: Raphaël Piéroni
>            Priority: Blocker
>             Fix For: NG-1.0-alpha-1
>
>
> Using the maven-integration-test-sample project, and create-from-project, I 
> find that the processed pom has every fragment of the group,artifactid and 
> version replaced. It's not a safe assumption that everything with the same 
> version (and other values) should be generic. For example, if my sample 
> project has 1.0 as a version, every version 1.0 will be replaced, even if 
> it's something completely unrelated to my project. 
> Example output:
> {noformat}
> <project>
>   <modelVersion>4.0.0</modelVersion> 
>   <groupId>${groupId}</groupId>
>   <artifactId>${artifactId}</artifactId>
>   <version>${version}</version>
>   <name>Maven Integration Tests</name>
>   <dependencies>
>     <dependency>
>       <groupId>org.apache.maven.shared</groupId>
>       <artifactId>maven-verifier</artifactId>
>       <version>1.0</version>
>     </dependency>
>     <dependency>
>         <groupId>org.apache.maven.its</groupId>
>         <artifactId>maven-integration-test-helper</artifactId>
>         <version>${version}</version>
>       </dependency>
> {noformat}

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


Reply via email to