I am trying to do a maven build (lets say A.jar), where the property file resides in one of the dependencies (lets say, B.jar) that I am adding. Is there any way to add the properties from B.jar to A.jar or to read them in some way from B.jar? I looked at some questions, but none of them were helpful. I need to run an exec-maven-plugin, the class needs to read two property files from B.jar to run. At this point, I am moving around in circles. Is there something like an overlay (maven-war-plugin) in maven-jar-plugin or something that is similar?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<archive>
<manifestEntries>
<Class-Path>.</Class-Path>
</manifestEntries>
</archive>
<classifier>classes</classifier>
<forceCreation>true</forceCreation>
</configuration>
</plugin>
This is my plugin configuration at the moment. But the plugin is very short of options! Thanks in advance!