You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Barry Kaplan <gr...@memelet.com> on 2008/09/15 18:07:25 UTC

Does dependencyManagement not work for pom-only deps?

I have setup some deps in dependencyManagement that are <type>pom</type>.
When I refer to these in child modules using only groupId/artifactId I get
errors indicating "dependencies.dependency.version is missing for...".

Does this not work for pom-only dependencies?
-- 
View this message in context: http://www.nabble.com/Does-dependencyManagement-not-work-for-pom-only-deps--tp19496045p19496045.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Does dependencyManagement not work for pom-only deps?

Posted by Brett Porter <br...@gmail.com>.
the management only manages the scope and version, as you can have multiple
different dependencies with different types within the same project.

2008/9/16 Barry Kaplan <gr...@memelet.com>

>
> Look like since the dependency is /not/ jar, <type>pom</type> must be
> specified.
>
> But why if dependencyManagement already specifiied this?
> --
> View this message in context:
> http://www.nabble.com/Does-dependencyManagement-not-work-for-pom-only-deps--tp19496045p19496746.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

Re: Does dependencyManagement not work for pom-only deps?

Posted by Barry Kaplan <gr...@memelet.com>.
Look like since the dependency is /not/ jar, <type>pom</type> must be
specified.

But why if dependencyManagement already specifiied this?
-- 
View this message in context: http://www.nabble.com/Does-dependencyManagement-not-work-for-pom-only-deps--tp19496045p19496746.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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