On Tue, February 21, 2012 11:10 am, headshaver wrote: > I am sorry but I am a novice maven user. We are trying to use the maven > deploy to upload several artifacts from our ant build to a nexus > repository. > We can accomplish this by calling the maven deploy-file on each file that > we > want to upload. However I wanted to see if there is a better way to do > this. Can we create a pom file to call the maven deploy once and have it > upload all of the artifacts. > > We have > x.jar > y.jar > a.jar > b.jar > > each one is uploaded to > com.biz.xxx.xxx.trunk/x/x.jar > com.biz.xxx.xxx.trunk/y/y.jar > com.biz.xxx.xxx.trunk/a/a.jar > com.biz.xxx.xxx.trunk/b/b.jar > > Can what I want to do be done in a single pom file? Thanks in advance.
Since these artifacts are different you should have different pom files. You might want to look at the Maven Ant Tasks or the newer Aether Ant Tasks.. manfred --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
