Hello Christian, that I could fix. Although hamcrest is transitive in junit. Concerning https://github.com/1and1/testlink-junit/: I now invoked the project as 'mvn340 -P '!foss-parent-verification' clean verify' and get other stack traces. This might be because the parent pom of the project manages logback as having scope test, that means probably that the project class path is leaking into the plugin class path. When I try to manage the dependencies as scope runtime, the version number is not picked up from the parent.
Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen) https://bitbucket.org/mfriedenhagen/ On Sun, Jun 12, 2016 at 10:27 AM, Christian Schulte <c...@schulte.it> wrote: > Am 06/12/16 um 00:03 schrieb Mirko Friedenhagen: >> Hello Karl-Heinz, >> >> I tried this with 2 projects, firstly an inhouse project and it choked with: >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-surefire-plugin:2.19:test >> (default-test) on project ui-mamido-qamove: Execution default-test of >> goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test failed: >> There was an error in the forked process >> >> [ERROR] org.apache.maven.surefire.util.SurefireReflectionException: >> java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing > > You are managing a transitive dependency to 'test' scope which isn't > transitive. You need to move that transitive dependency up one level to > make it a direct dependency. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org