# ignite-648: move tools.jar dependency
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/024eeaa2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/024eeaa2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/024eeaa2 Branch: refs/heads/ignite-648-failover Commit: 024eeaa2806db609da00e3af61369de535c3a322 Parents: 18d1b8e Author: ashutak <ashu...@gridgain.com> Authored: Wed Jul 8 15:26:04 2015 +0300 Committer: ashutak <ashu...@gridgain.com> Committed: Wed Jul 8 15:26:04 2015 +0300 ---------------------------------------------------------------------- modules/core/pom.xml | 40 ---------------------------------------- pom.xml | 41 ++++++++++++++++++++++++++++++++++++++++- 2 files changed, 40 insertions(+), 41 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/024eeaa2/modules/core/pom.xml ---------------------------------------------------------------------- diff --git a/modules/core/pom.xml b/modules/core/pom.xml index b500d45..5ac49ae 100644 --- a/modules/core/pom.xml +++ b/modules/core/pom.xml @@ -429,45 +429,5 @@ </plugins> </build> </profile> - - <profile> - <id>tools.jar-default</id> - - <activation> - <file> - <exists>${java.home}/../lib/tools.jar</exists> - </file> - </activation> - - <dependencies> - <dependency> - <groupId>com.sun</groupId> - <artifactId>tools</artifactId> - <version>1.4.2</version> - <scope>system</scope> - <systemPath>${java.home}/../lib/tools.jar</systemPath> - </dependency> - </dependencies> - </profile> - - <profile> - <id>tools.jar-mac</id> - - <activation> - <file> - <exists>${java.home}/../Classes/classes.jar</exists> - </file> - </activation> - - <dependencies> - <dependency> - <groupId>com.sun</groupId> - <artifactId>tools</artifactId> - <version>1.4.2</version> - <scope>system</scope> - <systemPath>${java.home}/../Classes/classes.jar</systemPath> - </dependency> - </dependencies> - </profile> </profiles> </project> http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/024eeaa2/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index b47d34b..5849d96 100644 --- a/pom.xml +++ b/pom.xml @@ -678,7 +678,6 @@ </build> </profile> - <profile> <id>schema-import</id> <activation> @@ -734,6 +733,46 @@ </plugins> </build> </profile> + + <profile> + <id>tools.jar-default</id> + + <activation> + <file> + <exists>${java.home}/../lib/tools.jar</exists> + </file> + </activation> + + <dependencies> + <dependency> + <groupId>com.sun</groupId> + <artifactId>tools</artifactId> + <version>1.4.2</version> + <scope>system</scope> + <systemPath>${java.home}/../lib/tools.jar</systemPath> + </dependency> + </dependencies> + </profile> + + <profile> + <id>tools.jar-mac</id> + + <activation> + <file> + <exists>${java.home}/../Classes/classes.jar</exists> + </file> + </activation> + + <dependencies> + <dependency> + <groupId>com.sun</groupId> + <artifactId>tools</artifactId> + <version>1.4.2</version> + <scope>system</scope> + <systemPath>${java.home}/../Classes/classes.jar</systemPath> + </dependency> + </dependencies> + </profile> </profiles> <build>