Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to release jellydoc-maven-plugin via CD #3657

Closed
NotMyFault opened this issue Jul 10, 2023 · 4 comments
Closed

Unable to release jellydoc-maven-plugin via CD #3657

NotMyFault opened this issue Jul 10, 2023 · 4 comments
Assignees

Comments

@NotMyFault
Copy link
Member

Service(s)

Incrementals

Summary

Hey,

I've been trying to release https://github.com/jenkinsci/jellydoc-maven-plugin via CD. Components of the plugin have already been released in https://repo.jenkins-ci.org/artifactory/releases/io/jenkins/tools/maven/ successfully (jellydoc, jellydoc-annotations, taglib-xml-writer), but jellydoc-maven-plugin is missing and the job fails:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project jellydoc: Failed to deploy artifacts: Could not transfer artifact io.jenkins.tools.maven:jellydoc:pom:999999-20230710.181400-1 from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): transfer failed for https://repo.jenkins-ci.org/releases/io/jenkins/tools/maven/jellydoc/999999-SNAPSHOT/jellydoc-999999-20230710.181400-1.pom, status: 409 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project jellydoc: Failed to deploy artifacts: Could not transfer artifact io.jenkins.tools.maven:jellydoc:pom:999999-20230710.181400-1 from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): transfer failed for https://repo.jenkins-ci.org/releases/io/jenkins/tools/maven/jellydoc/999999-SNAPSHOT/jellydoc-999999-20230710.181400-1.pom, status: 409
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    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:299)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:[106](https://github.com/jenkinsci/jellydoc-maven-plugin/actions/runs/5511487553/jobs/10047106940#step:4:108))
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:963)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:296)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    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.MojoExecutionException: Failed to deploy artifacts: Could not transfer artifact io.jenkins.tools.maven:jellydoc:pom:999999-20230710.181400-1 from/to maven.jenkins-ci.org (https://repo.jenkins-ci.org/releases/): transfer failed for https://repo.jenkins-ci.org/releases/io/jenkins/tools/maven/jellydoc/999999-SNAPSHOT/jellydoc-999999-20230710.181400-1.pom, status: 409

ref https://github.com/jenkinsci/jellydoc-maven-plugin/actions/runs/5511487553/jobs/10047106940

I tried a couple of path configurations within the RPU, such as jenkins-infra/repository-permissions-updater@0a491cf, but none of them worked out, and I'm lost 😢

Am I facing an actual issue within the incrementals publisher?

Reproduction steps

No response

@NotMyFault NotMyFault added the triage Incoming issues that need review label Jul 10, 2023
@basil
Copy link
Collaborator

basil commented Jul 10, 2023

I think this is because of the recent upgrade of incrementals tooling in that repository from 1.6 to 1.7. Version 1.7 requires Java 11 or later, but jellydoc-maven-plugin doesn't support Java 11 at all yet. 😱

@basil
Copy link
Collaborator

basil commented Jul 10, 2023

Fixed in jenkinsci/jellydoc-maven-plugin#57. Released in 129.vf7c31dffdf17.

@NotMyFault
Copy link
Member Author

Thanks for taking a look! We were actually blocked by Java 11 😔

@dduportal dduportal removed the triage Incoming issues that need review label Jul 11, 2023
@dduportal dduportal added this to the infra-team-sync-2023-07-11 milestone Jul 11, 2023
@basil
Copy link
Collaborator

basil commented Jul 11, 2023

Long-term solution in jenkinsci/jellydoc-maven-plugin#60.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants