You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jira-importer (via GitHub)" <gi...@apache.org> on 2025/04/02 06:56:17 UTC

[I] [MDEPLOY-77] Add new option to resolve snapshot dependencies when deploying [maven-deploy-plugin]

jira-importer opened a new issue, #142:
URL: https://github.com/apache/maven-deploy-plugin/issues/142

   **[Paul Gier](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=pgier)** opened **[MDEPLOY-77](https://issues.apache.org/jira/browse/MDEPLOY-77?redirect=false)** and commented
   
   It would be helpful in certain cases to tie a snapshot deployment to certain snapshot dependencies.  For example, I have a dependency on project A version 1.0-SNAPSHOT.  When my project is deployed, I would like this to be resolved to the specific snapshot used during the build.  So something like (1.0-20080201.133452-3).  This way I can see exactly which dependency build was used during the build of my project.
   
   
   ---
   
   1 votes, 1 watchers
   


-- 
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-unsubscribe@maven.apache.org.apache.org

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


Re: [I] [MDEPLOY-77] Add new option to resolve snapshot dependencies when deploying [maven-deploy-plugin]

Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #142:
URL: https://github.com/apache/maven-deploy-plugin/issues/142#issuecomment-2771510037

   **[Paul Gier](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=pgier)** commented
   
   The consensus seems to be that the deploy plugin should not have any responsibility related to modifying the pom.  So MVERSIONS-21 should handle this use case instead.  It can be run prior to deployment to lock down the snapshot versions.
   


-- 
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-unsubscribe@maven.apache.org

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


Re: [I] [MDEPLOY-77] Add new option to resolve snapshot dependencies when deploying [maven-deploy-plugin]

Posted by "jira-importer (via GitHub)" <gi...@apache.org>.
jira-importer commented on issue #142:
URL: https://github.com/apache/maven-deploy-plugin/issues/142#issuecomment-2771510035

   **[Carlo de Wolf](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wolfc)** commented
   
   To clarify:
   
   Suppose you have the following dependency chain: A -> B -> C
   
   Now if you deploy a snapshot of C which passes all unit tests, but for some reason B can't be deployed because of unit test failures then A-SNAPSHOT becomes useless for other projects. Anybody using that one will end up with a 'broken' C-SNAPSHOT.
   
   Instead the dependency chain should be: A-1 -> B-1 -> C-1
   
   Then it becomes: A-1 -> B-1 -> C-1, B-2 -> C-2 (where B-2 / SNAPSHOT fails to deploy)
   Now A-1 / SNAPSHOT still forms a latest stable snapshot chain.
   


-- 
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-unsubscribe@maven.apache.org

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