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

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
Artifactory permissions
maven: which jaxb plugin to use? [duplicate]
Maven - delegate plugin execution to submodule

Categories

HOME
twitter
winforms
wso2
netbeans
path-finding
appx
cplex
q
yarn
tizen-web-app
dxl
gps
yum
autotools
webrequest
esper
add
tomcat6
spring-kafka
moonmail
msp430
foselasticabundle
jsdoc
normalizr
lldb
jtextfield
php-openssl
lcd
crosstab
vlsi
sparse-matrix
user-interaction
virtualdub
windows-error-reporting
msys2
gitignore
bpel
sql-server-2012-express
react-chartjs
bosh
yadcf
galsim
xquery-3.0
karaf
textmate
android-kernel
geopositioning
ghost4j
cloud-code
wpf-controls
appfabric
event-driven
sql-server-agent
smartcontracts
react-scripts
blogengine.net
colorama
snmptrapd
python-cryptography
flutterwave
dynamics-sl
mediaelement
setuptools
static-ip-address
radtreelist
phishing
fputcsv
blackberry-10
make-install
oauth2client
lemon
atk4
content-length
riak-cs
sailfish-os
npapi
gwidgets
android-nested-fragment
code-access-security
php-5.4
castle
jquery-layout
concurrent-collections
mbr
monomac
html5-notifications
geos
jmapviewer
kyotocabinet
chuck
bitsharp
labwindows
ocx
nsmanagedobject
netdna-api
external-accessory
vdsp
table-footer
cxxtest
google-friend-connect
xetex
procedural-music
scripting-languages
msdev

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App