Hi,
I have the following scenario: 
my project (A) has a number of compile dependencies on other internal
projects (B0, B1, B2 ...).
I would like to break the build of A in case Bx has been built depending on
an older release of A.

So for instance:

A:2.0-SNAPSHOT depends on B3:2.3
and
B3:2.3 depends on A:1.0 and this dependency is provided.

I tried to use the maven-enforcer-plugin to break the build of A in case
there is a transitive dependency whose groupId and artifactId are the same
as A, but it doesn't work because the dependency A:1.0 is provided.

Any suggestions?



--
View this message in context: 
http://maven.40175.n5.nabble.com/maven-enforcer-plugin-to-ban-a-transitive-provided-dependency-tp5752733.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to