Herve Boutemy created MEAR-297:
----------------------------------
Summary: failure when building javadoc:
maven-plugin-tools-javadoc:jar:3.6.0 is missing
Key: MEAR-297
URL: https://issues.apache.org/jira/browse/MEAR-297
Project: Maven EAR Plugin
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Herve Boutemy
found during "mvn release:perform":
{noformat}
11:47 $ mvn release:perform
[INFO] Scanning for projects...
[INFO]
[INFO] -------------< org.apache.maven.plugins:maven-ear-plugin >--------------
[INFO] Building Apache Maven EAR Plugin 3.2.1-SNAPSHOT
[INFO] ----------------------------[ maven-plugin ]----------------------------
[INFO]
[INFO] --- maven-release-plugin:3.0.0-M1:perform (default-cli) @
maven-ear-plugin ---
[INFO] phase verify-release-configuration
[INFO] starting perform goal, composed of 3 phases:
verify-completed-prepare-phases, checkout-project-from-scm, run-perform-goals
[INFO] [perform] 1/3 verify-completed-prepare-phases
[INFO] [perform] 2/3 checkout-project-from-scm
[INFO] Checking out the project to perform the release ...
...
[INFO] [perform] 3/3 run-perform-goals
[INFO] Invoking perform goals in directory /tmp/maven-ear-plugin/target/checkout
[INFO] Executing goals 'deploy'...
[INFO] pomFileName is already set, ignoring the -f argument
[WARNING] Maven will be executed in interactive mode, but no input stream has
been configured for this MavenInvoker instance.
[INFO] [INFO] Scanning for projects...
[INFO] [INFO]
[INFO] [INFO] -------------< org.apache.maven.plugins:maven-ear-plugin
>--------------
[INFO] [INFO] Building Apache Maven EAR Plugin 3.2.0
[INFO] [INFO] ----------------------------[ maven-plugin
]----------------------------
[INFO] [INFO]
[INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce
(enforce-maven-version) @ maven-ear-plugin ---
[INFO] [INFO]
...
[INFO] [INFO] --- maven-javadoc-plugin:3.2.0:jar (attach-javadocs) @
maven-ear-plugin ---
[INFO] [WARNING] Error fetching link: http://www.xmlunit.org/apidocs. Ignored
it.
[INFO] [WARNING] Error fetching link: http://junit.org/apidocs. Ignored it.
[INFO] [WARNING] The POM for
org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.6.0 is missing,
no dependency information available
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Total time: 11.187 s
[INFO] [INFO] Finished at: 2020-12-30T11:49:28+01:00
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on
project maven-ear-plugin: MavenReportException: Error while generating Javadoc:
Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
[INFO] [ERROR] artifactId = 'maven-plugin-tools-javadoc'
[INFO] [ERROR] version = '3.6.0': Failure to find
org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.6.0 in
http://localhost:8081/nexus/content/groups/public was cached in the local
repository, resolution will not be reattempted until the update interval of
central has elapsed or updates are forced
[INFO] [ERROR] -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions,
please read the following articles:
[INFO] [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)