Yes Martijn,
You are right, even with versioning it should be okay.
However in my scenario, the jar is part of a EAR.
Used and executed, as
j2EE dependeny, by the web application; deployed in side of gerinomo. (all business logic exists in the .jar)
But a requirement exists, to execute business logic via a cron scheduler; using
java -jar ApplicationBizLogic.jar
When the maven build prepares the EAR and deploys it on gernimo, all shared libraries/ jars in <APP-SERVER>\shared\lib are
without the version info;
while the manifest.mf in the ApplicationBizLogic.jar has version info in the Class-Path
and so cannot be executed using
java -jar ApplicationBizLogic.jar.
So my query, on how to strip out version-info, in the maven jar plugin.
~g1