ltearno / pom-explorer

A tool to aid managing lots of maven projects
MIT License
371 stars 65 forks source link

POMs using private repositories seems not working #23

Closed n2questdev closed 7 years ago

n2questdev commented 8 years ago

I'm trying to derive a dependency graph using this utility. Our Maven uses private repository... When I hit command _analyze directory C:\path_toproject, I get the following exception in the stdout

Sep 15, 2016 4:25:30 PM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListenertransferFailed WARNING: Failed downloading com/deltadental/ets/ets/1.0/ets-1.0.pom from http://repo1.maven.org/maven2/. Reason: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.xyzcompany.ets:ets:pom:1.0 in central (http://repo1.maven.org/maven2)

ltearno commented 8 years ago

I think you should use the mavenSettings command to tell pom explorer where you maven settings file is, and it should use the repositories declared in it.

If your repositories are declared in your pom, it won't take it in account(so it is an issue I agree). You could then temporarily put your repositories in your setting file...

Thanks

Le ven. 16 sept. 2016 16:52, ajuluri notifications@github.com a écrit :

I'm trying to derive a dependency graph using this utility. Our Maven uses private repository... When I hit command _analyze directory C:\path_toproject, I get the following exception in the stdout

Sep 15, 2016 4:25:30 PM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListenertransferFailed WARNING: Failed downloading com/deltadental/ets/ets/1.0/ets-1.0.pom from http://repo1.maven.org/maven2/. Reason: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.xyzcompany.ets:ets:pom:1.0 in central ( http://repo1.maven.org/maven2)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ltearno/pom-explorer/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/AALqXUN3_2dazNNHIE4c0jrC9rMCTiqaks5qqq0lgaJpZM4J_Bas .