Not possible at this moment, I ended up to download the maven-metadata.xml and extract the info after deploy.
However, I do believe this is a good enhancement for maven-deploy-plugin, please file enhancement request for it -Dan On Fri, Aug 21, 2015 at 8:08 AM, Jeff <predato...@gmail.com> wrote: > I should clarify that I want to find the specific SNAPSHOT version assigned > by Nexus (or other maven repository manager applications) after the deploy. > > So after I deploy 'myapp.jar' to Nexus with GAV: > > groupID: mycompany.com > artifactID: myapp > version: 1.0-SNAPSHOT > > > Nexus assigns it to something > like /com/mycompany/myapp/1.0-SNAPSHOT/myapp-1.0-20150821.000538-120.jar > > I want to get the "20150821.000538-120" portion and also if possible the > SHA1 hash Nexus generated. > > Thanks! > > > On Fri, Aug 21, 2015 at 8:37 AM, Jeff <predato...@gmail.com> wrote: > > > In implementing a continuous deployment pipeline I would like to update > my > > configuration tool with the specific SNAPSHOT version produced during the > > 'deploy' phase of the build. > > > > Ideally, I'd like to set an environment variable so that in Jenkins I can > > use it to trigger the downstream build. Alternatively a file or > something > > will work > > > > I've been searching Google and digging through the archives, but I > haven't > > found a way yet. > > > > Is there a way to do this somehow using existing plugins or Maven > > conventions? > > > > Thanks! > > > > -- > > Jeff Vincent > > See my LinkedIn profile at: > > http://www.linkedin.com/in/rjeffreyvincent > > > > > > -- > Jeff Vincent > See my LinkedIn profile at: > http://www.linkedin.com/in/rjeffreyvincent >