Skip to content
Permalink
Browse files

Merge pull request #11 from oleg-nenashev/pom-update

[JENKINS-37565] Allow specifying custom java.level
  • Loading branch information
oleg-nenashev committed Aug 28, 2016
2 parents 9a115ce + 1ea975d commit 8334beddd7464851b4a3c18cec8f525430fbf418
Showing with 11 additions and 3 deletions.
  1. +11 −3 pom.xml
14 pom.xml
@@ -583,14 +583,16 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.${java.level}</source>
<target>1.${java.level}</target>
<testSource>1.${java.level.test}</testSource>
<testTarget>1.${java.level.test}</testTarget>
</configuration>
</plugin>
<plugin>
<artifactId>maven-idea-plugin</artifactId>
<configuration>
<jdkName>JDK1.6</jdkName>
<jdkName>JDK1.${java.level}</jdkName>
</configuration>
</plugin>
<plugin>
@@ -612,6 +614,12 @@
<!-- By default only check remote repositories once per week -->
<maven.repository.update.freqency>interval:10080</maven.repository.update.freqency>

<!-- Starting from Jenkins 1.625.x Jenkins supports Java 7 only, hence we may want to bump the dependency in components -->
<java.level>6</java.level>
<!-- Change this property if you need your tests to be compiled with a different Java level than the plugin. -->
<!-- Use only if strictly necessary. It may cause problems in your IDE. -->
<java.level.test>${java.level}</java.level.test>

<!-- Define all plugin versions as properties so individual hierarchies can easily override -->
<apt-maven-plugin.version>1.0-alpha-4</apt-maven-plugin.version>
<axistools-maven-plugin.version>1.4</axistools-maven-plugin.version>

0 comments on commit 8334bed

Please sign in to comment.
You can’t perform that action at this time.