Jesse Glick commented on Bug JENKINS-18403
diff --git a/maven-plugin/src/main/java/hudson/maven/ProcessCache.java b/maven-plugin/src/main/java/hudson/maven/ProcessCache.java
index bad99b0..cdabd33 100644
--- a/maven-plugin/src/main/java/hudson/maven/ProcessCache.java
+++ b/maven-plugin/src/main/java/hudson/maven/ProcessCache.java
@@ -105,6 +105,8 @@ public final class ProcessCache {
             this.parent = parent;
             this.mavenOpts = mavenOpts;
             this.channel = np.channel;
+            short JDK5 = 5;
+            channel.setMaximumBytecodeLevel(JDK5);
             this.proc = np.proc;
             this.installation = installation;
             this.jdk = jdk;
diff --git a/pom.xml b/pom.xml
index 4c2ed2e..023fe37 100644
--- a/pom.xml
+++ b/pom.xml
@@ -175,7 +175,7 @@ THE SOFTWARE.
       <dependency>
         <groupId>org.jenkins-ci.main</groupId>
         <artifactId>remoting</artifactId>
-        <version>2.28</version>
+        <version>2.29-SNAPSHOT</version>
       </dependency>
 
       <dependency>

shows how to reproduce the problem without even having JDK 5.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to