Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.6.3
-
None
Description
Having an extension that just displays the current project, like in:
@Singleton @Named public class BuildModuleSelector extends AbstractMavenLifecycleParticipant { @Inject private Logger logger; @Override public void afterProjectsRead(MavenSession session) throws MavenExecutionException { logger.info(session.getCurrentProject().toString()); session.setProjects(Collections.singletonList(session.getCurrentProject())); } }
Will fail to resolve the current project when executed in the root of a project that depends on a module with the same parent.
Attachments
Attachments
Issue Links
- links to