trautonen / coveralls-maven-plugin

Maven plugin for submitting Java code coverage reports to Coveralls web service.
MIT License
312 stars 123 forks source link

Puggin not working with maven #103

Closed leandroBorgesFerreira closed 7 years ago

leandroBorgesFerreira commented 7 years ago

I am trying to make a report, but when I run the command:

mvn coveralls:report

I get the following error:

I/O operation failed: No coverage report files found -> [Help 1]

Here is my pom:

<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>br.com.simplepass</groupId>
  <artifactId>mapPointManager</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <packaging>jar</packaging>

  <name>mapPointManager</name>
  <url>http://maven.apache.org</url>

  <build>   
    <plugins>
      <plugin>
        <groupId>org.eluder.coveralls</groupId>
        <artifactId>coveralls-maven-plugin</artifactId>
        <version>4.3.0</version>
        <configuration>
          <repoToken>blablabla</repoToken>
        </configuration>
        </plugin>       
    </plugins>
  </build>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
  </properties>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.12</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.assertj</groupId>
      <artifactId>assertj-core</artifactId>
      <version>3.5.2</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <distributionManagement>
        <repository>
            <id>MapPointManager</id>
            <url>https://api.bintray.com/maven/lehen01/maven/MapPointManager/;publish=1</url>
        </repository>
    </distributionManagement>
</project>
leandroBorgesFerreira commented 7 years ago

I had to add JaCoCo...