diff options
-rw-r--r-- | container-dev/pom.xml | 19 | ||||
-rw-r--r-- | container/pom.xml | 19 |
2 files changed, 38 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> 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> |