Hi all,

I have Project-A which defines a bunch of libraries (jar) for testing (scope
compile) with packaging set to pom. This pom is available at our repository.

Project-B now defines Project-A's pom as dependency ( i found that in the
maven sonatype book as an advice) (scope test).

All libs are at the remote and the locale repository.

Nevertheless when I type "mvn test" at the console it fails because it cant
resolve (e.g) junit which is defined in Project-A (which pom Project-B has).

Funnily Project-A also has a dependency to Project-C's pom (scope compile)
... and the libs which are in that pom are resolved successfully (running
"mvn compile" resolves it and builds successfully)

Can someone somehow explain why and what might go wrong here ?

Thanks for any support
-- 
View this message in context: 
http://old.nabble.com/POM-as-dependency-fails-tp28690145p28690145.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