You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "hboutemy (via GitHub)" <gi...@apache.org> on 2026/04/19 08:48:43 UTC
[PR] enable Maven 4 build [maven-ejb-plugin]
hboutemy opened a new pull request, #212:
URL: https://github.com/apache/maven-ejb-plugin/pull/212
failing IT with Maven 4.0.0-rc-5 (regression from 4.0.0-rc-4):
```
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 8, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * reactor/pom.xml
[INFO] -------------------------------------------------
```
because
```
[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 (/home/herve/dev/maven/sources/plugins/packaging/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 -> /home/herve/dev/maven/sources/plugins/packaging/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 -> /home/herve/dev/maven/sources/plugins/packaging/maven-ejb-plugin/target/it/reactor/pom.xml -> org.apache.maven.its.ejb:maven-ejb-it-setup:1.0
```
--
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: [PR] enable Maven 4 build [maven-ejb-plugin]
Posted by "slawekjaranowski (via GitHub)" <gi...@apache.org>.
slawekjaranowski commented on PR #212:
URL: https://github.com/apache/maven-ejb-plugin/pull/212#issuecomment-4338514000
Maybe a bug in 4.x?
we have in root pom.xml:
```xml
<parent>
<groupId>org.apache.maven.its.ejb</groupId>
<artifactId>maven-ejb-it-setup</artifactId>
<version>1.0</version>
</parent>
<groupId>org.apache.maven.its.ejb.reactor</groupId>
<artifactId>aggregator</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
...
<modules>
<module>sub</module>
</modules>
```
and in sub/pom.xml - the same parent as in root
```xml
<parent>
<groupId>org.apache.maven.its.ejb</groupId>
<artifactId>maven-ejb-it-setup</artifactId>
<version>1.0</version>
</parent>
```
when change parent in sub/pom.xml to:
```xml
<parent>
<groupId>org.apache.maven.its.ejb.reactor</groupId>
<artifactId>aggregator</artifactId>
<version>1.0</version>
</parent>
```
build will pass
--
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: [PR] enable Maven 4 build [maven-ejb-plugin]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #212:
URL: https://github.com/apache/maven-ejb-plugin/pull/212#issuecomment-4558409445
@hboutemy Please assign appropriate label to PR according to the type of change.
--
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: [PR] enable Maven 4 build [maven-ejb-plugin]
Posted by "hboutemy (via GitHub)" <gi...@apache.org>.
hboutemy commented on PR #212:
URL: https://github.com/apache/maven-ejb-plugin/pull/212#issuecomment-4558203986
from what I see, not a Maven 4.x bug, but Maven 4.x is stricter on `relativePath` for parent POM
so yes, IT created for https://issues.apache.org/jira/browse/MEJB-39 requires to be fixed so Maven 4.x does not fail (for good reasons)
--
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: [PR] enable Maven 4 build [maven-ejb-plugin]
Posted by "hboutemy (via GitHub)" <gi...@apache.org>.
hboutemy merged PR #212:
URL: https://github.com/apache/maven-ejb-plugin/pull/212
--
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