Skip to content

New rule to prevent circular dependencies in a maven project (not just a module) #84

Open
@harrisric

Description

It is possible to have each module have a set of depencies which are not circular in themselves but which makes it impossible to build either project, i.e.
Suppose you have two 'projects' (A, B) each of which has two modules (1, 2).
A2 depends on A1, B1
B2 depends on A1, B1
Therefore I cannot build A1 and A2 without B1, but I cannot build B1, B2 without A1.
I propose a new rule BanProjectCircularDependencies which prevents this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions