You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bukama (via GitHub)" <gi...@apache.org> on 2026/01/10 06:16:26 UTC
[I] Resolver IT fails on 4.0.04-rc-5 [maven-ejb-plugin]
Bukama opened a new issue, #202:
URL: https://github.com/apache/maven-ejb-plugin/issues/202
### Affected version
3.3.1-SNAPSHOT (current master)
### Bug description
Resolver IT fails von Maven 4.0.0-rc-5
```
D:\Github\Maven\maven-ejb-plugin>mvn verify site -P run-its -V
Apache Maven 4.0.0-rc-5 (fb3ecaef88106acb40467a450248dfdbd75f3b35)
Maven home: C:\apache-maven-4.0.0-rc-5
Java version: 25, vendor: Eclipse Adoptium, runtime: C:\JDK\Java25
Default locale: de_DE, platform encoding: UTF-8
OS name: "windows 11", version: "10.0", arch: "amd64", family: "winnt"
[INFO] Building: reactor\pom.xml
[INFO] run post-build script verify.bsh
[INFO] java.lang.Exception: Missing D:\Github\Maven\maven-ejb-plugin\target\it\reactor\sub\target\sub-1.0.jar
[INFO] reactor\pom.xml .................................. FAILED (1.766 s)
[INFO]
[INFO] --- dependency:3.9.0:analyze-only (analyze) @ maven-ejb-plugin ---
[WARNING] Unused declared dependencies found:
[WARNING] org.apache.maven:maven-settings:jar:3.9.12:provided
[WARNING] org.apache.maven.shared:maven-shared-utils:jar:3.4.2:compile
[WARNING] org.junit.vintage:junit-vintage-engine:jar:5.14.1:test
[INFO]
[INFO] --- invoker:3.9.1:verify (integration-test) @ maven-ejb-plugin ---
[ERROR] -------------------------------------------------
[ERROR]
*** begin build.log for: reactor\pom.xml ***
Apache Maven 4.0.0-rc-5 (fb3ecaef88106acb40467a450248dfdbd75f3b35)
Maven home: C:\apache-maven-4.0.0-rc-5
Java version: 25, vendor: Eclipse Adoptium, runtime: C:\JDK\Java25
Default locale: de_DE, platform encoding: UTF-8
OS name: "windows 11", version: "10.0", arch: "amd64", family: "winnt"
Terminal: DumbTerminal (type=dumb, provider=dumb)
[DEBUG] Created adapter factory; available factories [file-lock, rwlock-local, semaphore-local, noop]; available name mappers [discriminating, file-gav, file-hgav, file-static, gav, static]
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: jakarta.annotation.* < plexus.core
[DEBUG] Imported: jakarta.inject.* < plexus.core
[DEBUG] Imported: javax.annotation.* < plexus.core
[DEBUG] Imported: javax.annotation.security.* < plexus.core
[DEBUG] Imported: javax.inject.* < plexus.core
[DEBUG] Imported: org.apache.maven.* < plexus.core
[DEBUG] Imported: org.apache.maven.api < plexus.core
[DEBUG] Imported: org.apache.maven.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.classrealm < plexus.core
[DEBUG] Imported: org.apache.maven.cli < plexus.core
[DEBUG] Imported: org.apache.maven.configuration < plexus.core
[DEBUG] Imported: org.apache.maven.exception < plexus.core
[DEBUG] Imported: org.apache.maven.execution < plexus.core
[DEBUG] Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG] Imported: org.apache.maven.feature < plexus.core
[DEBUG] Imported: org.apache.maven.graph < plexus.core
[DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG] Imported: org.apache.maven.model < plexus.core
[DEBUG] Imported: org.apache.maven.monitor < plexus.core
[DEBUG] Imported: org.apache.maven.plugin < plexus.core
[DEBUG] Imported: org.apache.maven.profiles < plexus.core
[DEBUG] Imported: org.apache.maven.project < plexus.core
[DEBUG] Imported: org.apache.maven.reporting < plexus.core
[DEBUG] Imported: org.apache.maven.repository < plexus.core
[DEBUG] Imported: org.apache.maven.rtinfo.* < plexus.core
[DEBUG] Imported: org.apache.maven.settings < plexus.core
[DEBUG] Imported: org.apache.maven.toolchain < plexus.core
[DEBUG] Imported: org.apache.maven.usability < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG] Imported: org.codehaus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.* < plexus.core
[DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Imported: org.codehaus.plexus.components.interactivity < plexus.core
[DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG] Imported: org.codehaus.plexus.container < plexus.core
[DEBUG] Imported: org.codehaus.plexus.context < plexus.core
[DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3DomBuilder < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG] Imported: org.eclipse.aether.* < plexus.core
[DEBUG] Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG] Imported: org.eclipse.aether.collection < plexus.core
[DEBUG] Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG] Imported: org.eclipse.aether.graph < plexus.core
[DEBUG] Imported: org.eclipse.aether.impl < plexus.core
[DEBUG] Imported: org.eclipse.aether.installation < plexus.core
[DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG] Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG] Imported: org.eclipse.aether.repository < plexus.core
[DEBUG] Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG] Imported: org.eclipse.aether.spi < plexus.core
[DEBUG] Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG] Imported: org.eclipse.aether.transform < plexus.core
[DEBUG] Imported: org.eclipse.aether.util < plexus.core
[DEBUG] Imported: org.eclipse.aether.version < plexus.core
[DEBUG] Imported: org.fusesource.jansi.Ansi < plexus.core
[DEBUG] Imported: org.slf4j.* < plexus.core
[DEBUG] Imported: org.slf4j.event.* < plexus.core
[DEBUG] Imported: org.slf4j.helpers.* < plexus.core
[DEBUG] Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] Created new class realm maven.api.v4
[DEBUG] Importing foreign packages into class realm maven.api.v4
[DEBUG] Imported: org.apache.maven.api < plexus.core
[DEBUG] Imported: org.slf4j < plexus.core
[DEBUG] Populating class realm maven.api.v4
[INFO] Error stacktraces are turned on.
[DEBUG] Message scheme: plain
[DEBUG] Reading installation settings from 'C:\apache-maven-4.0.0-rc-5\conf\settings.xml'
[DEBUG] Reading project settings from 'D:\Github\Maven\maven-ejb-plugin\target\it\reactor\.mvn\settings.xml'
[DEBUG] Reading user settings from 'D:\Github\Maven\maven-ejb-plugin\target\it\interpolated-settings.xml'
[DEBUG] Reading installation toolchains from 'C:\apache-maven-4.0.0-rc-5\conf\toolchains.xml'
[DEBUG] Reading user toolchains from 'C:\Users\matth\.m2\toolchains.xml'
[DEBUG] Using local repository at D:\Github\Maven\maven-ejb-plugin\target\local-repo
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for D:\Github\Maven\maven-ejb-plugin\target\local-repo
[INFO] Scanning for projects...
[DEBUG] [1][general] PhasingExecutor created.
[DEBUG] Reading file model from D:\Github\Maven\maven-ejb-plugin\target\it\reactor\pom.xml
[DEBUG] [1][task] Task submitted. Active tasks: 1
[DEBUG] [1][close] Closing PhasingExecutor. Active tasks: 1
[DEBUG] [1][close] Waiting for 1 active tasks to complete.
[DEBUG] [1][task] Task executing. Active tasks: 1
[DEBUG] Reading file model from D:\Github\Maven\maven-ejb-plugin\target\it\reactor\sub\pom.xml
[DEBUG] [1][task] Task completed. Active tasks: 0
[DEBUG] [1][task] Last task completed. Initiating executor shutdown.
[DEBUG] [1][close] All tasks completed. Shutting down executor.
[DEBUG] [1][close] PhasingExecutor closed. Total completed tasks: 1
[DEBUG] [2][general] PhasingExecutor created.
[DEBUG] [2][task] Task submitted. Active tasks: 1
[DEBUG] [2][task] Task submitted. Active tasks: 2
[DEBUG] [2][close] Closing PhasingExecutor. Active tasks: 2
[DEBUG] [2][close] Waiting for 2 active tasks to complete.
[DEBUG] [2][task] Task executing. Active tasks: 2
[DEBUG] [2][task] Task executing. Active tasks: 2
[DEBUG] [2][task] Task completed. Active tasks: 1
[DEBUG] [2][close] Waiting for 1 active tasks to complete.
[DEBUG] Merging repositories from org.apache.maven.its.ejb.reactor:aggregator:pom:1.0
local.central (file:///C:/Users/matth/.m2/repository, default, releases+snapshots)
central (https://repo.maven.apache.org/maven2, default, releases)
[DEBUG] Creating adapter using nameMapper 'file-gav' and factory 'file-lock'
[DEBUG] Group rules file for remote repository local.central-892d0599d53108b9114eccf11b36badada9bb2f4 (file:///C:/Users/matth/.m2/repository, default, releases+snapshots) not available
[DEBUG] /.meta/prefixes.txt was not found in file:///C:/Users/matth/.m2/repository during a previous attempt. This failure was cached in the local repository and resolution is not be reattempted until the update interval of local.central-892d0599d53108b9114eccf11b36badada9bb2f4 has elapsed or updates are forced
[DEBUG] Prefix file for remote repository local.central (file:///C:/Users/matth/.m2/repository, default, releases+snapshots) not available
[DEBUG] Group rules file for remote repository local.central (file:///C:/Users/matth/.m2/repository, default, releases+snapshots) not available
[DEBUG] Group rules file for remote repository central (https://repo.maven.apache.org/maven2, default, releases) not available
[DEBUG] Skipped remote request for /.meta/prefixes.txt, locally cached metadata up-to-date
[DEBUG] Loaded prefixes for remote repository central from auto-discovered file 'D:\Github\Maven\maven-ejb-plugin\target\local-repo\.meta\prefixes-central.txt'
[INFO] Loaded 21888 auto-discovered prefixes for remote repository central (prefixes-central.txt)
[DEBUG] Reading file model from org.apache.maven.its.ejb:maven-ejb-it-setup:1.0
[DEBUG] [2][close] Waiting for 1 active tasks to complete.
[DEBUG] Extension realms for project org.apache.maven.its.ejb.reactor:aggregator:pom:1.0: (none)
[DEBUG] [2][task] Task completed. Active tasks: 0
[DEBUG] [2][task] Last task completed. Initiating executor shutdown.
[DEBUG] [2][close] All tasks completed. Shutting down executor.
[DEBUG] [2][close] PhasingExecutor closed. Total completed tasks: 2
[DEBUG] Replacing repositories from org.apache.maven.its.ejb:maven-ejb-it-setup:pom:1.0
local.central (file:///C:/Users/matth/.m2/repository, default, releases+snapshots)
central (https://repo.maven.apache.org/maven2, default, releases)
[ERROR] Some problems were encountered while processing the POMs
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs
at org.apache.maven.project.DefaultProjectBuilder$BuildSession.build(DefaultProjectBuilder.java:511)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:194)
at org.apache.maven.project.collector.DefaultProjectsSelector.selectProjects(DefaultProjectsSelector.java:61)
at org.apache.maven.project.collector.RequestPomCollectionStrategy.collectProjects(RequestPomCollectionStrategy.java:49)
at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:367)
at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:100)
at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:643)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:250)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:225)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:149)
at org.apache.maven.cling.invoker.mvn.MavenInvoker.doExecute(MavenInvoker.java:452)
at org.apache.maven.cling.invoker.mvn.MavenInvoker.execute(MavenInvoker.java:97)
at org.apache.maven.cling.invoker.mvn.MavenInvoker.execute(MavenInvoker.java:81)
at org.apache.maven.cling.invoker.LookupInvoker.doInvoke(LookupInvoker.java:165)
at org.apache.maven.cling.invoker.LookupInvoker.invoke(LookupInvoker.java:134)
at org.apache.maven.cling.ClingSupport.run(ClingSupport.java:76)
at org.apache.maven.cling.MavenCling.main(MavenCling.java:51)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.lang.reflect.Method.invoke(Method.java:565)
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)
[ERROR]
[ERROR] The project org.apache.maven.its.ejb.reactor:aggregator:1.0 (D:\Github\Maven\maven-ejb-plugin\target\it\reactor\pom.xml) has 2 errors
[ERROR] The parents form a cycle: org.apache.maven.its.ejb:maven-ejb-it-setup:1.0 -> D:\Github\Maven\maven-ejb-plugin\target\it\reactor\pom.xml -> org.apache.maven.its.ejb:maven-ejb-it-setup:1.0
[ERROR] The parents form a cycle: org.apache.maven.its.ejb:maven-ejb-it-setup:1.0 -> D:\Github\Maven\maven-ejb-plugin\target\it\reactor\pom.xml -> org.apache.maven.its.ejb:maven-ejb-it-setup:1.0
[ERROR]
[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/ProjectBuildingException
[DEBUG] Shutting down adapter factory; available factories [file-lock, rwlock-local, semaphore-local, noop]; available name mappers [discriminating, file-gav, file-hgav, file-static, gav, static]
[DEBUG] Shutting down 'file-lock' factory
[DEBUG] Shutting down 'rwlock-local' factory
[DEBUG] Shutting down 'semaphore-local' factory
[DEBUG] Shutting down 'noop' factory
Running post-build script: D:\Github\Maven\maven-ejb-plugin\target\it\reactor\verify.bsh
Checking for existence of D:\Github\Maven\maven-ejb-plugin\target\it\reactor\sub\target\sub-1.0.jar
java.lang.Exception: Missing D:\Github\Maven\maven-ejb-plugin\target\it\reactor\sub\target\sub-1.0.jar
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
at bsh.Reflect.constructObject(Reflect.java:621)
at bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:117)
at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:108)
at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:56)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:96)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:41)
at bsh.BSHThrowStatement.eval(BSHThrowStatement.java:38)
at bsh.BSHBlock.evalBlock(BSHBlock.java:125)
at bsh.BSHBlock.eval(BSHBlock.java:75)
at bsh.BSHBlock.eval(BSHBlock.java:41)
at bsh.BSHIfStatement.eval(BSHIfStatement.java:42)
at bsh.Interpreter.eval(Interpreter.java:659)
at bsh.Interpreter.eval(Interpreter.java:750)
at bsh.Interpreter.eval(Interpreter.java:739)
at org.apache.maven.shared.scriptinterpreter.BeanShellScriptInterpreter.evaluateScript(BeanShellScriptInterpreter.java:145)
at org.apache.maven.shared.scriptinterpreter.ScriptRunner.executeRun(ScriptRunner.java:222)
at org.apache.maven.shared.scriptinterpreter.ScriptRunner.run(ScriptRunner.java:158)
at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runPostBuildHook(AbstractInvokerMojo.java:1978)
at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuild(AbstractInvokerMojo.java:1935)
at org.apache.maven.plugins.invoker.AbstractInvokerMojo.runBuild(AbstractInvokerMojo.java:1605)
at org.apache.maven.plugins.invoker.AbstractInvokerMojo.lambda$runBuilds$4(AbstractInvokerMojo.java:1367)
at org.apache.maven.plugins.invoker.JobExecutor.lambda$forEach$0(JobExecutor.java:63)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
at java.base/java.lang.Thread.run(Thread.java:1474)
*** end build.log for: reactor\pom.xml ***
[ERROR] -------------------------------------------------
[ERROR]
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 8, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * reactor\pom.xml
[INFO] -------------------------------------------------
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] Total time: 01:11 min
[INFO] Finished at: 2026-01-10T07:05:13+01:00
[INFO] --------------------------------------------------------------------------------------------------------------------------
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Resolver IT fails on 4.0.04-rc-5 [maven-ejb-plugin]
Posted by "ascheman (via GitHub)" <gi...@apache.org>.
ascheman commented on issue #202:
URL: https://github.com/apache/maven-ejb-plugin/issues/202#issuecomment-4656400735
For anyone landing here from a search: this is the same `NoSuchMethodError` symptom that PR #212 (merged 2026-05-27 by @hboutemy) addressed. The IT's sub-module `<parent>` referenced `maven-ejb-it-setup:1.0` instead of `aggregator:1.0` — Maven 3 was lenient, Maven 4 enforces relativePath strictly and detects the resulting false cycle.
Verified locally on plugin SHA `d7cbd6ff` (= post-merge):
- `mvn -P run-its clean verify` on Maven 4.0.0-rc-5: **Passed: 9, Failed: 0**
- Same on `apache/maven` master snapshot (4.1.0-SNAPSHOT, `a166e3fa`): **Passed: 9, Failed: 0**
If maintainers agree, this can be closed as fixed by #212.
Note: the [Maven 4.0.0 GA checklist](https://cwiki.apache.org/confluence/display/MAVEN/Maven+4.0.0+GA+checklist) on cwiki still lists this plugin under "require fix in Maven 4.0.0 RC6" — the reality is now "ok with 4.0.0-rc-5", worth updating so future readers don't chase a non-issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Resolver IT fails on 4.0.04-rc-5 [maven-ejb-plugin]
Posted by "Bukama (via GitHub)" <gi...@apache.org>.
Bukama commented on issue #202:
URL: https://github.com/apache/maven-ejb-plugin/issues/202#issuecomment-4662855018
Thanks for the analysis @ascheman ! Can confirm it works now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Resolver IT fails on 4.0.04-rc-5 [maven-ejb-plugin]
Posted by "Bukama (via GitHub)" <gi...@apache.org>.
Bukama closed issue #202: Resolver IT fails on 4.0.04-rc-5
URL: https://github.com/apache/maven-ejb-plugin/issues/202
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org