How do you fix the missing 'javadoc' command issue when calling maven from IntelliJ?
I keep getting this when calling maven install from IntelliJ: Error while creating archive: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set. I can run maven-install just fine from the terminal inside of my working directory, but does anyone know how to get this to actually work in IntelliJ?
With IDEA 12 and older on Mac you may need to define JAVA_HOME environment variable per this answer. IDEA 13 should read the Terminal environment automatically, but not from .bash_profile.
Adding javadocExecutable property worked for me.
Run Makefile + Ant Buildfile inside Maven pom.xml
play framework in heroku with maven
Trying to compile mahout but getting error - Cannot execute mojo: resources. Build is not using pom.xml
Configure maven-shade-plugin to include src/main/webapp
Set maven to use archiva repositories WITHOUT using activeByDefault?
Verbatim Text in Doxia APT Table
schema or reference for maven-metadata.xml in maven 3 (specifically for <latest/>, <release/>)?
maven - How to build uberjars with dependencies
encrypt maven passwords within eclipse using m2e
Maven - Reading a property from an external properties file
Want to build multimodule pom which builds 2 ear from same project in maven
maven deploy does not work the way it is supposed to. Or am i wrong?
Maven: Making Jars With Dependencies: Example From Book Doesn't Work
maven: which jaxb plugin to use? [duplicate]
Maven - delegate plugin execution to submodule