Skip to content

Commit

Permalink
Bump to parent pom 3.40 and a few fixes for Java 11 readiness
Browse files Browse the repository at this point in the history
This fix enables the plugin to build correctly both on Java 8,
and on Java 8 && Jenkins 2.164, and on Java 11 && Jenkins 2.164
  • Loading branch information
batmat authored and nfalco79 committed Mar 20, 2019
1 parent c1cef2f commit e6b58f6
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions pom.xml
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>3.23</version>
<version>3.40</version>
</parent>

<artifactId>nodejs</artifactId>
Expand Down Expand Up @@ -42,7 +42,6 @@
</licenses>

<properties>
<powermock.version>2.0.0</powermock.version>
<jenkins.version>2.60.3</jenkins.version>
<java.level>8</java.level>
</properties>
Expand All @@ -61,15 +60,20 @@
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>${powermock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito2</artifactId>
<version>${powermock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.9.7</version> <!-- need to force this https://github.com/mockito/mockito/issues/1606#issuecomment-473371126 -->
<scope>test</scope>
</dependency>

</dependencies>

<repositories>
Expand Down Expand Up @@ -138,13 +142,4 @@
</build>
</profile>
</profiles>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.objenesis</groupId>
<artifactId>objenesis</artifactId>
<version>3.0.1</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>
</project>

0 comments on commit e6b58f6

Please sign in to comment.