[ https://issues.apache.org/jira/browse/MINSTALL-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965874#comment-17965874 ]
Olivier Lamy commented on MINSTALL-55: -------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-install-plugin#179|https://github.com/apache/maven-install-plugin/issues/179]. > install-file fails to grab version inhertied from parent > -------------------------------------------------------- > > Key: MINSTALL-55 > URL: https://issues.apache.org/jira/browse/MINSTALL-55 > Project: Maven Install Plugin (Moved to GitHub Issues) > 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 was sent by Atlassian Jira (v8.20.10#820010)