When I look in WEB-INF/lib dir of my exploded war I see that some (but not
all) of my jars are missing their version number. A jar that should be named
mybiglib-1.0.4.jar is named mybiglib-RELEASE.jar. It is the right jar but
the wrong name. I have seen some old bugs on the issue but they were closed
as “can’t repro” or “don’t care because it works”.

We do use the RELEASE keyword for versioning in some cases but not all
artifacts that use the RELEASE keyword have this issue. I played with the
outputFileNameMapping attribute and could successfully append “foo” to my
jar names but the RELEASE keyword remained.

<outputFileNameMapping>@{artifact...@-@{versi...@-foo.@{extension}@
</outputFileNameMapping>
Yields mybiglib-RELEASE-foo.jar.
Should be mybiglib-1.0.4-foo.jar.

Is their any way to get consistent behavior in this regard? I would like my
jars in WEB-INF/lib to have version numbers in all cases.

Thanks,

L.K.

Reply via email to