<!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">
By adding a jar plugin with the following config to each project:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Drop the version info from the jar name --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;plugin&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;configuration&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;jarName&gt;${project.artifactId}&lt;/jarName&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/configuration&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/plugin&gt;<br>
<br>
everything builds correctly:<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] Reactor Summary:<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] JBoss Logging Programming Interface ................... SUCCESS
[1.643s]<br>
[INFO] JBoss Common Classes .................................. SUCCESS
[4.028s]<br>
[INFO] JBoss Logging Log4j ................................... SUCCESS
[0.663s]<br>
[INFO] JBoss Logging JDK ..................................... SUCCESS
[0.910s]<br>
[INFO] JBoss Common Build .................................... SUCCESS
[0.545s]<br>
[INFO]
------------------------------------------------------------------------<br>
<br>
and the target output has a simple jar name:<br>
<br>
[starksm@succubus 2.0.0]$ ls common-core/target/<br>
classes/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; jboss-common-core-2.0.0-sources.jar<br>
exported-pom.xml&nbsp; jboss-common-core.jar<br>
[starksm@succubus 2.0.0]$ ls common-logging-spi/target/<br>
classes/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; jboss-logging-spi-2.0.0-sources.jar<br>
exported-pom.xml&nbsp; jboss-logging-spi.jar<br>
<br>
but the local repository still has the full version info:<br>
/home/starksm/.m2/repository/jboss<br>
[starksm@succubus jboss]$ ls -R<br>
.:<br>
common/&nbsp; logging/<br>
<br>
./common:<br>
core/<br>
<br>
./common/core:<br>
jboss-common-core/<br>
<br>
./common/core/jboss-common-core:<br>
2.0.0/&nbsp; maven-metadata-local.xml<br>
<br>
./common/core/jboss-common-core/2.0.0:<br>
jboss-common-core-2.0.0.jar&nbsp; jboss-common-core-2.0.0-sources.jar<br>
jboss-common-core-2.0.0.pom<br>
<br>
./logging:<br>
jboss-logging-spi/&nbsp; jdk/&nbsp; log4j/<br>
<br>
./logging/jboss-logging-spi:<br>
2.0.0/&nbsp; maven-metadata-local.xml<br>
<br>
./logging/jboss-logging-spi/2.0.0:<br>
jboss-logging-spi-2.0.0.jar&nbsp; jboss-logging-spi-2.0.0-sources.jar<br>
jboss-logging-spi-2.0.0.pom<br>
<br>
./logging/jdk:<br>
jboss-logging-jdk/<br>
<br>
./logging/jdk/jboss-logging-jdk:<br>
2.0.0/&nbsp; maven-metadata-local.xml<br>
<br>
./logging/jdk/jboss-logging-jdk/2.0.0:<br>
jboss-logging-jdk-2.0.0.jar&nbsp; jboss-logging-jdk-2.0.0-sources.jar<br>
jboss-logging-jdk-2.0.0.pom<br>
<br>
./logging/log4j:<br>
jboss-logging-log4j/<br>
<br>
./logging/log4j/jboss-logging-log4j:<br>
2.0.0/&nbsp; maven-metadata-local.xml<br>
<br>
./logging/log4j/jboss-logging-log4j/2.0.0:<br>
jboss-logging-log4j-2.0.0.jar&nbsp; jboss-logging-log4j-2.0.0-sources.jar<br>
jboss-logging-log4j-2.0.0.pom<br>
<br>
<br>
Ryan Campbell wrote:
<blockquote
 cite="midC2CDEFBECFC9A14892BCCFB4C95F48680A094A8C@EX-201.mail.navisite.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
  </style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="Section1">
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Well,
removing the versioned jars will
break the maven builds depending on this module, such as security, with
more to
come. &nbsp;Maven is expecting the jars to have the version info in them.<o:p></o:p></span></font></p>
  </div>
</blockquote>
<br>
</body>
</html>