arch-unit-maven-plugin icon indicating copy to clipboard operation
arch-unit-maven-plugin copied to clipboard

parallel execution of arch-test gives maven warning

Open Tholian opened this issue 2 years ago • 1 comments

Summary

Parallel execution of arch-test show some warnings. It would be nice to check the possibility of parallel execution and mark methods as @threadsafe to eliminate the maven warnings.

Type of Issue

It is a :

  • [ ] bug
  • [x] request
  • [ ] question regarding the documentation

Motivation

Executing the maven build with parameter -T 2.0C to speed up overall build time.

Current Behavior

With parameter -T 2.0C the warning is printed which shall be fixed.

Expected Behavior

Execution of the plugin in parallel without maven warning.

Steps to Reproduce (for bugs)

Call arch-test with maven parameter -T 2.0C.

Tholian avatar Jun 07 '22 07:06 Tholian

hi, thanks for raising the question, and sorry for the delay, I had missed it.

I will be honest, I have no idea what to be careful with before declaring it as threadSafe.. I guess it is, because we don't do anything too fancy but I am not 100% sure.

vincent-fuchs avatar Apr 10 '23 07:04 vincent-fuchs