[
http://jira.codehaus.org/browse/ARCHETYPE-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Fox updated ARCHETYPE-97:
-------------------------------
Description:
After running create from project, i find pieces of the pom are missing. I
noticed that the module section is gone.
Starting with:
{noformat}
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>maven-parent</artifactId>
<groupId>org.apache.maven</groupId>
<version>6</version>
<relativePath>../pom/maven/pom.xml</relativePath>
</parent>
<groupId>org.apache.maven.archetype.test</groupId>
<artifactId>deep-inheritence-test</artifactId>
<packaging>pom</packaging>
<name>Inheritence Parent</name>
<version>1-SNAPSHOT</version>
<modules>
<module>a</module>
</modules>
</project>
{noformat}
I end up with:
{noformat}
--><project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>maven-parent</artifactId>
<groupId>org.apache.maven</groupId>
<version>6</version>
<relativePath>../pom/maven/pom.xml</relativePath>
</parent>
<groupId>my.test</groupId>
<artifactId>fooartifact</artifactId>
<packaging>pom</packaging>
<name>Inheritence Parent</name>
<version>2-VERSION</version>
</project>
{noformat}
was:After running create from project, i find pieces of the pom are missing.
I noticed that the parent and modules sections are gone, along with comments.
Summary: <modules> section is missing after using create-from-project
(was: pieces of the pom are missing after using create-from-project)
> <modules> section is missing after using create-from-project
> ------------------------------------------------------------
>
> Key: ARCHETYPE-97
> URL: http://jira.codehaus.org/browse/ARCHETYPE-97
> Project: Maven Archetype
> Issue Type: Bug
> Reporter: Brian Fox
> Assignee: Raphaël Piéroni
> Fix For: NG-1.0-alpha-1
>
>
> After running create from project, i find pieces of the pom are missing. I
> noticed that the module section is gone.
> Starting with:
> {noformat}
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <parent>
> <artifactId>maven-parent</artifactId>
> <groupId>org.apache.maven</groupId>
> <version>6</version>
> <relativePath>../pom/maven/pom.xml</relativePath>
> </parent>
> <groupId>org.apache.maven.archetype.test</groupId>
> <artifactId>deep-inheritence-test</artifactId>
> <packaging>pom</packaging>
> <name>Inheritence Parent</name>
> <version>1-SNAPSHOT</version>
>
>
> <modules>
> <module>a</module>
> </modules>
>
> </project>
> {noformat}
> I end up with:
> {noformat}
> --><project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <parent>
> <artifactId>maven-parent</artifactId>
> <groupId>org.apache.maven</groupId>
> <version>6</version>
> <relativePath>../pom/maven/pom.xml</relativePath>
> </parent>
> <groupId>my.test</groupId>
> <artifactId>fooartifact</artifactId>
> <packaging>pom</packaging>
> <name>Inheritence Parent</name>
> <version>2-VERSION</version>
>
> </project>
> {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