Thanks. Noticed this myself yesterday. Wanted to wait for Jenkins to finish all pending jobs. Haven't expected any IT to fail. Will have a look.
Am 12/11/16 um 22:56 schrieb Michael Osipov: > Am 2016-12-10 um 16:06 schrieb Christian Schulte: >> If it's happening just due to the upgrade of the resolver, then it's a >> resolver bugfix the IT hasn't been updated to reflect. I discussed this >> issue with Jason in december last year when upgrading the resolver to >> 1.1 needed to be reverted. >> >> <https://github.com/jvanzyl/aether-core/commit/da9708bf7321e25c2a74dddb893539f735135a6d> >> >> Also part of: >> >> <https://git-wip-us.apache.org/repos/asf?p=maven-resolver.git;a=commit;h=1ee92862c67ec98564c4d8be1207355960f1dd5d> >> >> This was lacking test cases badly. I am the author of the corresponding >> test cases in the resolver. A few months later I had to correct those >> tests to match the 1.0.x behaviour exactly. >> >> <https://git-wip-us.apache.org/repos/asf?p=maven-resolver.git;a=commit;h=5907bd44682925d8ea795fcb63c39d268157a632> >> >> That IT would need to be updated to no longer run with Maven 3.4+ and a >> new one needs to be created in parallel running with 3.4+, IMHO. The >> bugfix also has an impact on how 'test' scope dependencies are resolved. >> In short: If the scope of a transitive dependency is managed to 'test' >> that dependency will no longer be resolved as the test scope is not >> transitive. > > I just ran ITs with current master, only one IT fails: > > ------------------------------------------------------------------------------- > Tests run: 797, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 1,306.697 sec <<< FAILURE! - in org.apache.maven.it.IntegrationTestSuite > testit(org.apache.maven.it.MavenITmng4347ImportScopeWithSettingsProfilesTest) > Time elapsed: 1.174 sec <<< ERROR! > org.apache.maven.it.VerificationException: Exit code was non-zero: 1; > command line and log = > D:\Entwicklung\Programme\apache-maven-3.4.0-SNAPSHOT\bin\..\bin\mvn > --global-settings > D:\Entwicklung\Projekte\maven-integration-testing\core-it-suite\target\test-classes\settings.xml > > -s settings.xml -e --batch-mode > -Dmaven.repo.local=C:\Users\mosipov\.m2\repository validate > [INFO] Error stacktraces are turned on. > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building consumer 1 > [INFO] > ------------------------------------------------------------------------ > [INFO] Downloading: > file:///D:/Entwicklung/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-4347/remote-repository/org/apache/maven/it/mng4347/dep-with-import/1/dep-with-import-1.pom > [INFO] Downloaded: > file:///D:/Entwicklung/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-4347/remote-repository/org/apache/maven/it/mng4347/dep-with-import/1/dep-with-import-1.pom > > (1.7 kB at 109 kB/s) > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 0.181 s > [INFO] Finished at: 2016-12-11T22:37:08+01:00 > [INFO] Final Memory: 8M/241M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project consumer: Could not resolve > dependencies for project org.apache.maven.it.mng4347:consumer:jar:1: > Failed to collect dependencies at > org.apache.maven.it.mng4347:dep-with-import:jar:1: Failed to read > artifact descriptor for > org.apache.maven.it.mng4347:dep-with-import:jar:1: Could not find > artifact org.apache.maven.it.mng4347:import-dep:pom:1-SNAPSHOT -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > execute goal on project consumer: Could not resolve dependencies for > project org.apache.maven.it.mng4347:consumer:jar:1: Failed to collect > dependencies at org.apache.maven.it.mng4347:dep-with-import:jar:1 > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:249) > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:247) > ... > Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could > not find artifact org.apache.maven.it.mng4347:import-dep:pom:1-SNAPSHOT > at > org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:412) > ... 42 more > > Michael > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org