incubator-nmaven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (NMAVEN-143) NMaven-generated poms have unnecessary version and groupId elements
Date Wed, 11 Jun 2008 08:59:13 GMT

     [ http://jira.codehaus.org/browse/NMAVEN-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Porter updated NMAVEN-143:
--------------------------------

    Fix Version/s: 0.14 (Unreleased)

>  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
>             Fix For: 0.14 (Unreleased)
>
>
> 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

        

Mime
View raw message