chrisdchristo / capsule-maven-plugin

Capsule Maven Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make capsule name completely overridable

draenor opened this issue · comments

Type: Feature request

What:
To be able to configure the complete capsule name, not just the prefix defined by the customDescriptor <finalName><customDescriptor>.jar.

How:
I suggest adding a <finalName> attribute that permit users of the plugin to specify the complete name,

Why:
We want to preserve the original artifact naming, e.g., foo-1.7-SNAPSHOT-buildnum.jar to upload to artifact server. We walso want to assemble the capsule separately as foo.jar to easily deploy and re-deploy it.

Rationale:
The plugin creates a separate artifact next to the one default created during the package phase. As two separate artifacts they can have separate purpose and consequently the name is no longer guaranteed to be shared between the two.

This will be in the upcoming 1.5.0 release. But essentially we will have <fileName> and <fileDesc> to completely override the capsule jar's name - see here.

<fileName><fileDesc>.jar

Note that the <customDescriptor> has been removed and replaced with <fileDesc>.

Version 1.5.0 released.