No respect for JAVA_HOME or PATH in locating javadoc executable ---------------------------------------------------------------
Key: MJAVADOC-263 URL: http://jira.codehaus.org/browse/MJAVADOC-263 Project: Maven 2.x Javadoc Plugin Issue Type: Bug Affects Versions: 2.6 Reporter: Benson Margulies I have code that runs into a java 1.6 bug in javadoc, so I'm trying to be sure to use the 1.5 version of javadoc. In my .mavenrc, I set JAVA_HOME to point to 1.5. I set PATH to find a 1.5 version of javadoc. I set my PATH in my shell to find the 1.5 version of Javadoc. Still, somehow, the maven-javadoc-plugin finds and runs the 1.6.0 version. Command line was:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/javadoc @options @packages I cannot embed a shared pathname in the POM which won't work on other people's machines. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira