summaryrefslogtreecommitdiffstats
path: root/hosted-tenant-base
diff options
context:
space:
mode:
authorgjoranv <gv@yahooinc.com>2023-06-05 17:23:09 +0200
committergjoranv <gv@yahooinc.com>2023-06-05 17:23:09 +0200
commit0af5ca184bcb38af4e5724d320042944312e324e (patch)
tree773a34f4096bdbba488a646262a8147a5c6daa96 /hosted-tenant-base
parentef14c4c963c7515679eb8092d218dfe857f9d503 (diff)
Add mvn property to simplify use of bundle-plugin's failOnWarnings
Diffstat (limited to 'hosted-tenant-base')
-rw-r--r--hosted-tenant-base/pom.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosted-tenant-base/pom.xml b/hosted-tenant-base/pom.xml
index 289854173c3..adde2a32720 100644
--- a/hosted-tenant-base/pom.xml
+++ b/hosted-tenant-base/pom.xml
@@ -33,6 +33,7 @@
<properties>
<vespaversion>${project.version}</vespaversion>
+ <bundle-plugin.failOnWarnings>false</bundle-plugin.failOnWarnings>
<target_jdk_version>17</target_jdk_version>
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
@@ -260,6 +261,7 @@
<version>${vespaversion}</version>
<extensions>true</extensions>
<configuration>
+ <failOnWarnings>${bundle-plugin.failOnWarnings}</failOnWarnings>
<!-- override default test bundle scope translation which translates 'test' to 'compile' -->
<!-- note: ordering affects how overrides are evaluated; put the most specific overrides first! -->
<testBundleScopeOverrides>