diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-06-16 14:32:11 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-06-16 14:32:11 +0200 |
commit | cc77f9b091c96bc30eea51f92b8db64e40cb9ea1 (patch) | |
tree | 34487ca274e78fec2e6438310e4fa4851cab50f3 /tenant-cd-api/pom.xml | |
parent | 5e1a29a49da48285e3f7037bf5bfff5dae5fb45d (diff) |
Export junit5 annotations
Diffstat (limited to 'tenant-cd-api/pom.xml')
-rw-r--r-- | tenant-cd-api/pom.xml | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/tenant-cd-api/pom.xml b/tenant-cd-api/pom.xml index b9b4d136317..f909c704029 100644 --- a/tenant-cd-api/pom.xml +++ b/tenant-cd-api/pom.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. --> +<!-- Copyright Verizon Media. 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"> @@ -10,7 +10,7 @@ <name>Hosted Vespa tenant CD API</name> <description>Test API library for hosted Vespa applications.</description> <url>https://github.com/vespa-engine</url> - <packaging>jar</packaging> + <packaging>container-plugin</packaging> <parent> <groupId>com.yahoo.vespa</groupId> @@ -20,10 +20,42 @@ </parent> <dependencies> + <!-- provided --> + <dependency> + <groupId>com.yahoo.vespa</groupId> + <artifactId>annotations</artifactId> + <version>${project.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <!-- required for bundle-plugin to generate import-package statements for Java's standard library --> + <groupId>com.yahoo.vespa</groupId> + <artifactId>jdisc_core</artifactId> + <version>${project.version}</version> + <scope>provided</scope> + </dependency> + + <!-- compile --> <dependency> <groupId>org.junit.jupiter</groupId> - <artifactId>junit-jupiter-engine</artifactId> + <artifactId>junit-jupiter-api</artifactId> + <version>5.4.2</version> <!-- NOTE: This version must match the string in all ExportPackage annotations --> + <scope>compile</scope> </dependency> </dependencies> + <build> + <plugins> + <plugin> + <groupId>com.yahoo.vespa</groupId> + <artifactId>bundle-plugin</artifactId> + <extensions>true</extensions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + </plugin> + </plugins> + </build> + </project> |