Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2
-
None
-
None
Description
mvn install:install-file -Dfile=... -DpomFile=test.pom
fails on the test.pom
<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>
with
[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
Attachments
Issue Links
- is duplicated by
-
MINSTALL-70 install-file should take the version from the parent if the version for the artifact is missing in the POM
- Closed