Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce inter-package dependencies within Catalog UI Search #4666

Closed
Lambeaux opened this issue Apr 9, 2019 · 1 comment
Closed

Enforce inter-package dependencies within Catalog UI Search #4666

Lambeaux opened this issue Apr 9, 2019 · 1 comment

Comments

@Lambeaux
Copy link
Member

Lambeaux commented Apr 9, 2019

Description

Normally in an OSGi environment, where a feature consists of many jars/bundles, going through the Maven project steps provides some degree of dependency protection. Culturally it also raises additional awareness and discipline because a project's larger-picture dependency graph directly impacts the potential for a clean build, parallel build, and an otherwise painless CI/CD experience.

For how classes are packaged within a Maven module, the impacts of a messy dependency graph are substantially less punishing, until the module needs to be split, or some other concern enters the picture.

Expected behavior:

Look into the current interpackage relationships within Catalog UI search, see what can easily be cleaned up, and then enforced at build time so the package dependencies stay clean.

Version

N/A until progress starts.

Additional Information

Impacts: #4656

Might be worth looking into the following:
https://www.archunit.org/
https://blog.jdriven.com/2018/10/testing-the-architecture-archunit-in-practice/
http://www.mojohaus.org/extra-enforcer-rules/banCircularDependencies.html

@Lambeaux
Copy link
Member Author

Migrated to https://github.com/codice/ddf-ui/issues; closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant