How to install an artifact in the local repository from within a plugin

2010-04-15 Thread Mirko Jahn
Hey there,

I am currently trying to manually install an artifact from a remote
repository into the local repository to do some file operations on it.
I can resolve the artifact with:
resolver.resolve(dependency, remoteRepositories, repository);
But this doesn't install the artifact locally and google wasn't much
of a help either (at least not with my queries). I am a bit puzzled on
how to do this now...
Any ideas?

Thanks in advance,
Mirko

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



Re: How to install an artifact in the local repository from within a plugin

2010-04-15 Thread Brian Fox
Use or look at the dependency plugin. The copy/unpack goals manually
resolve things to the repo.

On Wed, Apr 14, 2010 at 11:30 PM, Mirko Jahn mirkoj...@gmail.com wrote:
 Hey there,

 I am currently trying to manually install an artifact from a remote
 repository into the local repository to do some file operations on it.
 I can resolve the artifact with:
 resolver.resolve(dependency, remoteRepositories, repository);
 But this doesn't install the artifact locally and google wasn't much
 of a help either (at least not with my queries). I am a bit puzzled on
 how to do this now...
 Any ideas?

 Thanks in advance,
 Mirko

 -
 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



Re: [VOTE] Release Maven Compiler Plugin 2.3

2010-04-15 Thread Vincent Siveton
+1

Vincent

2010/4/10 Jason van Zyl ja...@sonatype.com:
 Hi,

 This was simply to bump the default source/target to 1.5. I don't want 
 3.0-beta-1 released requiring people to set these as they should be defaults 
 now.

 Staging repo:
 https://repository.apache.org/content/repositories/maven-011

 All we fixed was this:
 http://jira.codehaus.org/browse/MCOMPILER-80

 Guide to testing staged releases:
 http://maven.apache.org/guides/development/guide-testing-releases.html

 Vote open for 72 hours.

 [ ] +1
 [ ] +0
 [ ] -1

 +1 from me.

 Thanks,

 Jason

 --
 Jason van Zyl
 Founder,  Apache Maven
 http://twitter.com/jvanzyl
 --



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