You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jan ancajas (JIRA)" <ji...@codehaus.org> on 2008/06/11 05:19:12 UTC
[jira] Created: (NMAVEN-143) NMaven-generated poms have
unnecessary version and groupId elements
NMaven-generated poms have unnecessary version and groupId elements
--------------------------------------------------------------------
Key: NMAVEN-143
URL: http://jira.codehaus.org/browse/NMAVEN-143
Project: NMaven
Issue Type: Bug
Affects Versions: 0.14 (Unreleased)
Reporter: jan ancajas
In the following example, the groupId and version should be omitted as they are usually inherited from the parent in a multi-module build.
{noformat}
<parent>
<artifactId>MySolution-parent</artifactId>
<groupId>MySolution-parent</groupId>
<version>1.0-SNAPSHOT</version>
<relativePath>..\pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>MyConsoleApplication</groupId> <----------- remove
<artifactId>MyConsoleApplication</artifactId>
<version>1.0-SNAPSHOT</version> <----------- remove
<packaging>exe</packaging>
<name>MyConsoleApplication</name>
<build>
{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