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 07:00:52 UTC

[I] [MDEPLOY-199] Ability to set properties containing the SNAPSHOT id and hash information assigned by repository. [maven-deploy-plugin]

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

   **[Jeff Vincent](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=predatorvi)** opened **[MDEPLOY-199](https://issues.apache.org/jira/browse/MDEPLOY-199?redirect=false)** and commented
   
   I'm building a continuous deployment pipeline with Jenkins and GoCD and when SNAPSHOT artifacts are published, I want to trigger the pipeline with the EXACT SNAPSHOT version generated by the deploy to Nexus (or equivalent) in order to make our deployment pipelines.
   
   In our case we are using SaltStack to provision our systems and we are pulling the WAR file directly from Nexus as a 'managed file' in saltstack.  It needs the SHA1 or MD5 hash for files hosted externally to be able to detect changes.
   
   I'd like a way to be able to retrieve the SNAPSHOT version and the SHA1 (and maybe MD5) hash of the artifact and be able to write them to a file or  set environment variables.
   
   I'm not versed in Maven to know exactly what is possible in this regard since things like resource filtering happens before the build and this is after the build has been published.
   
   Regardless, the hope would be to get that data as part of the build process to be used on steps later in the CI/CD pipeline process.
   
   
   ---
   
   **Affects:** 2.8.2
   
   2 votes, 3 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-199] Ability to set properties containing the SNAPSHOT id and hash information assigned by repository. [maven-deploy-plugin]

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

   **[Michael Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)** commented
   
   This cannot be solve here. Checksums are completely opaque to this plugin. They are solely created by MRESOLVER and are an implementation detail to avoid bitrot during transport. Consider using the https://github.com/nicoulaj/checksum-maven-plugin. All checksum handling has been removed in 3.0.0.
   


-- 
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-199] Ability to set properties containing the SNAPSHOT id and hash information assigned by repository. [maven-deploy-plugin]

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

   **[Dan Tran](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dantran)** commented
   
   I think this plugin should be able to push   md5, sha1, snapshot value into maven properties or to a specify external file.
   


-- 
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