Skip to content

WrongDirection not detected when subpackages are used #4

Description

@ascheman

I think there is an error the example:

Add an error

Introducing two new classes (cf. ascheman/uneven-modules@2138b29):

  • SpecialFacade in package facade
  • SpecialBusiness in package in business

The latter imports the former which is an architecture violation which is detected and the build fails.

And make it disappear

If the two classes are moved to sub-packages (cf. ascheman/uneven-modules@8f29af9), e.g.,

  • SpecialFacade to package facade.special
  • SpecialBusiness to package business.products

The architecture violation magically vanishes and the build is OK. I would expect that even access from/to sub packages is disallowed by the architecture blueprint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions