running 'mvn site' would already show the problem.

One of the things you should do is mention the reports you want to generate, now all available jxr-reports are generated, that's probably more than you want.

not sure what the difference is with the integration test[1] which shows the aggregate report should work.

thanks,
Robert

[1] https://github.com/apache/maven-jxr/tree/master/maven-jxr-plugin/src/it/aggregate


On Thu, 14 Feb 2019 07:25:20 +0100, Anthony Whitford <[email protected]> wrote:

I have an open source project: https://github.com/awhitford/lombok.maven <https://github.com/awhitford/lombok.maven> Lately (and this started happening months ago), I am unable to do a clean: mvn release:prepare, then mvn release:perform
The mvn release:perform fails like this:

[INFO] [INFO] configuring report plugin org.apache.maven.plugins:maven-jxr-plugin:3.0.0 [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/projectlombok/lombok-maven-plugin/1.18.6.0/lombok-maven-plugin-1.18.6.0.jar [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Reactor Summary for Maven Plugin for Project Lombok 1.18.6.0:
[INFO] [INFO]
[INFO] [INFO] Maven Plugin for Project Lombok .................... FAILURE [ 47.240 s] [INFO] [INFO] Lombok Maven Plugin ................................ SKIPPED [INFO] [INFO] Sample Lombok Maven Project ........................ SKIPPED [INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time:  47.412 s
[INFO] [INFO] Finished at: 2019-02-13T22:17:02-08:00
[INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on project lombok-maven: failed to get report for org.apache.maven.plugins:maven-jxr-plugin: Plugin org.projectlombok:lombok-maven-plugin:1.18.6.0 or one of its dependencies could not be resolved: Could not find artifact org.projectlombok:lombok-maven-plugin:jar:1.18.6.0 in central (https://repo.maven.apache.org/maven2) -> [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 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Maven Plugin for Project Lombok 1.18.6.1-SNAPSHOT:
[INFO]
[INFO] Maven Plugin for Project Lombok .................... FAILURE [ 54.864 s]
[INFO] Lombok Maven Plugin ................................ SKIPPED
[INFO] Sample Lombok Maven Project ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  55.474 s
[INFO] Finished at: 2019-02-13T22:17:02-08:00
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) on project lombok-maven: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

In other words, it appears that the JXR plugin is complaining that it cannot download the Lombok-maven-plugin-1.18.6.0.jar from Central. Well, duh! — I’m in the middle of its release…

How are others getting around this problem?  What am I doing wrong?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to