maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Black" <ebl...@concord.org>
Subject Re: dependency without version - is it possible?
Date Fri, 05 Nov 2004 18:12:27 GMT
"Maven Users List" <users@maven.apache.org> on Friday, November 5, 2004 at
12:29 PM +0000 wrote:
>How can I include a dependency in my project.xml without specify the
>version?

Hi,

Use the jar override in the project.properties file:

maven.jar.override=on
maven.jar.{jarname}=../thirdparty/{jarname}.jar

{jarname} gets replaced with the  jar artifactId that you specified in
the project.xml dependency.

Using the jar override ignores the  version tag.

Eric  


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message