Hi,
  I have a project called p1 using aspectj to instrument another jar called
p0.jar to get its artifact p1.jar. Then p1.jar is aimed to replace p0
wherever p0 is used. Therefore, in p1's pom, I set the scope of the
dependence on p0 to be 'provided' and include all dependencies from p0.
However, for a project, say p2, depending on p1, it is still possbile to
have p0 included through other dependencies that depend on p0. Although I
can exclude p0 in those dependencies in p2's pom, it seems not that good in
the solution.  Is there a better way to solve this problem?

Regards,
Rice

Reply via email to