I want to copy com.X.Y.jar to the desination directory com/X/Z/target/distribution-0.0.1-SNAPSHOT/bundle. The contents of this Jar file is used at runtime.
In com.X.Z's pom file, I have the following dependency configuration
<dependency>
<groupId>com.X</groupId>
<artifactId>com.X.Y</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
However, it is not copied into the bundle directory like other dependencies appear to be.
How can I ensure that this dependency is copied correctly?