Skip to main content

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

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


Back to the top