Java Mailing List Archive

http://www.java2.5341.com/

Home » Maven Users List »

Dependencies without version tag

Simon Trudeau

2008-10-03

Replies: Find Java Web Hosting

Author LoginPost Reply
I would like to add a dependency to my maven project but have it
included WITHOUT the version tag. I am currently running into problems
where the comm.jar (javax.comm) library needs to be exactly named that
way and cannot be named comm-2.0.3.jar or some other thing because
otherwise it fails. This library references a .dll and a properties
file... this must have something to do with it. That is why I don't want
my project to depend on a library with a version number. This means that
my classpath entry autogenerated must also reference jars without
version tag.

Is there a way to strip the version tag from a dependency so that it
will be reflected in the classpath entry of the jar's manifest?

Thanks.

Simon

P.S.: Any maven help in dealing with the comm.jar library is also
welcomed! :.)
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.