Mark created MENFORCER-215:
------------------------------
Summary: Extra Enforcer Rules : banCircularDependencies for
transitive test scope
Key: MENFORCER-215
URL: https://jira.codehaus.org/browse/MENFORCER-215
Project: Maven Enforcer Plugin
Issue Type: Improvement
Reporter: Mark
Priority: Minor
I want to use the banCircularDependencies extra enforcer rule to avoid jenkins
build loops. The current implementation ignores test-scope dependencies. I need
a flag to include them. My situation is the following:
"utils" depends on "shared" (compile scope), shared depends on "utils" (test
scope). Neither the rule nor "mvn dependency:tree" recognizes "utils" as a
dependency of "shared".
{code:xml}
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>1.0-beta-3</version>
</dependency>
{code}
{format}
dependency:tree
Displays the dependency tree for this project.
Available parameters:
...
scope
The scope to filter by when resolving the dependency tree, or null to
include dependencies from all scopes. Note that this feature does not
currently work due to MNG-3236.
{format}
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)