<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
It looks like the jarName can be overriden. I'll see if I can rebuild
the jboss-common jars without the version as it will require a constant
updating of the eclipse projects in jbossas since jbossas is not build
using maven yet.<br>
<br>
Carlo de Wolf wrote:
<blockquote cite="mid1158823254.32708.11.camel@carlo-desktop"
 type="cite">
  <pre wrap="">It is possible by specifying extra parameters with the goal.

<a class="moz-txt-link-freetext" href="http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html">http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html</a>

I don't have an example at hand.

Carlo

On Wed, 2006-09-20 at 07:54 -0700, Scott M Stark wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I agree, but this is the maven convention and as far as I know cannot be 
undone short of hacking the jar plugin.

Dimitris Andreadis wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">I've seen a few cases where in repository.jboss.com the version number
for a library is included in the library filename,

E.g.
antlr-2.7.6.jar
addressing-1.0.jar
odmg-3.0.jar
quartz-all-1.5.2.jar
dtdparser121.jar
commons-lang-2.1.jar
myfaces-impl-1.1.3.jar

Even worse:
Cglib/2.1.0/lib/cglib.jar, cglib-2.1.1.jar

This is wrong, because
- whenever a library is updated we have to correct all explicit
references to it
- If you don't wipe your thirdparty on every update you may end up with
3 different versions of the same library and wonder for hours what's
wrong.

The version is encoded in the path and the library's
META-INF/MANIFEST.MF, not the filename, e.g:

apache-logging/1.0.3/lib/commons-logging.jar

For existing libs the harm is already done, but for new library
additions to repository.jboss.com, please have that in mind and remove
any version number from the filenames.

Thanks
/Dimitris
  
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
</body>
</html>