Allow kepler build with Java 7 compiler. Change-Id: I4d41f69d41dfe804b4140c8b5af2d29f085704c0 Signed-off-by: Greg Watson <g.watson@computer.org>
diff --git a/rdt/org.eclipse.ptp.rdt.core.remotejars/pom.xml b/rdt/org.eclipse.ptp.rdt.core.remotejars/pom.xml index 32003c8..8416881 100644 --- a/rdt/org.eclipse.ptp.rdt.core.remotejars/pom.xml +++ b/rdt/org.eclipse.ptp.rdt.core.remotejars/pom.xml
@@ -15,35 +15,6 @@ <version>7.0.5-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> - <profiles> - <profile> - <id>tools.jar</id> - <activation> - <property> - <name>java.vendor</name> - <value>Sun Microsystems Inc.</value> - </property> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <dependencies> - <dependency> - <groupId>com.sun</groupId> - <artifactId>tools</artifactId> - <version>1.5.0</version> - <scope>system</scope> - <systemPath>${java.home}/../lib/tools.jar</systemPath> - </dependency> - </dependencies> - </plugin> - </plugins> - </build> - </profile> - </profiles> - <build> <plugins> <plugin> @@ -63,6 +34,13 @@ <artifactId>ant-trax</artifactId> <version>1.6.5</version> </dependency> + <dependency> + <groupId>com.sun</groupId> + <artifactId>tools</artifactId> + <version>1.7.0</version> + <scope>system</scope> + <systemPath>${java.home}/../lib/tools.jar</systemPath> + </dependency> </dependencies> <executions> <execution>