encountered javadoc with maven packaging error problem, at first did not find javadoc, later found and see the configuration of javadoc in pom.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:jar (attach-javadocs) on project qcloud-java-sdk: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 – D:\qcloudapi-sdk-java\src\main\java\com\qcloud\Common\Request.java:24: Error: Unknown flag: brief
[ERROR] * @brief request call class
[ERROR] ^
[ERROR] D:\qcloudapi-sdk-java\src\main\java\com\qcloud\Common\Sign.java:24: error: unknown flag: brief
[ERROR] * @brief Signed
[ERROR] ^
[ERROR] D:\qcloudapi-sdk-java\src\main\java\com\qcloud\Common\Sign.java:26: Error: Unknown token: date
[ERROR] * @date 2017-03-15 18:00:00
[ERROR] ^
[ERROR] D:\qcloudapi-sdk-java\src\main\java\com\qcloud\Common\Sign.java:32: warning: @return not specified
[ERROR] * @return
[ERROR] ^
Use the command mvn install -Dmaven.javadoc.skip=true
Again, I found that the gpg.exe error was reported.
Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project qcloud-java-sdk: Unable to execute gpg command: Error while executing process. Cannot run program "gpg.exe": CreateProcess error=2, system could not find the specified file. -> [Help 1]
Last use
mvn install -Dmaven.javadoc.skip=true -Dgpg.skip
Done!
Similar Posts:
- PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilder
- Maven Package Error: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project Mybatis: There are test failures.
- How to Solve IDEA maven Error:Perhaps you are running on a JRE rather than a JDK
- [Solved] Could not transfer artifact XXX, transfer failed for XXX
- How to Solve compile error: package junit.framework does not exist
- [Solved] Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses.
- [How to Solve Maven Error] invalid LOC header (bad signature)
- Intellij Pack the jar file error: “java.lang.SecurityException: Invalid signature file digest for Manifest main attrib
- Maven Package Error: [INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
- [Solved] MVN – version error: Exception in thread “main” java.lang.UnsupportedClassVersionError