Not that this is something which would jump right out at a person, but
if you check the XSD definition for the project.xml file (see
$MAVEN_HOME/project.xsd), I believe you'll see that the version tag is a
required element. Therefore, the XML document isn't even valid without
it. The reason maven doesn't squawk at this is that it doesn't check for
XML validity when parsing...the XSD is a guide, but should remain the
authoritative source, even if not checked.

-john

On Fri, 2004-02-27 at 07:46, [EMAIL PROTECTED] wrote:
> Hi all.
> 
> I'm just wondering... Have you ever attempted to create a dependency 
> without the <version/> or <jar/>
> tags?
> 
> Maybe I'm stupid, but I'd expect Maven to look for a jar 
> ${dep.groupId}/jars/${dep.artifactId}.jar - but instead
> it attempts to locate ${dep.groupId}/jars/${dep.artifactId}-.jar :-/
> 
> This is RC-1.0 by the way.
-- 
John Casey
[EMAIL PROTECTED]
CommonJava Open Components Project
http://www.commonjava.org


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

Reply via email to