summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index e144f492d9..974b58f93a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -231,6 +231,21 @@
</snapshotRepository>
</distributionManagement>
+ <profiles>
+ <!-- Set -Djgit.java6.skip=true to compile with only Java 5 -->
+ <profile>
+ <id>java6</id>
+ <activation>
+ <property>
+ <name>!jgit.java6.skip</name>
+ </property>
+ </activation>
+ <modules>
+ <module>org.eclipse.jgit.console</module>
+ </modules>
+ </profile>
+ </profiles>
+
<modules>
<module>org.eclipse.jgit</module>
<module>org.eclipse.jgit.ui</module>