The issue is not the dependecies of the project but the artifact generated by the project.
Our hudson server generated the jar file for the project and deployed it into our snapshot repo. Now we want to create a couple of zips that contain the jar, its dependecies, and an environment specific property file and we would like to do this without having to create additonal poms. brettporter wrote: > > Both - there is a dependencies element in the assembly descriptor that > can use the dependencies listed in the POM (with filters applied) to > add them to the assembly. This should certainly be used for them > rather than referring to directories outside of the project. > > Cheers, > Brett > > On 07/01/2009, at 3:57 PM, jmaxwell wrote: > >> >> Are you referring to the dependencies element of the POM? >> >> >> brettporter wrote: >>> >>> If you are including it in the assembly using the dependencies >>> element, it uses whatever was retrieved by Maven. Maven will retrieve >>> it from the repository if it hasn't already been built. I'm not quite >>> sure what additional functionality you are looking for? >>> >>> Cheers, >>> Brett >>> >>> On 07/01/2009, at 8:16 AM, jmaxwell wrote: >>> >>>> >>>> When creating *.zip assemblies for our various environments we would >>>> like to >>>> retrieve the project artifact directly the repository, we do not >>>> want to >>>> have to rebuild our project artifacts each time. >>>> >>>> Is it possible to modify our assembly descriptors to retrieve a >>>> project >>>> artifact out of the repository? >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Retrieving-Project-Artifact-from-the-Repository-During-Assembly-tp21319261p21319261.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 >>>> >>> >>> -- >>> Brett Porter >>> br...@apache.org >>> http://blogs.exist.com/bporter/ >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>> For additional commands, e-mail: users-h...@maven.apache.org >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Retrieving-Project-Artifact-from-the-Repository-During-Assembly-tp21319261p21324941.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 >> > > -- > Brett Porter > br...@apache.org > http://blogs.exist.com/bporter/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://www.nabble.com/Retrieving-Project-Artifact-from-the-Repository-During-Assembly-tp21319261p21325368.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