Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
Artifact resolution in maven is not always made by repository access.
When you have a parent/child1,child2 structure where child2 depends on child1 maven can build the structure without the need of the child1 artifact in the e.g. local repository, but using it directly from child1 (when build from parent). The current enforcer plugins lacks such support, with the effect that the child1-artifact is tried to load from the repository-chain - which fails.
A workaround for the attached example is to place the enforcerplugin into the parent pom.xml.
Attachments
Attachments
Issue Links
- duplicates
-
MENFORCER-42 Maven-Enforcer-Plugin fails in multimodule project when artifacts not in repository
- Closed