Details
-
Bug
-
Resolution: Done
-
Major
-
2.0.0.CR1
-
None
Description
In case we have a project structure:
a/pom.xml
a/b/build.gradle
Starting from a/b/, if registry.getServices(BuildSystem.class) returns MavenBuildSystem as first, then it will pick up a/pom.xml.
My solution is inverting loops:
for (each build system) { for (each directory)
}
This causes problems in Gradle addon Maven build as temporary projects are run inside target/ directory, which has always pom.xml above.