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
Not a problem with version 1.7.2, but 1.7.3 and 1.8.0 bring in org.rnorth:tcp-unix-socket-proxy:1.0.2 which indirectly drags in log4j. Here's how (via $ gradle dependencies)
I think the struggle is in the custom way the pom gets built....here. This doesn't take into account the exclusions. Changing to a configuration-wide exclusion:
I took a crack at the more vanilla way of building a pom (by specifying from components.java as the docs say, and commenting out the code that adds dependencies to the xml directly), and the exclusions show up in the pom, but it's messy.
Activity
rnorth commentedon Jun 15, 2018
Hmm, I went to exclude this and saw that there's already an exclusion... 🤔
(in core/build.gradle)
Will investigate...
kiview commentedon Jun 22, 2018
When I'm running
./gradlew :testcontainers:dependencieseverything looks fine btw.:dbyron0 commentedon Jun 22, 2018
I think the struggle is that the published pom (e.g. http://central.maven.org/maven2/org/testcontainers/testcontainers/1.8.0/testcontainers-1.8.0.pom) doesn't exclude it. I see the same thing in ~/.m2/repositories when I run:
$ ./gradlew testcontainers:publishToMavenLocal(though the version there shows up as unspecified...different issue).I think the struggle is in the custom way the pom gets built....here. This doesn't take into account the exclusions. Changing to a configuration-wide exclusion:
didn't help.
I took a crack at the more vanilla way of building a pom (by specifying
from components.javaas the docs say, and commenting out the code that adds dependencies to the xml directly), and the exclusions show up in the pom, but it's messy.bsideup commentedon Jun 22, 2018
dbyron0 commentedon Jun 22, 2018
There's been a lot of activity on the gradle side around publishing...It's likely worth upgrading to 4.8.1 at least for https://docs.gradle.org/4.8/release-notes.html#customizing-the-generated-pom, though I don't see a silver bullet for this issue.
rnorth commentedon Jul 12, 2018
Released in 1.8.1! 🎉