Christoph Läubrich created MNG-7591:
---------------------------------------
Summary: Enhance MavenWorkspaceReader to find workspace projects
Key: MNG-7591
URL: https://issues.apache.org/jira/browse/MNG-7591
Project: Maven
Issue Type: Improvement
Reporter: Christoph Läubrich
The org.apache.maven.repository.internal.MavenWorkspaceReader currently allows
for finding a model for a given artifact.
But recently I noticed at m2eclipse (IDE extension) that when loading a maven
project maven also loads all the parent projects, of course we have them in the
IDE as well, so such action can lead to multiple times loading the same maven
project.
I therefore like to suggest to enhance MavenWorkspaceReader with a method:
MavenProject findProject( Artifact artifact );
or just
MavenProject findProject( File pomFile );
to allow for example DefaultProjectBuilder to take this into account when
loading parents.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)