diff options
Diffstat (limited to 'sca-java-2.x')
-rw-r--r-- | sca-java-2.x/trunk/itest/distribution/implementation-java-calculator/pom.xml | 8 | ||||
-rw-r--r-- | sca-java-2.x/trunk/pom.xml | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/itest/distribution/implementation-java-calculator/pom.xml b/sca-java-2.x/trunk/itest/distribution/implementation-java-calculator/pom.xml index 54b0e8a453..497364c13e 100644 --- a/sca-java-2.x/trunk/itest/distribution/implementation-java-calculator/pom.xml +++ b/sca-java-2.x/trunk/itest/distribution/implementation-java-calculator/pom.xml @@ -55,6 +55,14 @@ <artifactId>ant-trax</artifactId> <version>1.6.5</version> </dependency> + <!-- this JDk dependency is a workaround for Maven bug - http://jira.codehaus.org/browse/MNG-1323 --> + <dependency> + <groupId>sun.jdk</groupId> + <artifactId>tools</artifactId> + <version>1.6</version> + <scope>system</scope> + <systemPath>${java.home}/../lib/tools.jar</systemPath> + </dependency> </dependencies> <executions> diff --git a/sca-java-2.x/trunk/pom.xml b/sca-java-2.x/trunk/pom.xml index 6e52cf5b77..355a4265c5 100644 --- a/sca-java-2.x/trunk/pom.xml +++ b/sca-java-2.x/trunk/pom.xml @@ -819,6 +819,15 @@ <artifactId>ant-trax</artifactId> <version>1.7.1</version> </dependency> + <!-- this JDk dependency is a workaround for Maven bug - http://jira.codehaus.org/browse/MNG-1323 --> + <dependency> + <groupId>sun.jdk</groupId> + <artifactId>tools</artifactId> + <version>1.6</version> + <scope>system</scope> + <systemPath>${java.home}/../lib/tools.jar</systemPath> + <optional>true</optional> + </dependency> </dependencies> </plugin> |