You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hendy Irawan (JIRA)" <ji...@codehaus.org> on 2012/10/25 23:30:13 UTC

[jira] (MNG-1012) with only doesn't work

    [ https://jira.codehaus.org/browse/MNG-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312329#comment-312329 ] 

Hendy Irawan edited comment on MNG-1012 at 10/25/12 4:29 PM:
-------------------------------------------------------------

I agree with David.

As it stands now (Maven 3.0), it's pretty annoying and unnecessary. The Parent POM coordinates are only used in repositories, but not in project *builds*. Please distinguish those two use cases.
                
      was (Author: ceefour):
    I agree with David.

As it stands now, it's pretty annoying and unnecessary. The Parent POM coordinates are only used in repositories, but not in project *builds*. Please distinguish those two use cases.
                  
> <parent> with only <relativePath> doesn't work
> ----------------------------------------------
>
>                 Key: MNG-1012
>                 URL: https://jira.codehaus.org/browse/MNG-1012
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>            Reporter: Hao Chen
>
> Use the following in child pom.xml
>   <parent>
>     <relativePath>../pom.xml</relativePath>
>   </parent>  
> Got error: 
> [INFO] Reason: Missing groupId element from parent element
> Why do we need groupId, artifactId, and version? These data are already contained in ../pom.xml.  It should work the same as Maven 1.0 <extends>.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira