You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adrian Herscu <bm...@fastmail.fm> on 2007/06/10 22:56:05 UTC

[m2] cyclic dependency created by build plugin?!

Hi all,

I have four projects:

0) root -- contains lang, lang-comp and maven-lang-plugin

1) lang -- contains a sample project written in the language "lang"
	depends on nothing but requires maven-lang-plugin to build

2) lang-comp -- contains a "lang" compiler
	depends on lang for testing

3) maven-lang-plugin -- contains a maven plugin for the "lang" compiler
	depends on lang-comp


Trying to mvn install the root leads to a cyclic dependency error 
stating something like this: lang-comp --> lang --> maven-lang-plugin 
--> lang-comp.

Why?

(I think it should not because: 1) the dependency of lang-comp on lang 
is for testing only; 2) lang depends on maven-lang-plugin only for build)

Any way out?...

Adrian.


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