Browse Source

Allow full compiles on Java 8.

Make jgit.java6 and jgit.java7 activation based on ranges so modules in
jgit.java6 are enabled for Java 1.6+ and modules in jgit.java7 are
enabled for Java 1.7+. This enables full compiles on Java 8 and also
removes the need to list org.eclipse.jgit.console in both profiles.

Change-Id: Iabfcff18737ff435ba8d5e8efc7a581abc9a46ce
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
stable-3.4
Alexander Kurtakov 11 years ago
parent
commit
20fc105021
  1. 5
      pom.xml

5
pom.xml

@ -503,7 +503,7 @@
<profile> <profile>
<id>jgit.java6</id> <id>jgit.java6</id>
<activation> <activation>
<jdk>1.6</jdk> <jdk>[1.6,)</jdk>
</activation> </activation>
<modules> <modules>
<module>org.eclipse.jgit.console</module> <module>org.eclipse.jgit.console</module>
@ -512,10 +512,9 @@
<profile> <profile>
<id>jgit.java7</id> <id>jgit.java7</id>
<activation> <activation>
<jdk>1.7</jdk> <jdk>[1.7,)</jdk>
</activation> </activation>
<modules> <modules>
<module>org.eclipse.jgit.console</module>
<module>org.eclipse.jgit.java7</module> <module>org.eclipse.jgit.java7</module>
<module>org.eclipse.jgit.java7.test</module> <module>org.eclipse.jgit.java7.test</module>
</modules> </modules>

Loading…
Cancel
Save