IBM / cics-bundle-maven

The plugin to build and deploy CICS bundles in a Maven build.
https://ibm.github.io/cics-bundle-maven/plugin-info.html
Eclipse Public License 2.0
18 stars 25 forks source link

Use project.build.finalName to derive artifact name #227

Closed stewartfrancis closed 7 months ago

stewartfrancis commented 1 year ago

Fixes #224

Note that the bundle is now created without a version, as verified by test-bundle-war-final-name. Internally within the bundle zip, the resulting war file will still have a version.

Note that if you're using the deploy goal with the bundle deploy API, the resulting bundle directory will still have the version number in, as it's derived from the version in the manifest within the bundle file, not the bundle file name.

This is still useful for scenarios where you're deploying the resulting bundle file yourself though

davenice commented 7 months ago

OK - @ind1go showed me that final name is a pre-existing maven feature which we're just overriding in this case, so the behaviour is remaining equivalent!