maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@codehaus.org>
Subject [jira] (MJAVADOC-263) No respect for JAVA_HOME or PATH in locating javadoc executable
Date Fri, 14 Sep 2012 23:13:21 GMT

     [ https://jira.codehaus.org/browse/MJAVADOC-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benson Margulies closed MJAVADOC-263.
-------------------------------------

    Resolution: Incomplete
      Assignee: Benson Margulies

The workaround is sufficient.
                
> No respect for JAVA_HOME or PATH in locating javadoc executable
> ---------------------------------------------------------------
>
>                 Key: MJAVADOC-263
>                 URL: https://jira.codehaus.org/browse/MJAVADOC-263
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.6
>            Reporter: Benson Margulies
>            Assignee: 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, 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

        

Mime
View raw message