HannesWell commented on issue #912: URL: https://github.com/apache/maven-mvnd/issues/912#issuecomment-4091938479
In fact Tycho already has an option to disable the use of smart-builder: https://github.com/eclipse-tycho/tycho/blob/ba763d5e2f1920037a043f6086f8fde54a442ea7/tycho-api/src/main/java/org/eclipse/tycho/TychoConstants.java#L43-L44 However this is only effective if one requests to build with more than one thread: https://github.com/eclipse-tycho/tycho/blob/ba763d5e2f1920037a043f6086f8fde54a442ea7/tycho-build/src/main/java/org/eclipse/tycho/build/TychoGraphBuilder.java#L110-L113 Still the error from above happens, with `-Dtycho.build.smartbuilder=false` respectively --threads not specified. Could it be that the smart-builder DependencyGraph injects itself automatically (through ServiceLoader or DI magic) as soon as it's present on the classpath? Because the `tycho-build` extension has a dependency on it: https://github.com/eclipse-tycho/tycho/blob/ba763d5e2f1920037a043f6086f8fde54a442ea7/tycho-build/pom.xml#L31-L35 Could it help to exclude the smart-builder also from transitive extension dependencies? Of course in case of Tycho one would have to make sure that it's then not used by Tycho with above methods. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
