Closed ampc closed 5 years ago
Can you post your pom.xml file?
Executed the tests without parallel options and it returned the same error, but it's related with 2.0.48?
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-emailer</artifactId>
<version>${serenity.version}</version>
</dependency>
Thanks, it worked.
Hello John,
i have the same issue. some times aggregate report not generating.
i am running serenity tests in aws code pipeline. i have below error message
Failed to execute goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:3.2.0:aggregate (serenity-reports) on project mavenSerenityIntellij: Execution serenity-reports of goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:3.2.0:aggregate failed: Plugin net.serenity-bdd.maven.plugins:serenity-maven-plugin:3.2.0 or one of its dependencies could not be resolved: Failed to collect dependencies at net.serenity-bdd.maven.plugins:serenity-maven-plugin:jar:3.2.0 -> org.apache.maven:maven-core:jar:3.6.3: Failed to read artifact descriptor for org.apache.maven:maven-core:jar:3.6.3: The following artifacts could not be resolved: org.apache.maven:maven-core:pom:3.6.3 (absent): Could not transfer artifact org.apache.maven:maven-core:pom:3.6.3 from/to central (https://repo.maven.apache.org/maven2): Connection reset -> [Help 1]
Please note sometimes it will generate report without any issue
I have resolved this with 2 methods.
1). Added mvn serenity:aggregate
in post build- This will generate even when you have above mentioned issue
To solve 1st step issue. i have used dependency cache in aws.
2). Dependency cache will save all dependencies in s3 bucket and this approach will reduce build time
Add this line of code in the buildspec.yml file: `cache: paths:
Hello, after successfully executing tests in parallel I got the following error: