coveralls-maven-plugin icon indicating copy to clipboard operation
coveralls-maven-plugin copied to clipboard

eta on java 11 support?

Open jgangemi opened this issue 5 years ago • 5 comments
trafficstars

is there an eta on when a release will be cut that supports this? thanks!

jgangemi avatar Feb 25 '20 18:02 jgangemi

See my pull request #138 to fix the issue.

frimtec avatar May 24 '20 08:05 frimtec

Thanks for the fix @frimtec. For anyone waiting for it, know as a workarround you can add the dependencies in your own build

            <plugin>
                <groupId>org.eluder.coveralls</groupId>
                <artifactId>coveralls-maven-plugin</artifactId>
                <version>${maven.coveralls.plugin.version}</version>
                <dependencies>
                    <dependency>
                        <groupId>jakarta.xml.bind</groupId>
                        <artifactId>jakarta.xml.bind-api</artifactId>
                        <version>2.3.2</version>
                    </dependency>
                    <dependency>
                        <groupId>org.glassfish.jaxb</groupId>
                        <artifactId>jaxb-runtime</artifactId>
                        <version>2.3.2</version>
                    </dependency>
                </dependencies>
            </plugin>

abelsromero avatar Jul 13 '20 19:07 abelsromero

It seems the latest solution doesn't work at all. I found a new solution for that here;

<plugin>
  <groupId>org.jacoco</groupId>
  <artifactId>jacoco-maven-plugin</artifactId>
  <version>0.8.6</version>
  <executions>
    <execution>
      <id>prepare-agent</id>
      <goals>
        <goal>prepare-agent</goal>
      </goals>
    </execution>
  </executions>
</plugin>
<plugin>
  <groupId>org.eluder.coveralls</groupId>
  <artifactId>coveralls-maven-plugin</artifactId>
  <version>4.3.0</version>
  <configuration>
    <failOnServiceError>false</failOnServiceError>
  </configuration>
  <dependencies>
    <dependency>
      <groupId>javax.xml.bind</groupId>
      <artifactId>jaxb-api</artifactId>
      <version>2.3.1</version>
    </dependency>
  </dependencies>
</plugin>

It worked on me.

portlek avatar Nov 06 '20 22:11 portlek

I confirm adding the jaxb-api dependency works with Java 11 and 17

ebourg avatar May 12 '23 15:05 ebourg

I confirm adding the jaxb-api dependency works with Java 11 and 17

@ebourg Could you please confirm and make a PR with that?

PabloThiele avatar Jun 21 '23 11:06 PabloThiele