-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to resolve scoverage-maven-plugin:1.1.0-SNAPSHOT Skipping SCoverage report generation #21
Comments
Hi Add <pluginRepositories>
<pluginRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories> to your |
I added that you suggested but i am still getting same issue: [INFO] |
Here is the complete pom configuration: <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
<scoverage.plugin.version>1.1.0-SNAPSHOT</scoverage.plugin.version>
</properties>
<pluginRepositories>
<pluginRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.scoverage</groupId>
<artifactId>scoverage-maven-plugin</artifactId>
<version>${scoverage.plugin.version}</version>
<executions>
<execution>
<id>coverage</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
<configuration>
<excludedFiles>.*Object</excludedFiles>
</configuration>
</plugin>
</plugins>
</build>
</project>
`` |
Does it work with version |
No it doesn't work with 1.0.4 too? |
It should work with |
``html
|
I need execution log. |
Hi |
Hi @gslowikowski |
So something has changed, you had no exception before. Anyway this is not a Maven plugin issue. I still cannot help you without sample project. Tried to build your project https://github.com/abdheshkumar/sbt-poc-coverage, but it works for me. |
Yes @gslowikowski it's working fine with Scala 2.11+ but its not working 2.10 at least for me. |
Ok, I'm closing, this is not Maven plugin issue. |
Just a quick drive-by to note that I was just seeing the
message and eventually realized it was because my POM had |
So now it would work with Scala 2.10? |
Still same issue: [INFO] >>> scoverage-maven-plugin:1.1.1:report (default-cli) > [scoverage]test @ root >>> [INFO] >>> scoverage-maven-plugin:1.1.1:report (default-cli) > [scoverage]test @ common >>> [INFO] |
@abdheshkumar
BTW, I cannot compile your test project with Scala 2.10.x. There is compilation error. |
@abdheshkumar were you able to resolve this issue? |
Hi
I am trying to integrate scoverage with maven but am getting SCoverage report generation info in logger
These are the steps that i followed :
pom.xml
I don't know this configuration is right or not. Please guide me how can i make this working.
Thanks
The text was updated successfully, but these errors were encountered: