How to load a property file from JBoss EAP's module inside a BPM Suite 6.1 script task?
Issue
I am placing my properties file on the EAP server under this folder structure and I want to be able to load the properties file using a script task.
I am using the kie-maven-plugin to build my kjar modules. I want my MANIFEST.MF file have a line like this:
Dependencies: com.mymodule.properties
If I was using a maven-war-plugin, I would be able to specify it like the example below. How do I do the same when using kie-maven-plugin?
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<archive>
<manifestEntries>
<Dependencies>com.mymodule.properties</Dependencies>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
Environment
- Red Hat JBoss BPM Suite (BPMS) 6.1.x
- Red Hat JBoss Enterprise Application Platform (EAP) 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.