diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-01-11 18:05:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 18:05:53 +0100 |
commit | c8e3b733d2e6dc75b04fa563ab270724471d0bf7 (patch) | |
tree | 828a5f1fbbcb4014ee0653e9628d6001bd857317 /vespa-3party-jars/pom.xml | |
parent | aff7d01bd4ab328dc2686b71dc573f3c9c10522b (diff) | |
parent | 43a5ab35b4dfd0f4c5dd2bdbbc241345938d3142 (diff) |
Merge pull request #25518 from vespa-engine/bjorncs/slimmer-fat-jars
Don't embed JARs installed in lib/jars
Diffstat (limited to 'vespa-3party-jars/pom.xml')
-rw-r--r-- | vespa-3party-jars/pom.xml | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/vespa-3party-jars/pom.xml b/vespa-3party-jars/pom.xml new file mode 100644 index 00000000000..4c269e723b6 --- /dev/null +++ b/vespa-3party-jars/pom.xml @@ -0,0 +1,61 @@ +<?xml version="1.0"?> +<!-- Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. --> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 + http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>com.yahoo.vespa</groupId> + <artifactId>parent</artifactId> + <version>8-SNAPSHOT</version> + <relativePath>../parent/pom.xml</relativePath> + </parent> + <artifactId>vespa-3party-jars</artifactId> + <version>8-SNAPSHOT</version> + <packaging>pom</packaging> + <description> + List 3rd party Java libraries that should be installed to lib/jars. + These libraries are not embedded in fat jars produced by bundle-plugin's 'assemble-fat-jar' goal. + </description> + <dependencies> + <dependency> + <groupId>com.yahoo.vespa</groupId> + <artifactId>vespa-3party-bundles</artifactId> + <version>${project.version}</version> + <type>pom</type> + </dependency> + <dependency> + <groupId>org.bouncycastle</groupId> + <artifactId>bcpkix-jdk18on</artifactId> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <!-- Explicit for IntelliJ to detect correct language level from parent --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-dependencies</id> + <phase>package</phase> + <goals> + <goal>copy-dependencies</goal> + </goals> + </execution> + </executions> + <configuration> + <overWriteReleases>false</overWriteReleases> + <overWriteSnapshots>false</overWriteSnapshots> + <excludeTransitive>false</excludeTransitive> + </configuration> + </plugin> + </plugins> + </build> +</project> |