Use a classifier http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploying-with-classifiers.html (and read the documentation)
Kalle On Thu, Oct 8, 2009 at 6:38 PM, Ed Hillmann <[email protected]> wrote: > Hi. To date, I've been manually deploying an artifact using > mvn:deploy-file, as the artifact is built using an alternative build tool > (ant). This has been working fine to date. > > Now, I'd like to be able to deploy the artifact's sources as well, so I can > see the source from NetBeans. We have other maven-based projects that, when > a release is deployed, it deploys the source jar as well. > > I had thought that I could use the mvn deploy:deploy-file to do this as > well, but I'm not so sure? I can easily create the source jar files, but > how would I deploy them into the same directory as the artifact file I have > previously deployed using deploy-file? > > Thanks for any help, > Ed > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
