mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Bug fix: IDEA does not recognize managed dependencies usage in current pom.xml
This commit is contained in:
+4
-6
@@ -182,13 +182,11 @@ public class MavenDomProjectProcessorUtils {
|
||||
final Set<MavenDomDependency> usages = new HashSet<MavenDomDependency>();
|
||||
Processor<MavenDomProjectModel> collectProcessor = new Processor<MavenDomProjectModel>() {
|
||||
public boolean process(MavenDomProjectModel mavenDomProjectModel) {
|
||||
if (!model.equals(mavenDomProjectModel)) {
|
||||
for (MavenDomDependency domDependency : mavenDomProjectModel.getDependencies().getDependencies()) {
|
||||
if (excludes.contains(domDependency)) continue;
|
||||
for (MavenDomDependency domDependency : mavenDomProjectModel.getDependencies().getDependencies()) {
|
||||
if (excludes.contains(domDependency)) continue;
|
||||
|
||||
if (dependencyId.equals(DependencyConflictId.create(domDependency))) {
|
||||
usages.add(domDependency);
|
||||
}
|
||||
if (dependencyId.equals(DependencyConflictId.create(domDependency))) {
|
||||
usages.add(domDependency);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user