diff options
Diffstat (limited to 'org.eclipse.jgit.pgm/pom.xml')
-rw-r--r-- | org.eclipse.jgit.pgm/pom.xml | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/org.eclipse.jgit.pgm/pom.xml b/org.eclipse.jgit.pgm/pom.xml index cbbb02a424..b51019c181 100644 --- a/org.eclipse.jgit.pgm/pom.xml +++ b/org.eclipse.jgit.pgm/pom.xml @@ -93,11 +93,30 @@ <profile> <id>java6</id> <activation> - <activeByDefault>true</activeByDefault> + <jdk>1.6</jdk> + </activation> + <dependencies> + <dependency> + <groupId>org.eclipse.jgit</groupId> + <artifactId>org.eclipse.jgit.console</artifactId> + <version>${project.version}</version> + </dependency> + </dependencies> + </profile> + <profile> + <id>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> + <dependency> + <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit.console</artifactId> <version>${project.version}</version> </dependency> |