You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/12/31 22:49:19 UTC

[jira] Closed: (MINSTALL-55) install-file fails to grab version inhertied from parent

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

Benjamin Bentmann closed MINSTALL-55.
-------------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 2.3

Fixed in [r730487|http://svn.eu.apache.org/viewvc?view=rev&revision=730487].

> install-file fails to grab version inhertied from parent
> --------------------------------------------------------
>
>                 Key: MINSTALL-55
>                 URL: http://jira.codehaus.org/browse/MINSTALL-55
>             Project: Maven 2.x Install Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 2.3
>
>
> {noformat}
> mvn install:install-file -Dfile=... -DpomFile=test.pom
> {noformat}
> fails on the {{test.pom}}
> {code:xml}
> <parent>
>   <groupId>org.apache.maven.its.install.test</groupId>
>   <artifactId>parent</artifactId>
>   <version>1.0</version>
> </parent>
> <!-- NOTE: Inherit everything from the parent -->
> <artifactId>test</artifactId>
> {code}
> with
> {noformat}
> [INFO] [install:install-file]
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An invalid artifact was detected.
> This artifact might be in your project's POM, or it might have been included transitively during the resolution process.
>  Here is the information we do have for this artifact:
>     o GroupID:     org.apache.maven.its.install.test
>     o ArtifactID:  test
>     o Version:     <<< MISSING >>>
>     o Type:        pom
> {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