It seems that using SNAPSHOT in an override doesn't work.  Is that a bug
or a feature?  :-)

> you will need to put it into project.properties for that to work.
> 
> However, there is a built in mechanism for that: jar overrides.
> 
> in project.properties:
> maven.jar.override=on
> maven.jar.commons-logging=1.0.4
> 
> Cheers,
> Brett
> 
> On Thu, 18 Nov 2004 18:27:55 -0500, Barry Kaplan 
> <[EMAIL PROTECTED]> wrote:
> > If I did in maven.xml:
> > 
> >      <ant:property file="version-info.properties"/>
> > 
> > And then in project.xml:
> > 
> >      <dependency>
> >          <groupId>commons-logging</groupId>
> >          <artifactId>commons-logging</artifactId>
> >          <version>${commons_logging_version}</version>
> >      </dependency>
> > 
> > Should this work? The dependency downloading is seeing a null value 
> > for the version. I have seen the following work:
> > 
> >      <dependency>
> >          <groupId>geronimo</groupId>
> >          <artifactId>geronimo-kernel</artifactId>
> >          <version>${pom.currentVersion}</version>
> >      </dependency>
> > 
> > But is that because its a pom variable?
> > 
> > --
> > barry kaplan
> > [EMAIL PROTECTED]
> > 
> > 
> ---------------------------------------------------------------------
> > 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]
> 
> 

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

Reply via email to