Good day to you, Victor,

Let me get this straight.

You have a project A which depends on projects B, C, D & E ( for example ).
However, you don't want to declare all those in project A's pom. Instead,
you want a way to declare them as project A's dependency as a group. 

Thus you tried adding a dependency whose modules are projects B, C, D & E. 

I am sorry but that will not work. Modules are not considered as
dependencies. The closest thing I can think of to support your needs is to
create another project whose dependencies are projects B, C, D & E. Then add
that project to project A. This would then make projects B, C, D & E the
dependencies of your project A.

Cheers,
Franz


Victor Okunev wrote:
> 
> Can I create a dependency to a project with pom packaging? This would
> be convenient rather than creating separate dependencies on each
> module it contains. I tried but unsuccessfully, it seems that Maven is
> looking for a jar.  Perhaps I am missing something?
> 
> Victor
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/setting-dependency-to-a-project-with-pom-packaging--tf2755761s177.html#a8372729
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to