This is an automated email from the ASF dual-hosted git repository.

anovikov pushed a commit to branch release/ignite-spring-session-ext-2.0.0
in repository https://gitbox.apache.org/repos/asf/ignite-extensions.git


The following commit(s) were added to 
refs/heads/release/ignite-spring-session-ext-2.0.0 by this push:
     new 6264479c IGNITE-22317 Set path to tools.jar
6264479c is described below

commit 6264479c53794ac4e6ca1b0c9a50d7b0a16b19f0
Author: Andrey Novikov <[email protected]>
AuthorDate: Tue May 28 14:58:15 2024 +0700

    IGNITE-22317 Set path to tools.jar
---
 parent-internal/pom.xml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/parent-internal/pom.xml b/parent-internal/pom.xml
index 226a476a..bd5b5e24 100644
--- a/parent-internal/pom.xml
+++ b/parent-internal/pom.xml
@@ -289,5 +289,56 @@
                 </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>
+                    <scope>system</scope>
+                    <version>${java.version}</version>
+                    <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>
+                    <scope>system</scope>
+                    <version>${java.version}</version>
+                    
<systemPath>${java.home}/../Classes/classes.jar</systemPath>
+                </dependency>
+            </dependencies>
+        </profile>
+        <profile>
+            <id>tools.jar-j9</id>
+            <activation>
+                <file>
+                    <exists>${java.home}/lib/tools.jar</exists>
+                </file>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>com.sun</groupId>
+                    <artifactId>tools</artifactId>
+                    <scope>system</scope>
+                    <version>${java.version}</version>
+                    <systemPath>${java.home}/lib/tools.jar</systemPath>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>

Reply via email to