Comments (6)
Hi,
This is the intended behavior. The alternate is worse IMHO : people could misconfigure something, believe that the test runs fine, while actually nothing was analyzed.
Overriding the archunit config in the submodules that don't need it is a cheap way to avoid this.
from arch-unit-maven-plugin.
This is the reason why I didn't ask to remove this behavior completely but to be able to switch it off explicitly. We have a very big module hierarchy and additionally very many projects using our pom definition as parent pom. Thats why we cannot just add a plugin configuration to all affected submodules.
from arch-unit-maven-plugin.
ok. If you're really interested in that feature, please open a PR in https://github.com/societe-generale/arch-unit-build-plugin-core (making sure the current behavior is still the default) and in https://github.com/societe-generale/arch-unit-maven-plugin (to set the flag) : I will review them
from arch-unit-maven-plugin.
Thank you. Would it be possible to reintegrate the changes to the 3.x line? We are currently on Java 17 and 4.0 is only working on Java 21. I could provide pull requests for both branches.
Or maybe you could switch back the main branch to Java 17 so it could be used by more (not so current) projects.
from arch-unit-maven-plugin.
yes, please submit for the 2 branches, and I will do 2 releases
from arch-unit-maven-plugin.
It created the necessary pull requests for 3.x and 4.x on core and maven plugin. I tried to keep the changes as small as possible. Looking forward for your feedback.
from arch-unit-maven-plugin.
Related Issues (20)
- Classes under excluded paths are checked by configurableRules. HOT 2
- Configuration get's mixed up in multi module build HOT 7
- 2.6.x no longer works with aggregate POM HOT 3
- Update minimum build plugin core version in README HOT 2
- is there any plan to support jdk15? HOT 4
- @ArchTest of type ArchTests are not picked up by plugin HOT 4
- excludedPath generated-sources leads to StringIndexOutOfBoundsException: String index out of range: -1 HOT 1
- parallel execution of arch-test gives maven warning HOT 1
- can we mark this plugin @threadSafe HOT 3
- Is there a ImportOption donotincludeTests option? HOT 1
- Import classes from Main and Test scope
- Change log level from info to warning when noFailOnError=true HOT 2
- fix all maven warnings during build + make sure tests are executed HOT 1
- Execute rule on the aggregator ('pom' packaging) HOT 1
- Plugin error when updating from 4.0.0 to 4.0.1 HOT 1
- Allow to exclude single checks from a configurable rule
- How share the rules between services
- Question: should my custom rules extend the class com.societegenerale.commons.plugin.rules.ArchRuleTest?
- Generate HTML Report
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arch-unit-maven-plugin.