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 15:19:02 UTC

[48/50] incubator-ignite git commit: # ignite-648: add tools.jar profiles at aop

# ignite-648: add tools.jar profiles at aop


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

Branch: refs/heads/ignite-648-failover
Commit: 139016da868724a5f177d140d758cf96ded9f49f
Parents: 88e4b22
Author: ashutak <as...@gridgain.com>
Authored: Wed Jul 8 15:52:50 2015 +0300
Committer: ashutak <as...@gridgain.com>
Committed: Wed Jul 8 15:52:50 2015 +0300

----------------------------------------------------------------------
 modules/aop/pom.xml | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/139016da/modules/aop/pom.xml
----------------------------------------------------------------------
diff --git a/modules/aop/pom.xml b/modules/aop/pom.xml
index 704358f..0e023c1 100644
--- a/modules/aop/pom.xml
+++ b/modules/aop/pom.xml
@@ -93,6 +93,48 @@
         </dependency>
     </dependencies>
 
+    <profiles>
+        <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>
         <testResources>
             <testResource>