See 
https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-javadoc-plugin/job/MJAVADOC-618/10/

Changes:

* Add moduleDescriptor and moduleNameSource to JavadocModule
* Adjust file separator and adjust verify script

All tests passed

Build log:
[...truncated 14229 lines...]
[INFO] test2 .............................................. SUCCESS [  1.757 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.687 s
[INFO] Finished at: 2021-08-29T03:44:25-07:00
[INFO] ------------------------------------------------------------------------
Running post-build script: 
f:\jenkins\jenkins-slave\82467a7c\workspace\aven-javadoc-plugin_MJAVADOC-618@2\windows-jdk17-m3.6.x_build\target\it\MJAVADOC-137_jar\verify.bsh
Sourced file: inline evaluation of: ``  /*   * Licensed to the Apache Software 
Foundation (ASF) under one   * or more  . . . '' unknown error: Unable to make 
public boolean java.util.zip.ZipFile$ZipEntryIterator.hasMoreElements() 
accessible: module java.base does not "opens java.util.zip" to unnamed module 
@7a21df39 : at Line: 27 : in file: inline evaluation of: ``  /*   * Licensed to 
the Apache Software Foundation (ASF) under one   * or more  . . . '' : try { 

        at bsh.Interpreter.eval(Interpreter.java:706)
        at bsh.Interpreter.eval(Interpreter.java:750)
        at bsh.Interpreter.eval(Interpreter.java:739)
        at 
org.apache.maven.shared.scriptinterpreter.BeanShellScriptInterpreter.evaluateScript(BeanShellScriptInterpreter.java:110)
        at 
org.apache.maven.shared.scriptinterpreter.ScriptRunner.executeRun(ScriptRunner.java:236)
        at 
org.apache.maven.shared.scriptinterpreter.ScriptRunner.run(ScriptRunner.java:161)
        at 
org.apache.maven.plugins.invoker.AbstractInvokerMojo.runPostBuildHook(AbstractInvokerMojo.java:2221)
        at 
org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuild(AbstractInvokerMojo.java:2196)
        at 
org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuild(AbstractInvokerMojo.java:1734)
        at 
org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuilds(AbstractInvokerMojo.java:1438)
        at 
org.apache.maven.plugins.invoker.AbstractInvokerMojo.execute(AbstractInvokerMojo.java:829)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make public 
boolean java.util.zip.ZipFile$ZipEntryIterator.hasMoreElements() accessible: 
module java.base does not "opens java.util.zip" to unnamed module @7a21df39
        at 
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
        at 
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
        at 
java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
        at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
        at 
bsh.reflect.ReflectManagerImpl.setAccessible(ReflectManagerImpl.java:53)
        at bsh.ReflectManager.RMSetAccessible(ReflectManager.java:72)
        at bsh.Reflect.resolveJavaMethod(Reflect.java:454)
        at bsh.Reflect.resolveExpectedJavaMethod(Reflect.java:382)
        at bsh.Reflect.invokeObjectMethod(Reflect.java:74)
        at bsh.Name.invokeMethod(Name.java:852)
        at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:69)
        at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:96)
        at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:41)
        at bsh.BSHIfStatement.evaluateCondition(BSHIfStatement.java:57)
        at bsh.BSHWhileStatement.eval(BSHWhileStatement.java:64)
        at bsh.BSHBlock.evalBlock(BSHBlock.java:125)
        at bsh.BSHBlock.eval(BSHBlock.java:75)
        at bsh.BSHBlock.eval(BSHBlock.java:41)
        at bsh.BSHTryStatement.eval(BSHTryStatement.java:80)
        at bsh.Interpreter.eval(Interpreter.java:659)
        ... 32 more
*** end build.log for: MJAVADOC-137_jar\pom.xml ***

[ERROR] -------------------------------------------------
[ERROR] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  15:58 min
[INFO] Finished at: 2021-08-29T03:55:36-07:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\82467a7c\workspace\aven-javadoc-plugin_MJAVADOC-618@2@tmp\withMaveneba9571a\maven-spy-20210829-033937-82204028912810885849.log
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-invoker-plugin:3.2.2:verify (integration-test) 
on project maven-javadoc-plugin: 1 build failed. See console output above for 
details. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-invoker-plugin:3.2.2:verify (integration-test) 
on project maven-javadoc-plugin: 1 build failed. See console output above for 
details.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
    at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoFailureException: 1 build failed. See 
console output above for details.
    at org.apache.maven.plugins.invoker.InvokerSession.handleFailures 
(InvokerSession.java:280)
    at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:153)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
    at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:347)
[ERROR] 
[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/MojoFailureException
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[INFO]           MJAVADOC-634-module-testreports\pom.xml .......... SUCCESS 
(13.9 s)
[INFO] Building: MJAVADOC-636-aggregate_module_skipped\pom.xml
[Fast Archiver] No prior successful build to compare, so performing full copy 
of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-javadoc-plugin:maven-plugin:3.3.1-SNAPSHOT 
generated by maven-surefire-plugin:test (default-test): 
windows-jdk17-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] Jenkins Task Scanner Plugin not found, don't display results of 
source code scanning for 'TODO' and 'FIXME' in pipeline screen.
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-javadoc-plugin:maven-plugin:3.3.1-SNAPSHOT(version:
 3.3.1-SNAPSHOT, snapshot:false) } generated by 
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.2@integration-test
  integration-test}: windows-jdk17-m3.6.x_build\target\invoker-reports\*.xml
ERROR: [withMaven] invokerPublisher - Silently ignore exception archiving 
Invoker runs for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-javadoc-plugin:maven-plugin:3.3.1-SNAPSHOT(version:
 3.3.1-SNAPSHOT, snapshot:false) } generated by 
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.2@integration-test
  integration-test}: java.io.IOException: Unknown attribute 'buildlog' for tag 
'build-job' (position: START_TAG seen 
...@2\windows-jdk17-m3.6.x_build\target\it\MJAVADOC-110\build.log" />... 
@2:262) 
[withMaven] Publishers: Generated Artifacts Publisher: 1926 ms, Junit 
Publisher: 7978 ms, Open Task Scanner Publisher: 11 ms, Invoker Publisher: 1367 
ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[INFO] run post-build script verify.groovy
[INFO]           MJAVADOC-636-aggregate_module_skipped\pom.xml .... SUCCESS 
(14.1 s)
[INFO] Building: MJAVADOC-639_aggr_static_modulepath\pom.xml
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk17-m3.6.x_build
[INFO]           MJAVADOC-639_aggr_static_modulepath\pom.xml ...... SUCCESS 
(5.7 s)
[INFO] Building: MJAVADOC-639_requires_ignored\pom.xml
[INFO] artifact org.apache.maven.plugins:maven-source-plugin: checking for 
updates from central
[INFO] run post-build script verify.groovy
[INFO]           MJAVADOC-639_requires_ignored\pom.xml ............ SUCCESS 
(19.0 s)
[INFO] Building: MJAVADOC-661_mrjar\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MJAVADOC-661_mrjar\pom.xml ....................... SUCCESS 
(6.3 s)
[INFO] Building: MJAVADOC-672_multiline-tag\pom.xml
[INFO]           MJAVADOC-672_multiline-tag\pom.xml ............... SUCCESS 
(4.9 s)
[INFO] Building: MJAVADOC-677_require-static-transitive\pom.xml
[INFO]           MJAVADOC-677_require-static-transitive\pom.xml ... SUCCESS 
(9.6 s)
[INFO] Building: MJAVADOC-679_encoding\pom.xml
[INFO] run pre-build script setup.groovy
[INFO]           MJAVADOC-679_encoding\pom.xml .................... SUCCESS 
(5.5 s)
[INFO] Building: site-failOnError\pom.xml
[INFO]           site-failOnError\pom.xml ......................... SUCCESS 
(5.6 s)
[INFO] 
[INFO] --- mrm-maven-plugin:1.2.0:stop (repository) @ maven-javadoc-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:58823
[INFO] Stopped SocketConnector@0.0.0.0:58823
[INFO] Mock Repository Manager http://localhost:58823 is stopped.
[INFO] 
[INFO] --- mrm-maven-plugin:1.2.0:stop (3rdparty) @ maven-javadoc-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:58824
[INFO] Stopped SocketConnector@0.0.0.0:58824
[INFO] Mock Repository Manager http://localhost:58824 is stopped.
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-javadoc-plugin ---
[INFO] There are 4 errors reported by Checkstyle 6.18 with 
config/maven_checks.xml ruleset.
[INFO] Ignored 4 errors, 0 violation remaining.
[INFO] 
[INFO] --- maven-invoker-plugin:3.2.2:verify (integration-test) @ 
maven-javadoc-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 78, Failed: 0, Errors: 0, Skipped: 7
[INFO] -------------------------------------------------
[ERROR] The following builds was skipped:
[ERROR] *  examples\alternate-doclet\pom.xml
[ERROR] *  examples\exclude-package-names\pom.xml
[ERROR] *  MJAVADOC-257\pom.xml
[ERROR] *  MJAVADOC-568_export-to-testcase\pom.xml
[ERROR] *  MJAVADOC-568_jar-mixed\pom.xml
[ERROR] *  MJAVADOC-568_manifest-splitpackage\pom.xml
[ERROR] *  MJAVADOC-610_mrjar\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  19:16 min
[INFO] Finished at: 2021-08-29T10:56:48Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-home\82467a7c\workspace\aven-javadoc-plugin_MJAVADOC-618@2@tmp\withMavenfa3ec6c0\maven-spy-20210829-103723-871540580021175993473.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.6.x_build\pom.xml under 
org\apache\maven\plugins\maven-javadoc-plugin\3.3.1-SNAPSHOT\maven-javadoc-plugin-3.3.1-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-m3.6.x_build\target\maven-javadoc-plugin-3.3.1-SNAPSHOT.jar under 
org\apache\maven\plugins\maven-javadoc-plugin\3.3.1-SNAPSHOT\maven-javadoc-plugin-3.3.1-SNAPSHOT.jar
[Fast Archiver] No prior successful build to compare, so performing full copy 
of artifacts
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-javadoc-plugin:maven-plugin:3.3.1-SNAPSHOT 
generated by maven-surefire-plugin:test (default-test): 
windows-jdk11-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] Jenkins Task Scanner Plugin not found, don't display results of 
source code scanning for 'TODO' and 'FIXME' in pipeline screen.
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-javadoc-plugin:maven-plugin:3.3.1-SNAPSHOT(version:
 3.3.1-SNAPSHOT, snapshot:false) } generated by 
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.2@integration-test
  integration-test}: windows-jdk11-m3.6.x_build\target\invoker-reports\*.xml
ERROR: [withMaven] invokerPublisher - Silently ignore exception archiving 
Invoker runs for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-javadoc-plugin:maven-plugin:3.3.1-SNAPSHOT(version:
 3.3.1-SNAPSHOT, snapshot:false) } generated by 
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.2@integration-test
  integration-test}: java.io.IOException: Unknown attribute 'buildlog' for tag 
'build-job' (position: START_TAG seen 
...@2\windows-jdk11-m3.6.x_build\target\it\MJAVADOC-110\build.log" />... 
@2:260) 
[withMaven] Publishers: Generated Artifacts Publisher: 333 ms, Junit Publisher: 
762 ms, Open Task Scanner Publisher: 1 ms, Invoker Publisher: 813 ms, Pipeline 
Graph Publisher: 7 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] echo
The authors of changes [rfscholte].
[Pipeline] echo
Sending email ...
[Pipeline] emailext

Reply via email to