summaryrefslogtreecommitdiffstats
path: root/container-dev
diff options
context:
space:
mode:
authorgjoranv <gv@yahooinc.com>2023-06-30 20:45:38 +0200
committergjoranv <gv@yahooinc.com>2023-07-03 22:37:54 +0200
commit127832a12081c56731f5b669c1a2a0b2bd6568e6 (patch)
tree83e648e38071c9b8d251eab343b95d67d7dace44 /container-dev
parentd68aa292eec910fbfe339928eb62c993a41ac56d (diff)
Add classpath to manifest for container(-dev) jar files.
- To be used by bundle-plugin to detect embedding provided jars.
Diffstat (limited to 'container-dev')
-rw-r--r--container-dev/pom.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/container-dev/pom.xml b/container-dev/pom.xml
index 7d5deba4392..f7d2c950742 100644
--- a/container-dev/pom.xml
+++ b/container-dev/pom.xml
@@ -281,4 +281,23 @@
</dependency>
<!-- DO NOT add dependencies here, but above the NOTE! -->
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <classpathLayoutType>custom</classpathLayoutType>
+ <customClasspathLayout>$${artifact.groupId}:$${artifact.artifactId}:$${artifact.version}</customClasspathLayout>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</project>