Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] Providing RepositoryConnectorFactory implementation

Hi Benjamin,

Thanks, for the help. I was mislead by the property name ${mavenVersion} and override that value to 3.0.4 , the version of maven build i use.

That is why I was getting 3.0.4 version of maven-aether-provider.jar , which doesn't match the classes mentioned in wiki.

Now I see the classes, will continue my exploration using Aether.

Thanks,
Surajeet



On Tue, Sep 3, 2013 at 12:34 AM, Benjamin Bentmann <bentmann@xxxxxxxxxxxx> wrote:
Surajeet Bhuinya wrote:

Recently I investigated Aether for some development purpose which just
include to download a war file from known Maven repo and artifact coords.

To do this i followed the online tutorial of creating Service Locator,
unable to find the MavenSystemUtils as stated in tutorial I used
MavenServiceLocator.

I assume you refer to this wiki page:
http://wiki.eclipse.org/Aether/Setting_Aether_Up#Service_Locator

This page builds on the wiki page "Getting Aether" where the required dependencies are detailed, including the proper version of the maven-aether-provider. I updated the wiki to make this more clear.

Note that the class you're looking for is called MavenRepositorySystemUtils, not MavenSystemUtils.


My pom dependency are exactly from tutorial page to get aether and I am
using maven 3.0.4.

As now more clearly stated on those pages, you need version 3.1.0 of the maven-aether-provider.

With that in mind, you should be able to employ the instructions given in the wiki.


Benjamin
_______________________________________________
aether-users mailing list
aether-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aether-users



--
Surajeet

Back to the top