[ https://jira.codehaus.org/browse/MPLUGIN-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy updated MPLUGIN-202: ---------------------------------- Fix Version/s: (was: 3.0) > Dependency on tools.jar should be expressed with profiles > --------------------------------------------------------- > > Key: MPLUGIN-202 > URL: https://jira.codehaus.org/browse/MPLUGIN-202 > Project: Maven 2.x 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira