Well, I'm finally not sure I understand what you want to do. Did you look at the provided link?
Some goals (bound to the standard lifecycle that you should be aware of: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Build_Lifecycle_Basics ) * "package" will create the "packaged" version inside target directory (though this directory is customizable, but let's say you use the default values) * "install" will do all that package does + install the packaged artifact inside your local repository * "deploy" will do all that install does + deploy the artifact into your maven repository Deploy:deploy-file works at the file level. It takes many arguments, and you can use it to deploy any artifact in any repository, any groupId/artifactId/version. Really, I think this is what you need. If not, please rephrase your need more thoroughly. Cheers. 2009/5/20 Jane Young <[email protected]> > Thanks for the link. > I do not want to deploy individual artifacts. I want to deploy artifacts > from a project. Is it possible to do this with deploy:deploy-file? > > > > > Baptiste MATHUS wrote: > >> Hi, >> >> See >> http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html >> Also note that modern MRM have a page that features this exact upload. >> >> Cheers. >> >> 2009/5/20 Jane Young <[email protected]> >> >> >> >>> Hi Maven gurus, >>> >>> Looks like "mvn deploy" is deploying artifact from the target directory >>> to >>> remote maven repo. Is it possible to configure "mvn deploy" to deploy >>> artifact from the local maven repo. Also, is it possible to skip all the >>> lifecyle phases before deploy (validate, compile, test, package, >>> integration-test, verify and install) and just deploy from local maven >>> repo >>> to remote maven repo? >>> >>> Thanks, >>> Jane >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >>> >>> >> >> >> >> > > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
