coiouhkc/maven-dependency-builder

False positives at project-level

Opened this issue · 0 comments

faios commented

If you have classes with the same package and the same class name in multiple projects there can be false positives.

Example:

  • Project1
    • src/main/java
      • my/first/package
        • MyFirstClass.java
      • my/package
        • MyDependency.java
  • Project2
    • src/main/java
      • my/second/package
        • MySecondClass.java
      • my/package
        • MyDependency.java

If the My*Class.java file contains a dependency to a MyDepenceny.java file the tool thinks that there is a depenceny cycle between the projects.