Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] ManualRepositorySystemFactory.getRepositorySystem() returns null

We have a really painful proxy / local repository setup to, ahem, make sure we stick with the approved jars written in 197... well, at least within the last decade. During internal dev we can grab more recent stuff and make a business case for it but in the meanwhile it's a case of manually downloading the jars from the central repository, adding them to our dev box using mvn install:install-file, and then drinking heavily after work.

The central repositories usually have the javadoc and source jarballs with the binaries but for some weird reason I didn't see them in this case.


On Tue, Sep 3, 2013 at 4:28 PM, Benjamin Bentmann <bentmann@xxxxxxxxxxxx> wrote:
Bear Giles wrote:

I was afraid you would say that.

Don't be scared, the very purpose of that service locator stuff is to be no-frills, so stepping through it should be a rather easy task. The sources for Maven 3.x have been migrated to Git and that SVN tag doesn't correspond to the actual 3.1.0 release. The better fit would be
https://git-wip-us.apache.org/repos/asf?p=maven.git;a=blob;f=maven-aether-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java;h=b7ed320158887cacbb48fa893b767ceedca3e028;hb=893ca28a1da9d5f51ac03827af98bb730128f9f2

Though seeing you gather sources this way makes me wonder how you imported the example project in the first place. Those are Maven projects and your IDE (e.g. Eclipse+m2e) should automatically download the sources JARs for all dependencies in there such that opening a given shows the sources.



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


Back to the top