Skip to content

fix(java): central-publishing-maven-plugin 0.12.0 so Maven 3.10 staging metadata stays out of the bundle - #451

Merged
dmealing merged 3 commits into
mainfrom
fm/mo-maven-plugin-0-12
Oct 23, 2026
Merged

dmealing merged 3 commits into
mainfrom
fm/mo-maven-plugin-0-12

Conversation

@dmealing

@dmealing dmealing commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

What Changed

  • Bump central-publishing-maven-plugin from 0.11.0 to 0.12.0 in server/java/pom.xml (release profile), so the staged bundle no longer carries maven-metadata-local.xml written by Maven 3.10.x on the runner. Without it Central rejects the bundle with Bundle has content that does NOT have a .pom file.
  • Add a note to docs/RELEASING.md (under the Central publish troubleshooting notes) describing the failure: the ubuntu-latest (24.04) image ships Maven 3.10.0 from 2026-10-12, the 0.11.0 plugin left the metadata file in the bundle, 0.12.0 fixes it, and what to inspect if the signature returns (bundle contents and mvn -v on the runner).
Validation

Risk Assessment

✅ Low: The change bumps central-publishing-maven-plugin from 0.11.0 to 0.12.0. That plugin is declared at one site only, in the release profile of server/java/pom.xml, so no other module pom pins the old version. The change also adds an accurate troubleshooting note to RELEASING.md. Together these match the stated intent: land on main the fix that published 8.1.0.

Testing

Exercised the one-line plugin bump. Plugin 0.12.0 resolves from Central and the Java reactor validates with it (live, pass). Attempted to reproduce the reported bundle leak with a disposable project and a simulated Maven 3.10 metadata file; the file was absent from the bundle under both 0.11.0 and 0.12.0, so the reproduction failed and the fix is not demonstrated. A real Central publish needs credentials and an outward action, so it was not run. The full repository regression suite was not run. Only the TS baseline and the Java validate step ran. Overall: inconclusive.

  • Live validation: ⚠️ inconclusive - 2 of 5 scenarios driven live against the product
Scenario Result Live Evidence
Plugin 0.12.0 is fetched from Central and its goals run ✅ pass live mvn org.sonatype.central:central-publishing-maven-plugin:0.12.0:help (BUILD SUCCESS)
Java reactor (server/java/pom.xml) validates with plugin 0.12.0 wired in the release profile ✅ pass live java-reactor-validate.log (BUILD SUCCESS)
Bundle built with plugin 0.12.0 excludes maven-metadata-local.xml when Maven 3.10 writes it into staging ⏸️ untested no Maven 3.10.0 is not installed (local mvn is 3.9.9); a 3.10.0 build would need downloading into the workspace, and the simulated staging did not reproduce the leak under 0.11.0, so the 0.12.0 fix canno…
Full publish to Central succeeds for java-v8.1.0 equivalent ⏸️ untested no Requires Central publishing credentials and an outward publish; not performed without approval.
Adversarial: a pom reverting to 0.11.0 is caught by the reproduction ⏸️ untested no Depends on the bundle reproduction above, which did not reproduce the leak.
Evidence: 0.11.0 bundle publish log (simulated staging, local upload refused)
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules
[INFO] Installing Central Publishing features
[INFO] 
[INFO] ------------------------< io.example.demo:demo >------------------------
[INFO] Building demo 1.0.0
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ demo ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /tmp/bundle-repro/src/main/resources
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ demo ---
[INFO] Nothing to compile - all classes are up to date.
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ demo ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /tmp/bundle-repro/src/test/resources
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ demo ---
[INFO] No sources to compile
[INFO] 
[INFO] --- surefire:3.2.5:test (default-test) @ demo ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- jar:3.4.1:jar (default-jar) @ demo ---
[INFO] 
[INFO] --- central-publishing:0.11.0:publish (default-cli) @ demo ---
[INFO] Using Central baseUrl: http://127.0.0.1:9
[INFO] Using credentials from server id central in settings.xml
[INFO] Staging 1 files
[INFO] Staging /tmp/bundle-repro/target/demo-1.0.0.jar
[INFO] Installing /tmp/bundle-repro/target/demo-1.0.0.jar to /tmp/bundle-repro/target/central-staging/io/example/demo/demo/1.0.0/demo-1.0.0.jar
[INFO] Installing /tmp/bundle-repro/pom.xml to /tmp/bundle-repro/target/central-staging/io/example/demo/demo/1.0.0/demo-1.0.0.pom
[INFO] Pre Bundling - deleted /tmp/bundle-repro/target/central-staging/io/example/demo/demo/maven-metadata-central-staging.xml
[INFO] Generate checksums for dir: io/example/demo/demo/1.0.0
[INFO] Going to create /tmp/bundle-repro/target/central-publishing/central-bundle.zip by bundling content at /tmp/bundle-repro/target/central-staging
[INFO] Created bundle successfully /tmp/bundle-repro/target/central-staging/central-bundle.zip
[INFO] Going to upload /tmp/bundle-repro/target/central-publishing/central-bundle.zip
[ERROR] Unable to upload bundle for deployment: Deployment
java.lang.RuntimeException: Invalid request. Connect to http://127.0.0.1:9 [/127.0.0.1] failed: Connection refused
    at org.sonatype.central.publisher.client.httpclient.UploadPublisherEndpoint.call (UploadPublisherEndpoint.java:36)
    at org.sonatype.central.publisher.client.PublisherClientImpl.upload (PublisherClientImpl.java:77)
    at org.sonatype.central.publisher.plugin.uploader.ArtifactUploaderImpl.upload (ArtifactUploaderImpl.java:41)
    at org.sonatype.central.publisher.plugin.PublishMojo.postProcessRelease (PublishMojo.java:456)
    at org.sonatype.central.publisher.plugin.PublishMojo.doExecute (PublishMojo.java:326)
    at org.sonatype.central.publisher.plugin.AbstractPublisherMojo.execute (AbstractPublisherMojo.java:96)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.800 s
[INFO] Finished at: 2026-10-23T04:03:34-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.central:central-publishing-maven-plugin:0.11.0:publish (default-cli) on project demo: Execution default-cli of goal org.sonatype.central:central-publishing-maven-plugin:0.11.0:publish failed: Deployment Deployment failed while publishing -> [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/PluginExecutionException
Evidence: 0.12.0 bundle publish log (simulated staging, local upload refused)
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules
[INFO] Installing Central Publishing features
[INFO] 
[INFO] ------------------------< io.example.demo:demo >------------------------
[INFO] Building demo 1.0.0
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ demo ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /tmp/bundle-repro/src/main/resources
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ demo ---
[INFO] Nothing to compile - all classes are up to date.
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ demo ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /tmp/bundle-repro/src/test/resources
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ demo ---
[INFO] No sources to compile
[INFO] 
[INFO] --- surefire:3.2.5:test (default-test) @ demo ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- jar:3.4.1:jar (default-jar) @ demo ---
[INFO] 
[INFO] --- central-publishing:0.12.0:publish (default-cli) @ demo ---
[INFO] Using Central baseUrl: http://127.0.0.1:9
[INFO] Using credentials from server id central in settings.xml
[INFO] Staging 1 files
[INFO] Staging /tmp/bundle-repro/target/demo-1.0.0.jar
[INFO] Installing /tmp/bundle-repro/target/demo-1.0.0.jar to /tmp/bundle-repro/target/central-staging/io/example/demo/demo/1.0.0/demo-1.0.0.jar
[INFO] Installing /tmp/bundle-repro/pom.xml to /tmp/bundle-repro/target/central-staging/io/example/demo/demo/1.0.0/demo-1.0.0.pom
[INFO] Pre Bundling - deleted /tmp/bundle-repro/target/central-staging/io/example/demo/demo/maven-metadata-central-staging.xml
[INFO] Generate checksums for dir: io/example/demo/demo/1.0.0
[INFO] Going to create /tmp/bundle-repro/target/central-publishing/central-bundle.zip by bundling content at /tmp/bundle-repro/target/central-staging
[INFO] Created bundle successfully /tmp/bundle-repro/target/central-staging/central-bundle.zip
[INFO] Going to upload /tmp/bundle-repro/target/central-publishing/central-bundle.zip
[ERROR] Unable to upload bundle for deployment: Deployment
java.lang.RuntimeException: Invalid request. Connect to http://127.0.0.1:9 [/127.0.0.1] failed: Connection refused
    at org.sonatype.central.publisher.client.httpclient.UploadPublisherEndpoint.call (UploadPublisherEndpoint.java:47)
    at org.sonatype.central.publisher.client.PublisherClientImpl.upload (PublisherClientImpl.java:88)
    at org.sonatype.central.publisher.plugin.uploader.ArtifactUploaderImpl.upload (ArtifactUploaderImpl.java:52)
    at org.sonatype.central.publisher.plugin.PublishMojo.postProcessRelease (PublishMojo.java:500)
    at org.sonatype.central.publisher.plugin.PublishMojo.doExecute (PublishMojo.java:353)
    at org.sonatype.central.publisher.plugin.AbstractPublisherMojo.execute (AbstractPublisherMojo.java:107)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.844 s
[INFO] Finished at: 2026-10-23T04:03:36-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.central:central-publishing-maven-plugin:0.12.0:publish (default-cli) on project demo: Execution default-cli of goal org.sonatype.central:central-publishing-maven-plugin:0.12.0:publish failed: Deployment Deployment failed while publishing -> [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/PluginExecutionException
Evidence: Java reactor validate with plugin 0.12.0
[INFO] Scanning for projects...
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-packaging/3.2.1/archetype-packaging-3.2.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-packaging/3.2.1/archetype-packaging-3.2.1.pom (1.4 kB at 10 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/maven-archetype/3.2.1/maven-archetype-3.2.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/maven-archetype/3.2.1/maven-archetype-3.2.1.pom (13 kB at 474 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-packaging/3.2.1/archetype-packaging-3.2.1.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-packaging/3.2.1/archetype-packaging-3.2.1.jar (7.3 kB at 365 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] MetaObjects Core                                                   [pom]
[INFO] MetaObjects :: MetaData                                            [jar]
[INFO] MetaObjects :: Render                                              [jar]
[INFO] MetaObjects :: ObjectManager                                       [jar]
[INFO] MetaObjects :: Code Generation :: Base                             [jar]
[INFO] MetaObjects :: Code Generation :: Mustache                         [jar]
[INFO] MetaObjects :: Code Generation :: PlantUML                         [jar]
[INFO] MetaObjects :: ObjectManager :: RDB                                [jar]
[INFO] MetaObjects :: Codegen :: Spring                                   [jar]
[INFO] MetaObjects :: Metadata Kotlin Facade                              [jar]
[INFO] MetaObjects :: Codegen :: Kotlin                                   [jar]
[INFO] MetaObjects :: Maven Plugin                               [maven-plugin]
[INFO] MetaObjects :: Core :: Spring Integration                          [jar]
[INFO] MetaObjects :: Spring Boot Starter                                 [jar]
[INFO] MetaObjects :: OMDB Kotlin Facade                                  [jar]
[INFO] 
[INFO] --------------------< com.metaobjects:metaobjects >---------------------
[INFO] Building MetaObjects Core 8.1.0                                   [1/15]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/jacoco/jacoco-maven-plugin/0.8.13/jacoco-maven-plugin-0.8.13.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/jacoco/jacoco-maven-plugin/0.8.13/jacoco-maven-plugin-0.8.13.pom (4.2 kB at 223 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/jacoco/org.jacoco.build/0.8.13/org.jacoco.build-0.8.13.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/jacoco/org.jacoco.build/0.8.13/org.jacoco.build-0.8.13.pom (46 kB at 1.9 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-bom/9.8/asm-bom-9.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-bom/9.8/asm-bom-9.8.pom (3.3 kB at 163 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/jacoco/jacoco-maven-plugin/0.8.13/jacoco-maven-plugin-0.8.13.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/jacoco/jacoco-maven-plugin/0.8.13/jacoco-maven-plugin-0.8.13.jar (57 kB at 2.2 MB/s)
[INFO] 
[INFO] ----------------< com.metaobjects:metaobjects-metadata >----------------
[INFO] Building MetaObjects :: MetaData 8.1.0                            [2/15]
[INFO]   from metadata/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.4.2/maven-jar-plugin-3.4.2.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.4.2/maven-jar-plugin-3.4.2.pom (7.7 kB at 307 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.4.2/maven-jar-plugin-3.4.2.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.4.2/maven-jar-plugin-3.4.2.jar (34 kB at 1.5 MB/s)
[INFO] 
[INFO] -----------------< com.metaobjects:metaobjects-render >-----------------
[INFO] Building MetaObjects :: Render 8.1.0                              [3/15]
[INFO]   from render/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] -------------------< com.metaobjects:metaobjects-om >-------------------
[INFO] Building MetaObjects :: ObjectManager 8.1.0                       [4/15]
[INFO]   from om/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --------------< com.metaobjects:metaobjects-codegen-base >--------------
[INFO] Building MetaObjects :: Code Generation :: Base 8.1.0             [5/15]
[INFO]   from codegen-base/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] ------------< com.metaobjects:metaobjects-codegen-mustache >------------
[INFO] Building MetaObjects :: Code Generation :: Mustache 8.1.0         [6/15]
[INFO]   from codegen-mustache/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] ------------< com.metaobjects:metaobjects-codegen-plantuml >------------
[INFO] Building MetaObjects :: Code Generation :: PlantUML 8.1.0         [7/15]
[INFO]   from codegen-plantuml/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] ------------------< com.metaobjects:metaobjects-omdb >------------------
[INFO] Building MetaObjects :: ObjectManager :: RDB 8.1.0                [8/15]
[INFO]   from omdb/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] -------------< com.metaobjects:metaobjects-codegen-spring >-------------
[INFO] Building MetaObjects :: Codegen :: Spring 8.1.0                   [9/15]
[INFO]   from codegen-spring/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --------------< com.metaobjects:metaobjects-metadata-ktx >--------------
[INFO] Building MetaObjects :: Metadata Kotlin Facade 8.1.0             [10/15]
[INFO]   from metadata-ktx/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] -------------< com.metaobjects:metaobjects-codegen-kotlin >-------------
[INFO] Building MetaObjects :: Codegen :: Kotlin 8.1.0                  [11/15]
[INFO]   from codegen-kotlin/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --------------< com.metaobjects:metaobjects-maven-plugin >--------------
[INFO] Building MetaObjects :: Maven Plugin 8.1.0                       [12/15]
[INFO]   from maven-plugin/pom.xml
[INFO] ----------------------------[ maven-plugin ]----------------------------
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-plugin/3.15.1/maven-plugin-plugin-3.15.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-plugin/3.15.1/maven-plugin-plugin-3.15.1.pom (12 kB at 582 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/3.15.1/maven-plugin-tools-3.15.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/3.15.1/maven-plugin-tools-3.15.1.pom (18 kB at 928 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/43/maven-parent-43.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/43/maven-parent-43.pom (50 kB at 2.2 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache/33/apache-33.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/apache/33/apache-33.pom (24 kB at 1.0 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.11.3/junit-bom-5.11.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.11.3/junit-bom-5.11.3.pom (5.6 kB at 314 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-plugin/3.15.1/maven-plugin-plugin-3.15.1.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-plugin/3.15.1/maven-plugin-plugin-3.15.1.jar (42 kB at 776 kB/s)
[INFO] 
[INFO] --------------< com.metaobjects:metaobjects-core-spring >---------------
[INFO] Building MetaObjects :: Core :: Spring Integration 8.1.0         [13/15]
[INFO]   from core-spring/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] ----------< com.metaobjects:metaobjects-spring-boot-starter >-----------
[INFO] Building MetaObjects :: Spring Boot Starter 8.1.0                [14/15]
[INFO]   from spring-boot-starter/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] ----------------< com.metaobjects:metaobjects-omdb-ktx >----------------
[INFO] Building MetaObjects :: OMDB Kotlin Facade 8.1.0                 [15/15]
[INFO]   from omdb-ktx/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for MetaObjects Core 8.1.0:
[INFO] 
[INFO] MetaObjects Core ................................... SUCCESS [  0.106 s]
[INFO] MetaObjects :: MetaData ............................ SUCCESS [  0.057 s]
[INFO] MetaObjects :: Render .............................. SUCCESS [  0.000 s]
[INFO] MetaObjects :: ObjectManager ....................... SUCCESS [  0.000 s]
[INFO] MetaObjects :: Code Generation :: Base ............. SUCCESS [  0.001 s]
[INFO] MetaObjects :: Code Generation :: Mustache ......... SUCCESS [  0.000 s]
[INFO] MetaObjects :: Code Generation :: PlantUML ......... SUCCESS [  0.000 s]
[INFO] MetaObjects :: ObjectManager :: RDB ................ SUCCESS [  0.000 s]
[INFO] MetaObjects :: Codegen :: Spring ................... SUCCESS [  0.000 s]
[INFO] MetaObjects :: Metadata Kotlin Facade .............. SUCCESS [  0.000 s]
[INFO] MetaObjects :: Codegen :: Kotlin ................... SUCCESS [  0.001 s]
[INFO] MetaObjects :: Maven Plugin ........................ SUCCESS [  0.171 s]
[INFO] MetaObjects :: Core :: Spring Integration .......... SUCCESS [  0.000 s]
[INFO] MetaObjects :: Spring Boot Starter ................. SUCCESS [  0.000 s]
[INFO] MetaObjects :: OMDB Kotlin Facade .................. SUCCESS [  0.000 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.698 s
[INFO] Finished at: 2026-10-23T04:03:43-04:00
[INFO] ------------------------------------------------------------------------
  • Outcome: ⚠️ 2 warnings across 1 run (14m48s)

Pipeline

Updates from git push no-mistakes

✅ **Intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

⚠️ **Test** - 2 warnings
  • ⚠️ server/java/pom.xml:468 - Could not show the bundle fix works. The intent says Maven 3.10 writes maven-metadata-local.xml into the install target and plugin 0.11.0 leaves it in the bundle. My simulation put that file into the staging dir under both 0.11.0 and 0.12.0 and neither bundle contained it, so the simulation does not reproduce the reported leak. Without a reproduction, 0.12.0 is not shown to fix it. The 8.1.0 publish from fm/java-8-1-0-publish is the only real evidence the bump works. Decide whether that is enough or whether a Maven 3.10.0 bundle repro is required before the next java tag.
  • ⚠️ live validation verdict: inconclusive (2 of 5 scenarios were driven live against the product); untested: Bundle built with plugin 0.12.0 excludes maven-metadata-local.xml when Maven 3.10 writes it into staging, Full publish to Central succeeds for java-v8.1.0 equivalent, Adversarial: a pom reverting to 0.11.0 is caught by the reproduction
  • Live validation: ⚠️ inconclusive - 2 of 5 scenarios driven live against the product
Scenario Result Live Evidence
Plugin 0.12.0 is fetched from Central and its goals run ✅ pass live mvn org.sonatype.central:central-publishing-maven-plugin:0.12.0:help (BUILD SUCCESS)
Java reactor (server/java/pom.xml) validates with plugin 0.12.0 wired in the release profile ✅ pass live java-reactor-validate.log (BUILD SUCCESS)
Bundle built with plugin 0.12.0 excludes maven-metadata-local.xml when Maven 3.10 writes it into staging ⏸️ untested no Maven 3.10.0 is not installed (local mvn is 3.9.9); a 3.10.0 build would need downloading into the workspace, and the simulated staging did not reproduce the leak under 0.11.0, so the 0.12.0 fix canno…
Full publish to Central succeeds for java-v8.1.0 equivalent ⏸️ untested no Requires Central publishing credentials and an outward publish; not performed without approval.
Adversarial: a pom reverting to 0.11.0 is caught by the reproduction ⏸️ untested no Depends on the bundle reproduction above, which did not reproduce the leak.
  • scripts/ci-local.sh --only ts-fast --only ts-unit --strict-toolchains
  • git diff 492decb88..32c423e36 (pom and docs review)
  • mvn -B -Dmaven.repo.local=/tmp/m2-validate/repo org.sonatype.central:central-publishing-maven-plugin:0.12.0:help (live: plugin resolved from Central and goal ran, BUILD SUCCESS)
  • mvn -B -f server/java/pom.xml -DskipTests validate (live: reactor with plugin 0.12.0 validates, log in evidence dir)
  • Disposable project /tmp/bundle-repro: mvn deploy/package then central-publishing:publish with centralBaseUrl=http://127.0.0.1:9 under plugin 0.11.0 and 0.12.0; bundle built, upload refused locally, no Central contact. Simulated maven-metadata-local.xml excluded from bundle under both versions (not reproduced)
  • Baseline: scripts/ci-local.sh --only ts-fast --only ts-unit --strict-toolchains (ran before this phase)
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

Real-system evidence

On the same runner image (Maven 3.10.0), java-v8.1.0 with plugin 0.11.0 was rejected by Central twice. The same commit plus only this plugin bump published 8.1.0 successfully. The test step's local simulation could not reproduce the leak (verdict inconclusive, approved by the supervisor on that evidence); the 8.1.0 publish is the confirmation.

@dmealing
dmealing merged commit 1e644cd into main Oct 23, 2026
1 check passed
@dmealing
dmealing deleted the fm/mo-maven-plugin-0-12 branch October 23, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant