Open holgerknoche opened 2 years ago
Thanks for raising this issue.
Your custom Maven plugin, is that generating program definitions that could not be generated using the @CICSProgram
annotation? Just checking that you are aware of that option and it's not available to you for some reason.
Thanks for your comment! As far as I know, the @CICSProgram
annotation only works for EARs and WARs deployed to Liberty, but not for OSGi bundles in a JVM server, which is what we mainly use.
Ah yes, I understand. Using @CICSProgram
for OSGi bundles is announced in CICS TS 6.1, which will be available soon.
We'll look further into this.
Just to check I have the correct understanding, do you mean the src/main/bundleParts
directory (instead of src/main/resources
)? Have you been able to use the bundlePartsDirectory
property?
Yes, that's the one. The bundlePartsDirectory
property does not really help here, because it is restricted to paths within src/main
. Unlike target
, these paths are usually under version control, and since we don't want to commit our generated artifacts, we have to manually exclude them.
We use a custom Maven plugin to generate program definitions from annotations in the Java classes. Being generated, we would like to store them somewhere in target/generated-resources. However, the plugin only allows to specify resource paths in src/main/resources. Could we get an option to also include CICS resources in an arbitrary location inside the project (or at least in target/generated-resources)?