+1

minor comments


I made some testing and got such intermittent failures but definitely some
race conditions and I cannot reproduce with every build (maybe a known
issue?):

[ERROR] Failed to execute goal
org.asciidoctor:asciidoctor-maven-plugin:2.2.2:process-asciidoc
(operations-guide) on project jetty-documentation: Execution
operations-guide of goal
org.asciidoctor:asciidoctor-maven-plugin:2.2.2:process-asciidoc failed:
Unable to load the mojo 'process-asciidoc' (or one of its required
components) from the plugin
'org.asciidoctor:asciidoctor-maven-plugin:2.2.2':
com.google.inject.ProvisionException: Unable to provision, see the
following errors:
[ERROR]
[ERROR] 1) Error in custom provider, java.lang.IllegalStateException
[ERROR]   at
org.apache.maven.session.scope.internal.SessionScopeModule.configure(SessionScopeModule.java:64)
(via modules: org.eclipse.sisu.wire.WireModule ->
org.apache.maven.session.scope.internal.SessionScopeModule)
[ERROR]   while locating org.apache.maven.execution.MavenSession
[ERROR]     for field at
org.asciidoctor.maven.AsciidoctorMojo.session(Unknown Source)
[ERROR]   while locating org.asciidoctor.maven.AsciidoctorMojo
[ERROR]   at
ClassRealm[plugin>org.asciidoctor:asciidoctor-maven-plugin:2.2.2, parent:
org.mvndaemon.mvnd.common.MavenDaemon$1@3f2a3a5] (via modules:
org.eclipse.sisu.wire.WireModule ->
org.eclipse.sisu.plexus.PlexusBindingModule)
[ERROR]   while locating org.apache.maven.plugin.Mojo annotated with
@com.google.inject.name.Named(value="org.asciidoctor:asciidoctor-maven-plugin:2.2.2:process-asciidoc")
[ERROR]
[ERROR] 1 error
[ERROR]       role: org.apache.maven.plugin.Mojo
[ERROR]   roleHint:
org.asciidoctor:asciidoctor-maven-plugin:2.2.2:process-asciidoc
[ERROR] -> [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/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command


building from sources

I never succeeded to get this IT test passing


MojoStarted{artifactId='invoker-hello-maven-plugin',
pluginGroupId='org.apache.maven.plugins',
pluginArtifactId='maven-invoker-plugin', pluginVersion='3.2.1', mojo='run',
executionId='integration-test'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin', message='[*INFO*]
'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin',
message='[*INFO*] *---
*maven-invoker-plugin:3.2.1:run *(integration-test)* @
invoker-hello-maven-plugin* ---*'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin', message='[*INFO*]
Building: *invoke-hello/pom.xml*'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin', message='[*INFO*]
run post-build script verify.groovy'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin', message='[*INFO*]
The post-build script did not succeed. assert Files.exists(helloPath)

             |      |

             false
/Volumes/workspace/softs/mvndaemon/sources/maven-mvnd-0.8.0/integration-tests/target/mvnd-tests/InvokerTest/project/target/it/invoke-hello/target/hello.txt'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin', message='[*INFO*]
        invoke-hello/pom.xml ............................. *FAILED* (0.7
s)'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin', message='[*INFO*]
*-------------------------------------------------*'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin', message='[*INFO*]
Build Summary:'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin', message='[*INFO*]
Passed: 0, Failed: 1, Errors: 0, Skipped: 0'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin', message='[*INFO*]
*-------------------------------------------------*'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin', message='[*ERROR*]
The following builds failed:'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin', message='[*ERROR*]
*  invoke-hello/pom.xml'}

ProjectLogMessage{projectId='invoker-hello-maven-plugin', message='[*INFO*]
*-------------------------------------------------*'}

ProjectStopped{payload='invoker-hello-maven-plugin'}

ExecutionFailure{projectId='invoker-hello-maven-plugin', halted=true,
exception='org.apache.maven.lifecycle.LifecycleExecutionException: Failed
to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.2.1:run
*(integration-test)* on project invoker-hello-maven-plugin: *1 build
failed. See console output above for details.*'}






On Wed, 4 May 2022 at 22:39, Guillaume Nodet <gno...@apache.org> wrote:

> I've staged a candidate release at
>   https://dist.apache.org/repos/dist/dev/maven/mvnd/0.8.0/
>
> The changelog is available at
>
>
> https://github.com/apache/maven-mvnd/blob/master/CHANGELOG.md#080-2022-05-04
>
> I've fixed a bunch of issues regarding the native libraries and
> reproducible builds.
> This is the second attempt at releasing the first version of Mvnd since its
> move into the Maven project, so a thorough look would be welcomed !
>
> Fwiw, the release process is explained at https://github.com/apache/maven-
> mvnd/blob/master/RELEASING.adoc
> <https://github.com/apache/maven-mvnd/blob/master/RELEASING.adoc> (this
> is not complete, i'll focus on the
> next phases once the vote passes).
>
>
> Guillaume
>

Reply via email to