Report not generated in 1.1.4
awallat opened this issue · 3 comments
Since version 1.1.4 of the serenity-maven-plugin an error occurs during report generation.
[ERROR] Failed to execute goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.1.4:aggregate (default-cli) on project ingrid-serenity-testing: Execution default-cli of goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.1.4:aggregate failed: An API incompatibility was encountered while executing net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.1.4:aggregate: java.lang.NoSuchMethodError: org.hamcrest.CoreMatchers.startsWith(Ljava/lang/String;)Lorg/hamcrest/Matcher;
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.1.4
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/wemove/.m2/repository/net/serenity-bdd/maven/plugins/serenity-maven-plugin/1.1.4/serenity-maven-plugin-1.1.4.jar
[ERROR] urls[1] = file:/C:/Users/wemove/.m2/repository/net/serenity-bdd/serenity-core/1.1.4/serenity-core-1.1.4.jar
...
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
This is a problem with the generated Poms, I'll release a new version shortly
Sent from my iPhone
On 13 Aug 2015, at 10:07 am, André Wallat notifications@github.com wrote:
Since version 1.1.4 of the serenity-maven-plugin an error occurs during report generation.
[ERROR] Failed to execute goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.1.4:aggregate (default-cli) on project ingrid-serenity-testing: Execution default-cli of goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.1.4:aggregate failed: An API incompatibility was encountered while executing net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.1.4:aggregate: java.lang.NoSuchMethodError: org.hamcrest.CoreMatchers.startsWith(Ljava/lang/String;)Lorg/hamcrest/Matcher;
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.1.4
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/wemove/.m2/repository/net/serenity-bdd/maven/plugins/serenity-maven-plugin/1.1.4/serenity-maven-plugin-1.1.4.jar
[ERROR] urls[1] = file:/C:/Users/wemove/.m2/repository/net/serenity-bdd/serenity-core/1.1.4/serenity-core-1.1.4.jar
...
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
—
Reply to this email directly or view it on GitHub.
same problem here.
tried with version 1.1.5 and it seems to be working. Thanks for your work!