You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding NoPackageCyclesEnforcerRule to maven-enforcer-plugin highlights presence of a cycle dependency among the packages.
This disables applying the same enforcer rule to, for example, projects of IDE or build server plugins, where classes of "compile" dependencies, including plexus-utils, get baked into the build artifact
I fully appreciate unusualness of the situation with plugins, where *.class files of their "compile" dependencies have to be placed into the plugin *.jar. NoPackageCyclesRule analyzes classes in "test" phase of the build, gets all *.class files and, unfortunately, it does provide a way to define packages to check.
I'll try to suggest PR to resolve the cycle in pluxus-util. However, even if accepted, it will take very long before new version starts being used through transitive dependencies. I have to write my own version of NoPackageCyclesRule anyway.
Adding
NoPackageCyclesEnforcerRule
tomaven-enforcer-plugin
highlights presence of a cycle dependency among the packages.This disables applying the same enforcer rule to, for example, projects of IDE or build server plugins, where classes of "compile" dependencies, including
plexus-utils
, get baked into the build artifactThe text was updated successfully, but these errors were encountered: