Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to execute "mvn site" #218

Open
dzc34 opened this issue Aug 19, 2019 · 0 comments
Open

Failed to execute "mvn site" #218

dzc34 opened this issue Aug 19, 2019 · 0 comments

Comments

@dzc34
Copy link
Member

dzc34 commented Aug 19, 2019

Bug report

Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on project contrast-finder: Error generating maven-javadoc-plugin:3.1.0:aggregate report: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set.

To Reproduce

cd ~
mv .m2 .m2_backup
git clone ...
cd Contrast-Finder

mvn site

# or
 mvn -Preporting site 

but, it's works with the folloling command lines:

 mvn site -Dmaven.javadoc.skip=true

# or
 mvn -Preporting site -Dmaven.javadoc.skip=true

Possible Solution

?

Your Environment

mvn --version
	Apache Maven 3.6.0
	Maven home: /usr/share/maven
	Java version: 11.0.4, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64

java -version
	openjdk version "11.0.4" 2019-07-16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant