jira-importer commented on issue #142:
URL: 
https://github.com/apache/maven-install-plugin/issues/142#issuecomment-2771839954

   **[Joern 
Gebhardt](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=joijoe)** 
commented
   
   `@Matthew`
   
   > The install and deploy plugins will use the value of the ciVersion 
property that was passed in whenever ${project.version} is referenced, as 
expected...
   
   Your are right in the sense, that the artifact will end up at the correct 
location in the repository, i.e. the `ciVersion` is reflected in the path and 
the artifact name. However, additionally to the main artifact also the 
`pom.xml` gets uploaded into the repository (e.g. `my-artiact-1.0.0.25.pom`). 
If you look inside this POM you will see that the original source POM was 
uploaded that contains as version the `ciVersion` property. I.e. Maven will 
have problems resolving the correct transitive dependencies if you are in a 
multi-module project as it will look for a parent with the unresolved version 
"${ciVersion}". Instead of uploading the unresolved source `pom.xml` Maven 
should upload the resolved one.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to