how to push .zip from assembly to repo?
I have an assembly plugin/config that creates a .zip file. How do I get this published to our repo when there is a build done by any person or Jenkins? ( snapshot ). I am also looking for a configuration that would publish the artifact to the non-snapshot side as well. I am looking at all options in the assembly plugin and it is a bit confusing. J.V.
Re: how to push .zip from assembly to repo?
I think the .zip file will be attached when you use the release plugin, here is an example of one that I use - https://github.com/adamretter/csv-validator/blob/master/csv-validator-cmd/src/main/assembly/appassembler-output.xml On 27 March 2014 19:42, Jay Vee jvsr...@gmail.com wrote: I have an assembly plugin/config that creates a .zip file. How do I get this published to our repo when there is a build done by any person or Jenkins? ( snapshot ). I am also looking for a configuration that would publish the artifact to the non-snapshot side as well. I am looking at all options in the assembly plugin and it is a bit confusing. J.V. -- Adam Retter skype: adam.retter tweet: adamretter http://www.adamretter.org.uk - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to push .zip from assembly to repo?
I do not see anything in the assembly .xml or the release plugin that would push the zip created to a local maven repo. There must be something missing. I looked at the release plugin options and it appears to be related to SCM, but not a maven repo. If you have more information, it would be greatly appreciated. -- View this message in context: http://maven.40175.n5.nabble.com/how-to-push-zip-from-assembly-to-repo-tp5789728p5789750.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to push .zip from assembly to repo?
Jvsrvcs, how do you run assembly? As stated on plugin-info[0] you only should use goal single. The mojo documentation for single[1] states, that the assembly should be attached (and therefore deployed) as of version 2.2 of the plugin. [0] https://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html [1] https://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#attach Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen) https://bitbucket.org/mfriedenhagen/ On Thu, Mar 27, 2014 at 9:50 PM, Jvsrvcs jvsr...@gmail.com wrote: I do not see anything in the assembly .xml or the release plugin that would push the zip created to a local maven repo. There must be something missing. I looked at the release plugin options and it appears to be related to SCM, but not a maven repo. If you have more information, it would be greatly appreciated. -- View this message in context: http://maven.40175.n5.nabble.com/how-to-push-zip-from-assembly-to-repo-tp5789728p5789750.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org