summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml')
-rw-r--r--org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml
index 703d7d5c58..94914b0ccb 100644
--- a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml
+++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml
@@ -58,6 +58,23 @@
<name>JGit P2 Repository</name>
+ <profiles>
+ <profile>
+ <id>jgit.java7</id>
+ <activation>
+ <jdk>1.7</jdk>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.jgit</groupId>
+ <artifactId>org.eclipse.jgit.java7</artifactId>
+ <version>${project.version}</version>
+ <optional>true</optional>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
+
<dependencies>
<dependency>
<groupId>org.eclipse.jgit</groupId>