-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Description
Currently the logic in
Lines 84 to 102 in 5f94521
if(!POM_EXTENSION.equals(extension)) { | |
MavenProjectFacade facade = context.state.getProjectFacade(pom); | |
IWorkspaceClassifierResolver resolver = MavenPlugin.getWorkspaceClassifierResolverManager().getResolver(); | |
IPath location = resolver.resolveClassifier(facade, classifier); | |
if(location == null) { | |
location = facade.getOutputLocation(); | |
} | |
if(location != null) { | |
IResource res = root.findMember(location); | |
if(res != null) { | |
file = res.getLocation(); | |
} | |
} | |
} | |
return file.toFile(); |
Line 145 in 5f94521
public org.apache.maven.artifact.Artifact find(org.apache.maven.artifact.Artifact artifact) { |
Although returning the path to the pom.xml
makes sense for type being pom
it doesn't for any other type. In that case one should rather fall back to null
.
Metadata
Metadata
Assignees
Labels
No labels