Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.12, 2.12.1
-
None
-
None
Description
LicenseResouceManager component does not specify instantiation strategy. By default plexus uses singleton strategey which leads to ConcurrentModificationException in parallel maven builds.
Example: when two DefaultCheckstyleExecutors try to use one licence manager: one calls addSearchPath on FileResourceLoader while the other one iterating over paths in getResource on the same FileResourceLoader .
MCHECKSTYLE-238 and MCHECKSTYLE-230 are exactly about this situation. Right now the plugin for some reason is marked as thread safe although it definetly produces exceptions in parallel multimodule builds.
DefaultCheckstyleRssGenerator is a point of attention because it is also singleton instantiated.
Attachments
Attachments
Issue Links
- is related to
-
MCHECKSTYLE-230 ConcurrentModificationException in FileResourceLoader.getResource
- Closed
-
MCHECKSTYLE-238 ConcurrentModificationException
- Closed