Skip to content
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

Add support for testing coverage reports #15

Open
bautrey37 opened this issue Jun 4, 2020 · 3 comments · Fixed by #19
Open

Add support for testing coverage reports #15

bautrey37 opened this issue Jun 4, 2020 · 3 comments · Fixed by #19
Labels
bug Something isn't working enhancement New feature or request

Comments

@bautrey37
Copy link
Owner

bautrey37 commented Jun 4, 2020

trautonen/coveralls-maven-plugin#112

Configure local Coveralls token and run locally like this: mvn jacoco:report coveralls:report -DrepoToken=$COVERALLS_TOKEN

Result:

 Execution default-cli of goal org.eluder.coveralls:coveralls-maven-plugin:4.3.0:report failed: A required class was missing while executing org.eluder.coveralls:coveralls-maven-plugin:4.3.0:report: javax/xml/bind/DatatypeConverter

There is a fix deployed to master, but it is not deployed to the maven repository, so there is no way to reference a version of the new fix.

@bautrey37 bautrey37 added the enhancement New feature or request label Jun 4, 2020
@bautrey37 bautrey37 linked a pull request Jun 9, 2020 that will close this issue
1 task
@bautrey37 bautrey37 reopened this Jun 14, 2020
@bautrey37
Copy link
Owner Author

Not fixed. Need to implement report aggregation with Jacoco. This is a working example from jacoco.

@bautrey37
Copy link
Owner Author

@bautrey37 bautrey37 added the bug Something isn't working label Jun 19, 2020
@victorgveloso
Copy link

You might need to add javax.xml.bind:jaxb-api as coveralls-maven-plugin dependency. Like this:

      <plugin>
          <groupId>org.eluder.coveralls</groupId>
          <artifactId>coveralls-maven-plugin</artifactId>
          <version>${build-plugin.coveralls.version}</version>
          <dependencies>
            <dependency>
                <groupId>javax.xml.bind</groupId>
                <artifactId>jaxb-api</artifactId>
                <version>2.3.1</version>
            </dependency>
          </dependencies>
      </plugin>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants