As I said, I'm building a Clojure library on top of Aether, so the notions of goals and lifecycles and plugins are nowhere to be found.
By "'deploy' operation", I mean the operation implemented by e.g. RepositorySystem.deploy in Aether, or the same operation implemented in the maven-ant-tasks, or in whatever was the underpinning of Maven 2.x. Likewise for "'install' operation". It seems odd to me that all of the responses so far have been referring to userland concepts, rather than the semantics of the fundamental operations implemented by those libraries/APIs... - Chas On Feb 23, 2012, at 8:24 AM, Thiessen, Todd (Todd) wrote: > Interesting thread, although I find it a big confusing. Are you using the > deploy goal, not lifecycle, to deploy artifacts to your local repository? > What do you mean by "'deploy' operation"? Are you actually using the deploy > plugin? > > Your comment about them not being documented well I also find a bit > confusing. The deploy and install plugins are both documented quite well. > But I don't think you are referring to the plugin. I think you mean something > else when you say "deploy operation". > >> -----Original Message----- >> From: Chas Emerick [mailto:[email protected]] >> Sent: Thursday, February 23, 2012 7:38 AM >> To: Maven Developers List >> Subject: Re: Functional distinction between install and deploy >> operations >> >> >> On Feb 23, 2012, at 1:01 AM, Chris Graham wrote: >> >>> Remember that 'deploy' still calls 'install'. >> >> Very true for `mvn`. Not true in Aether; this would seem to be a >> userland tool convention, and not a fundamental characteristic of the >> 'deploy' operation. >> >> However, even Aether leaves some resolver-status and metadata files in >> the local repository after completing a 'deploy'...although I can't >> determine the significance of them. >> >> One thing I've discovered is that an installed SNAPSHOT will always >> take precedence over SNAPSHOTs from remote repositories, whereas this >> is not the case for SNAPSHOTs that are deployed to a local repository. >> So, there's one significant difference at least. >> >> It's unfortunate that the most fundamental things in Maven are >> essentially undocumented AFAICT: what 'deploy' and 'install' do, the >> various contents (and potential contents) of repositories in different >> contexts and their semantics, and so on. >> >> - Chas >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
