Skip to content

Commit

Permalink
Crash fixed of the EMMA plugin.
Browse files Browse the repository at this point in the history
This is related to the following changes of Jenkins:
jenkinsci/jenkins#5320
  • Loading branch information
Sébastien Fricker committed Sep 17, 2021
1 parent d21f145 commit 1342956
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
24 changes: 16 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>

<artifactId>cocoemma</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.2-SNAPSHOT</version>
<packaging>hpi</packaging>

<name>Squish Coco Emma plugin</name>
Expand Down Expand Up @@ -45,7 +45,7 @@
</scm>

<properties>
<jenkins.version>2.204.2</jenkins.version>
<jenkins.version>2.303.1</jenkins.version>
<java.level>8</java.level>
<workflow-jenkins-plugin.version>1.11</workflow-jenkins-plugin.version>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Expand Down Expand Up @@ -73,22 +73,32 @@
<version>3.5</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-digester3</artifactId>
<version>3.2</version>
</dependency>
</dependencies>

<dependencyManagement>
<dependencies>
<!-- https://mvnrepository.com/artifact/io.jenkins.tools.bom/bom-2.164.x -->
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.204.x</artifactId>
<artifactId>bom-2.303.x</artifactId>
<version>13</version>
<!--<scope>import</scope>-->
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.9</version>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.9</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-digester3</artifactId>
<version>3.2</version>
</dependency>
<!--<dependency>
<groupId>org.slf4j</groupId>
Expand Down Expand Up @@ -250,8 +260,6 @@
</pluginManagement>
</build>



<pluginRepositories>
<pluginRepository>
<id>repo.jenkins-ci.org</id>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/cocoemma/CoverageReport.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package hudson.plugins.cocoemma;

import hudson.model.AbstractBuild;
import org.apache.commons.digester.Digester;
import org.apache.commons.digester3.Digester;
import org.xml.sax.SAXException;

import java.io.File;
Expand Down

0 comments on commit 1342956

Please sign in to comment.