On Monday 04 December 2006 14:13, Wendy Smoak wrote: > On 12/4/06, Victor Okunev <[EMAIL PROTECTED]> 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? > > The default <type> is jar. You could try <type>pom</type> but I don't > think it's going to do what you want. > > What are you trying to do? It sounds like you have a pom with > <modules> and you expect that declaring a dependency on that pom will > add those modules as dependencies.
Yea, I ran into this this morning as well. I was hoping to depend on a "pom" module so I could then use the dependency plugin's "copy-dependencies" or "unpack-dependencies" to grab all of them. That didn't work. I changed the other projects type to "jar" which ends up deploying an "empty" jar which works, but that makes that other jar get copied/unpacked as well. -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
