Am 12/28/16 um 22:21 schrieb Guillaume Boué: > This is the tree with Maven 3.3.9: > > [DEBUG] org.apache.maven.wagon:wagon-file:jar:2.12-SNAPSHOT > [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.24:compile > [DEBUG] org.slf4j:slf4j-simple:jar:1.7.19:test > [DEBUG] org.slf4j:slf4j-api:jar:1.7.19:test > [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:2.12-SNAPSHOT:compile > [DEBUG] org.apache.maven.wagon:wagon-provider-test:jar:2.12-SNAPSHOT:test > [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.5.5:test > [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.2.2:test > [DEBUG] org.apache.xbean:xbean-reflect:jar:3.4:test > [DEBUG] log4j:log4j:jar:1.2.12:test > [DEBUG] commons-logging:commons-logging-api:jar:1.1:test > [DEBUG] com.google.collections:google-collections:jar:1.0:test > [DEBUG] org.easymock:easymock:jar:3.2:test > [DEBUG] cglib:cglib-nodep:jar:2.2.2:test > [DEBUG] org.objenesis:objenesis:jar:1.3:test > [DEBUG] org.eclipse.jetty.aggregate:jetty-all:jar:8.1.22.v20160922:test > [DEBUG] > org.eclipse.jetty.orbit:javax.servlet:jar:3.0.0.v201112011016:test > [DEBUG] javax.servlet:javax.servlet-api:jar:3.0.1:test > [DEBUG] junit:junit:jar:4.11:test (scope managed from compile by > org.apache.maven.wagon:wagon:2.12-SNAPSHOT) > [DEBUG] org.hamcrest:hamcrest-core:jar:1.3:test
You have overridden the test scope from management in the POM to compile. Why would you expect Maven to override that from the management transitively? I mean this: (scope managed from compile by org.apache.maven.wagon:wagon:2.12-SNAPSHOT) That compile is the override in the POM. In the POM you told Maven to ignore the test scope from management and override that with compile. Why are you expecting Maven to ignore your override? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
