aboutsummaryrefslogtreecommitdiffstats
path: root/config-proxy
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahooinc.com>2023-01-10 17:35:00 +0100
committerBjørn Christian Seime <bjorncs@yahooinc.com>2023-01-11 16:50:51 +0100
commit43a5ab35b4dfd0f4c5dd2bdbbc241345938d3142 (patch)
treeb6e8244e36b6cd9621b925ff946a6fe64de749c3 /config-proxy
parentc6191deb7c5fd1501c1d07b3cae0c8e8b9486434 (diff)
Don't embed JARs installed in lib/jars
Define installed JARs in vespa-3party-jars. Add bundle-plugin goal wrapping maven-shade-plugin's DefaultShader that excludes installed JARs and lists them in manifest's Class-Path instead.
Diffstat (limited to 'config-proxy')
-rw-r--r--config-proxy/pom.xml25
1 files changed, 9 insertions, 16 deletions
diff --git a/config-proxy/pom.xml b/config-proxy/pom.xml
index aeccead46ce..51fba61563f 100644
--- a/config-proxy/pom.xml
+++ b/config-proxy/pom.xml
@@ -81,20 +81,20 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <configuration>
- <finalName>${project.artifactId}-jar-with-dependencies</finalName>
- <createDependencyReducedPom>false</createDependencyReducedPom>
- </configuration>
+ <artifactId>maven-install-plugin</artifactId>
+ <configuration><skip>true</skip></configuration>
+ </plugin>
+ <plugin>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>bundle-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
+ <goals><goal>assemble-fat-jar</goal></goals>
</execution>
</executions>
- </plugin> <plugin>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
@@ -102,13 +102,6 @@
<forkMode>once</forkMode>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <configuration>
- <updateReleaseInfo>true</updateReleaseInfo>
- </configuration>
- </plugin>
</plugins>
</build>
</project>