He is talking about the notion of a install and deploy operating as implemented by the deploy and install plugins. He is porting them to Coljure for usage with Clojure build tools like Leiningen and it using the same library Maven is using for it - Aether.

manfred

On 12-02-23 05: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:c...@cemerick.com]
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: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to