diff options
author | gjoranv <gv@yahooinc.com> | 2023-06-30 20:45:38 +0200 |
---|---|---|
committer | gjoranv <gv@yahooinc.com> | 2023-07-03 22:37:54 +0200 |
commit | 127832a12081c56731f5b669c1a2a0b2bd6568e6 (patch) | |
tree | 83e648e38071c9b8d251eab343b95d67d7dace44 /container | |
parent | d68aa292eec910fbfe339928eb62c993a41ac56d (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')
-rw-r--r-- | container/pom.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/container/pom.xml b/container/pom.xml index fa81ba333e1..c796d32ff0a 100644 --- a/container/pom.xml +++ b/container/pom.xml @@ -64,4 +64,23 @@ </exclusions> </dependency> </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> |