Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WAR Bundle can't not have a version #224

Closed
LukasJaks opened this issue Aug 10, 2023 · 3 comments · Fixed by #227
Closed

WAR Bundle can't not have a version #224

LukasJaks opened this issue Aug 10, 2023 · 3 comments · Fixed by #227

Comments

@LukasJaks
Copy link

It seems like its impossible for the bundle not to have version (as <bundle_id>_<bundle_version>.war). It doesn't seem to help defining "${project.artifactId}" in "".

For us, when we deploy the bundle, the URL of the project is the war file name, and as cool it is to have that in development, when we are deploying to "production" the version number just makes the URL complicated.

There seems to be piece of code that no matter what takes the version and appends it to the file name.

grafik
(cics-bundle-maven-plugin/src/main/java/com/ibm/cics/cbmp/PackageCICSBundleMojo.java static File createCICSBundle())

Would it be possible to add clause that checks if finalName is defined, and if so, use that and don't add version?

@stewartfrancis
Copy link
Contributor

Just making sure I understand, you're setting something like:

<project>
  <build>
    <finalName>helloWorld</finalName>
  </build>
</project>

in your Maven pom.xml, and you'd like us to write a CICS bundle called helloWorld.zip in the case that project.build.finalName is set?

@LukasJaks
Copy link
Author

Yes, that would be exactly what we need!

@ind1go
Copy link
Member

ind1go commented Jan 30, 2024

@LukasJaks this is available in plugin version 1.0.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants