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/07/08 14:30:28 UTC

incubator-ignite git commit: # ignite-648: return tools.jar dependency at core

Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-648 024eeaa28 -> 88e4b22ce


# ignite-648: return tools.jar dependency at core


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

Branch: refs/heads/ignite-648
Commit: 88e4b22ce35457a32f523e16d9966755acec5dc4
Parents: 024eeaa
Author: ashutak <as...@gridgain.com>
Authored: Wed Jul 8 15:30:20 2015 +0300
Committer: ashutak <as...@gridgain.com>
Committed: Wed Jul 8 15:30:20 2015 +0300

----------------------------------------------------------------------
 modules/core/pom.xml | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/88e4b22c/modules/core/pom.xml
----------------------------------------------------------------------
diff --git a/modules/core/pom.xml b/modules/core/pom.xml
index 5ac49ae..b500d45 100644
--- a/modules/core/pom.xml
+++ b/modules/core/pom.xml
@@ -429,5 +429,45 @@
                 </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>