You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Problem with Maven repo specifications in POMs of dependencies in some development environments #2317
After adding this, mvn verify works. This should not be necessary though, since the artifact is a transitive dependency and the POM of the direct dependency (elephant-bird) contains the repo specification, which works in most environments.
Nándor Kollár / @nandorKollar:
This additional repository should be in the POM instead of adding it to the settings. Looks strange for me, I couldn't reproduce the failure. My settings file doesn't have this additional Twitter repository, and I couldn't see it in the output of mvn help:effective-pom either.
Andy Grove / @andygrove:
I'm also curious to understand the implications of adding a library that depends on GPL licensed codec. Is this dependency just used for tests?
SinceLZOisGPLlicenseditdoesn't come bundled with Hadoop installation. You will have to install it separately.
Zoltan Ivanfi / @zivanfi:
That's a very good point, thanks for raising it. We don't use Hadoop-LZO ourselves. Running mvn dependency:tree shows that this is a compile-time transitive dependecy:
Zoltan Ivanfi / @zivanfi:
I came to the conclusion that the only possible source of the twitter repo is the POM of the elephant-bird dependecy. However, I have no idea why this doesn't work for you, @andygrove. I have tried it with both Maven 3.5.2 and 3.6.0 and both are able to download the transitive dependecy. What version do you use?
Activity
asfimport commentedon Apr 3, 2019
Nándor Kollár / @nandorKollar:
This additional repository should be in the POM instead of adding it to the settings. Looks strange for me, I couldn't reproduce the failure. My settings file doesn't have this additional Twitter repository, and I couldn't see it in the output of
mvn help:effective-pomeither.asfimport commentedon Apr 3, 2019
Zoltan Ivanfi / @zivanfi:
Now that is strange. If I issue this command:
I get the same error. But it is still able to download the artifact somehow when I run the following:
asfimport commentedon Apr 3, 2019
Andy Grove / @andygrove:
I'm also curious to understand the implications of adding a library that depends on GPL licensed codec. Is this dependency just used for tests?
asfimport commentedon Apr 3, 2019
Zoltan Ivanfi / @zivanfi:
That's a very good point, thanks for raising it. We don't use Hadoop-LZO ourselves. Running
mvn dependency:treeshows that this is a compile-time transitive dependecy:Before adding it to the POM we have to understand:
asfimport commentedon Apr 4, 2019
Zoltan Ivanfi / @zivanfi:
I came to the conclusion that the only possible source of the twitter repo is the POM of the elephant-bird dependecy. However, I have no idea why this doesn't work for you, @andygrove. I have tried it with both Maven 3.5.2 and 3.6.0 and both are able to download the transitive dependecy. What version do you use?