diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2021-05-21 14:54:29 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2021-05-21 14:55:55 +0200 |
commit | c930230398a114acabe981b2328493b841f30296 (patch) | |
tree | 55171c1d476cd030eda997526a13ff8a993f5b60 /vespa-feed-client/pom.xml | |
parent | 75d097b2af8c0ef7b6e7fca57b284628e81aac54 (diff) |
Build and package standalone vespa-feed-client utility
Diffstat (limited to 'vespa-feed-client/pom.xml')
-rw-r--r-- | vespa-feed-client/pom.xml | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/vespa-feed-client/pom.xml b/vespa-feed-client/pom.xml index 4a44f1c0240..28196f6e9ce 100644 --- a/vespa-feed-client/pom.xml +++ b/vespa-feed-client/pom.xml @@ -18,36 +18,22 @@ </properties> <dependencies> - <!-- provided --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <scope>provided</scope> - </dependency> + <!-- compile scope --> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk15on</artifactId> - <scope>provided</scope> + <scope>compile</scope> </dependency> - - <!-- compile scope --> <dependency> <groupId>org.apache.httpcomponents.client5</groupId> <artifactId>httpclient5</artifactId> <scope>compile</scope> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - </exclusion> - </exclusions> </dependency> <dependency> <groupId>commons-cli</groupId> <artifactId>commons-cli</artifactId> <scope>compile</scope> </dependency> - <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> @@ -102,6 +88,24 @@ </execution> </executions> </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <configuration> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <!-- append to the packaging phase. --> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> </project> |