maven


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.

Related Links

How to maven release multiple profiles project when redeploys are disabled
maven error when running in cygwin?
batch updating manifest.mf for existing jars using maven
How to setup a local mirror of eclipse artifacts for mvn tycho plugin?
Intelli J IDEA takes forever to update indices
Configuring CXF codegen plugin
Maven Not downloading some JARs when adding repository for another dependencies
Can maven sortpom plugin affect a project's build result?
[error]Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
maven nested properties ${${}}
How do I add javadocs for restlet using Maven?
Create a native javafx app with Inno Setup and maven
License-Maven-Plugin equivalent in ant
What is the purpose of providing a downloaded pom.xml on mvnrepository.com
Install Jetty After Tomcat installed
Grails: how to use maven repo instead of ivy-cache

Categories

HOME
yii2
wso2-am
cloud
atom-editor
openmp
appx
raspberry-pi
graphql
rubygems
ebean
yum
fancybox
azure-storage-tables
portia
add
dacpac
communication
floating-action-button
mapserver
remote-access
ibm-odm
ups
jsprit
caml
propel
google-cloud-speech
textfield
autocad-plugin
sylius
bootstrap-tour
restful-authentication
rundeck
crosstab
p-value
windows-error-reporting
typo3-6.2.x
atlassian-crucible
kendo-datasource
frame
copying
phpfreechat
openoffice.org
mapbox-gl
scaffold
xcode-extension
x11-forwarding
angularjs-factory
elasticsearch-plugin
tasker
sql-server-agent
http-live-streaming
outlook-api
http-redirect
avconv
zip4j
pubmed
promela
veracode
carrot
sybase-asa
boost-preprocessor
cudafy.net
setuptools
bgp
revolution-r
natvis
jms2
teamcity-8.0
t4mvc
varargs
graph-drawing
kineticjs
nstableviewcell
camanjs
jscript.net
gui-test-framework
winddk
googlemock
openexr
fluentautomation
resty-gwt
fmod
uv-mapping
html-editor
ocunit
delphi-6
mhtml
gil
coderush
osql
table-footer
disclosure
lpeg
sortable-tables
meego
brewmp
uimenucontroller
sector
signal-handling
document-conversion

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App