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>tags/v3.4.0.201405051725-m7
@@ -503,7 +503,7 @@ | |||
<profile> | |||
<id>jgit.java6</id> | |||
<activation> | |||
<jdk>1.6</jdk> | |||
<jdk>[1.6,)</jdk> | |||
</activation> | |||
<modules> | |||
<module>org.eclipse.jgit.console</module> | |||
@@ -512,10 +512,9 @@ | |||
<profile> | |||
<id>jgit.java7</id> | |||
<activation> | |||
<jdk>1.7</jdk> | |||
<jdk>[1.7,)</jdk> | |||
</activation> | |||
<modules> | |||
<module>org.eclipse.jgit.console</module> | |||
<module>org.eclipse.jgit.java7</module> | |||
<module>org.eclipse.jgit.java7.test</module> | |||
</modules> |