You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/06/29 16:13:42 UTC

incubator-ignite git commit: # ignite-648: smart kill all (fix maven dependencies)

Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-648 7c27a36d9 -> a755e9851


# ignite-648: smart kill all (fix maven dependencies)


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/a755e985
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/a755e985
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/a755e985

Branch: refs/heads/ignite-648
Commit: a755e98518b6b57303e70546f59a3391da882bed
Parents: 7c27a36
Author: ashutak <as...@gridgain.com>
Authored: Mon Jun 29 17:14:26 2015 +0300
Committer: ashutak <as...@gridgain.com>
Committed: Mon Jun 29 17:14:26 2015 +0300

----------------------------------------------------------------------
 modules/core/pom.xml | 36 ++++++++++++++++++++++--------------
 1 file changed, 22 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a755e985/modules/core/pom.xml
----------------------------------------------------------------------
diff --git a/modules/core/pom.xml b/modules/core/pom.xml
index b23d874..c9bb8e1 100644
--- a/modules/core/pom.xml
+++ b/modules/core/pom.xml
@@ -164,14 +164,6 @@
             <version>2.4</version>
             <scope>test</scope>
         </dependency>
-
-        <dependency>
-            <groupId>com.sun</groupId>
-            <artifactId>tools</artifactId>
-            <version>1.4.2</version>
-            <scope>system</scope>
-            <systemPath>${toolsjar}</systemPath>
-        </dependency>
     </dependencies>
 
     <build>
@@ -440,26 +432,42 @@
 
         <profile>
             <id>tools.jar-default</id>
+
             <activation>
                 <file>
                     <exists>${java.home}/../lib/tools.jar</exists>
                 </file>
             </activation>
-            <properties>
-                <toolsjar>${java.home}/../lib/tools.jar</toolsjar>
-            </properties>
+
+            <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>
-            <properties>
-                <toolsjar>${java.home}/../Classes/classes.jar</toolsjar>
-            </properties>
+
+            <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>