Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
jbi-maven-plugin-4.1
-
None
-
Maven 2.1.0
-
Patch Available
Description
I have an SA in which I want to include a .properties file that's been modified during the build using a filter, like:
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
unfortunately the resulting build produces a .jar that contains my .properties file correctly filtered and a .zip that contains all my SUs. The .zip file should also contain my .properties file. Looking at the code it appears that GenerateServiceAssemblyMojo doesn't include the build output directory (target/classes) when creating the SA .zip file. I'll attach a patch for this.