File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change 5454 </dependencyManagement >
5555
5656 <dependencies >
57- <dependency >
58- <groupId >com.sun.java</groupId >
59- <artifactId >tools</artifactId >
60- </dependency >
6157 <dependency >
6258 <groupId >net.openhft</groupId >
6359 <artifactId >affinity</artifactId >
185181 </plugins >
186182 </build >
187183
184+ <profiles >
185+ <profile >
186+ <id >pre-java9</id >
187+ <dependencies >
188+ <dependency >
189+ <groupId >com.sun</groupId >
190+ <artifactId >tools</artifactId >
191+ <version >1.8.0</version >
192+ <scope >system</scope >
193+ <systemPath >${java.home} /../lib/tools.jar</systemPath >
194+ </dependency >
195+ </dependencies >
196+ <activation >
197+ <file >
198+ <exists >${java.home} /../lib/tools.jar</exists >
199+ </file >
200+ </activation >
201+ </profile >
202+ </profiles >
203+
188204 <scm >
189205 <url >scm:git:https://github.com/OpenHFT/Java-Thread-Affinity.git</url >
190206 <tag >HEAD</tag >
You can’t perform that action at this time.
0 commit comments