You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Todd Thiessen <th...@nortel.com> on 2009/02/26 16:51:27 UTC

Multiple war provides with differently scoped dependencies

Consider this project:

Parent
  +--- proj1
  +--- proj2
  +--- web-proj1
  +--- web-proj2

proj1 has proj2 as a dependency.

Both web-proj1 and web-proj2 have proj1 as a dependency.

In web-proj1, the proj2 artifact is provided.
In web-proj2, the proj2 artifact is not provided.

Since proj2 is a transitive dependency of both web projects, these
dependencies "shouldn't" be defined in the war projects. But how do I
then define proj2 as provided for web-proj1 but not for web-proj2?

---
Todd Thiessen

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