You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/10/21 02:00:46 UTC

[GitHub] [maven-mvnd] seanf opened a new issue, #725: mvnd incompatible with Gradle's build-scan extension

seanf opened a new issue, #725:
URL: https://github.com/apache/maven-mvnd/issues/725

   The `gradle-enterprise-maven-extension` (version 1.15.4) works with Maven 3.8.6, but reports "MavenPluginManager was not overridden" when run via `mvnd`.
   
   ```
   ❯ mvnd initialize
   [WARN] Failed to initialize spy com.gradle.maven.internal.GradleEnterpriseLifecycleManager: build operation notification valve already started
   [INFO] Processing build on daemon c31a048e
   [ERROR] Internal error: java.lang.IllegalStateException: MavenPluginManager was not overridden -> [Help 1]
   org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: MavenPluginManager was not overridden
   	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:120)
   	at org.apache.maven.cli.DaemonMavenCli.execute(DaemonMavenCli.java:687)
   	at org.apache.maven.cli.DaemonMavenCli.doMain(DaemonMavenCli.java:239)
   	at org.apache.maven.cli.DaemonMavenCli.main(DaemonMavenCli.java:215)
   	at org.mvndaemon.mvnd.daemon.Server.handle(Server.java:572)
   	at org.mvndaemon.mvnd.daemon.Server.client(Server.java:256)
   	at org.mvndaemon.mvnd.daemon.Server.accept(Server.java:224)
   	at java.base/java.lang.Thread.run(Thread.java:1589)
   Caused by: java.lang.IllegalStateException: MavenPluginManager was not overridden
   	at com.gradle.enterprise.b.a.a(SourceFile:146)
   	at com.gradle.enterprise.b.a.a(SourceFile:39)
   	at com.gradle.maven.internal.GradleEnterpriseLifecycleManager.afterSessionStart(SourceFile:138)
   	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:208)
   	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
   	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
   	... 7 common frames omitted
   [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/InternalErrorException
   ```
   
   See example project here: https://github.com/seanf/gradle-enterprise-maven-extension-mvnd-bug


-- 
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


[GitHub] [maven-mvnd] gzm55 commented on issue #725: mvnd incompatible with Gradle's build-scan extension

Posted by GitBox <gi...@apache.org>.
gzm55 commented on issue #725:
URL: https://github.com/apache/maven-mvnd/issues/725#issuecomment-1286630197

   the binding of MavenPluginManager is fixed in the [code](https://github.com/apache/maven-mvnd/blob/0288988d6354053976c00f6d3297ce3bc747e3ab/daemon/src/main/java/org/apache/maven/cli/DaemonMavenCli.java#L526)


-- 
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


[GitHub] [maven-mvnd] marcphilipp commented on issue #725: mvnd incompatible with Gradle's build-scan extension

Posted by GitBox <gi...@apache.org>.
marcphilipp commented on issue #725:
URL: https://github.com/apache/maven-mvnd/issues/725#issuecomment-1286834546

   The Gradle team is currently working on making the extension compatible with the Maven daemon. So far we haven't hit any road blocks.


-- 
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


[GitHub] [maven-mvnd] gnodet commented on issue #725: mvnd incompatible with Gradle Enterprise's build-scan extension

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet commented on issue #725:
URL: https://github.com/apache/maven-mvnd/issues/725#issuecomment-1466805281

   Closing this issue, as this seems to have been fixed at some point.


-- 
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


[GitHub] [maven-mvnd] gnodet closed issue #725: mvnd incompatible with Gradle Enterprise's build-scan extension

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet closed issue #725: mvnd incompatible with Gradle Enterprise's build-scan extension
URL: https://github.com/apache/maven-mvnd/issues/725


-- 
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