[
https://issues.apache.org/jira/browse/MPLUGIN-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MPLUGIN-202.
----------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period
of time. If you think this issue still applies, retest your problem with the
most recent version of Maven and the affected component, reopen and post your
results.
> Dependency on tools.jar should be expressed with profiles
> ---------------------------------------------------------
>
> Key: MPLUGIN-202
> URL: https://issues.apache.org/jira/browse/MPLUGIN-202
> Project: Maven Plugin Tools
> Issue Type: Bug
> Components: maven-plugin-tools-javadoc
> Affects Versions: 2.9
> Reporter: Chris Lott
> Priority: Minor
>
> The POM for org.apache.maven.plugin-tools, org.apache.maven.plugin-tools,
> Version 2.9 asserts a dependency on the JDK's tools.jar like this:
> {code:xml}<dependency>
> <groupId>com.sun</groupId>
> <artifactId>tools</artifactId>
> <version>1.4.2</version>
> <scope>system</scope>
> <systemPath>${java.home}/../lib/tools.jar</systemPath>
> </dependency>{code}
> This caused build path failures on my windows system that m2eclipse simply
> was not able to resolve, despite my use of the JDK, finally had to give up.
> I also note that on a Mac it will never work. Compare with the approach
> taken by artifact log4j, group log4j, version 1.2.16 for a tools.jar
> dependency:
> {code:xml}<dependency>
> <groupId>sun.jdk</groupId>
> <artifactId>tools</artifactId>
> <version>1.4.2</version>
> <scope>system</scope>
> <systemPath>${tools.jar}</systemPath>
> </dependency>{code}
> This "tools.jar" variable is defined in terms of machine profiles.
> Thanks for listening.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)