Hi all,
When running a maven goal from IDEA (11 or 12) that includes javadoc creation I am getting the following error.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:jar (attach-javadocs) on project locationmanager-service: MavenReportException: Error while creating archive: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set. -> [Help 1]
The same POM will execute without issue using the same JDK (jdk1.7.0_09) from the command line. I am on Mac OS X 10.8.2 and at first I thought it was something to do with setting JAVA_HOME via the environment.plist file. I verified this is set correctly to the same JDK.
I don't recall having this issue with JDK 1.6 but I'd need to verify. Any ideas what is going wrong in IDEA here?
--
Matthew