summaryrefslogtreecommitdiffstats
path: root/vespaclient-java/pom.xml
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahooinc.com>2023-01-24 12:54:57 +0100
committerBjørn Christian Seime <bjorncs@yahooinc.com>2023-01-24 12:56:01 +0100
commitbc588447cfccc10456a1ad0c14fa41e63ec0559b (patch)
treee9b05b1373022cc82a37e0a889d38632030bac15 /vespaclient-java/pom.xml
parenteec4962db2f6dc302f7195c1b20a6818dbc0178a (diff)
Build classic fatjar for standalone use
Diffstat (limited to 'vespaclient-java/pom.xml')
-rw-r--r--vespaclient-java/pom.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/vespaclient-java/pom.xml b/vespaclient-java/pom.xml
index 39965bd6d3b..3047433473f 100644
--- a/vespaclient-java/pom.xml
+++ b/vespaclient-java/pom.xml
@@ -97,6 +97,7 @@
<configuration><skip>true</skip></configuration>
</plugin>
<plugin>
+ <!-- For installation in vespa-home/lib/jars/ -->
<groupId>com.yahoo.vespa</groupId>
<artifactId>bundle-plugin</artifactId>
<executions>
@@ -106,6 +107,25 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <!-- For local dev usage -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>