Hi,

if you have really dependencies without version the build will fail in Maven.
This sounds more like having a dependencyManagement block somewhere in the 
parents which define the appropriate versions which is ok.

The question is what you like to achieve?

Kind regards
Karl-Heinz Marbaise
-------- Original-Nachricht --------
> Datum: Thu, 20 Dec 2012 17:09:59 +0000
> Von: "KARR, DAVID" <[email protected]>
> An: Maven Users List <[email protected]>
> Betreff: Detecting any dependencies specified without versions?

> I just noticed that our large project has a lot of poms with dependencies
> with no version specified.  I'd like to detect that at build time.  I see
> that the enforcer plugin comes close out of the box, with the
> "requirePluginVersions" rule.  However, there doesn't appear to be a
> "requireDependencyVersions" rule, at least out of the box.
> 
> Is there an easy way to make this work?  Has anyone written and released a
> custom "requireDependencyVersions" rule?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to