summaryrefslogtreecommitdiffstats
path: root/hosted-tenant-base
diff options
context:
space:
mode:
authorjonmv <venstad@gmail.com>2022-06-08 10:59:30 +0200
committerjonmv <venstad@gmail.com>2022-06-08 10:59:30 +0200
commitf67e05b07124d379eace47c19cff0ac6413fc9b7 (patch)
treebd9a97fa23a28428f6fb9ee16e6852522594858a /hosted-tenant-base
parent47b0532fc97aebda3ac42aff3fce70fe88d18717 (diff)
Include JUnit engines and their dependencies in the test bundle
Diffstat (limited to 'hosted-tenant-base')
-rw-r--r--hosted-tenant-base/pom.xml16
1 files changed, 7 insertions, 9 deletions
diff --git a/hosted-tenant-base/pom.xml b/hosted-tenant-base/pom.xml
index a5b9c5d3f82..fc9257d1db3 100644
--- a/hosted-tenant-base/pom.xml
+++ b/hosted-tenant-base/pom.xml
@@ -252,17 +252,15 @@
<extensions>true</extensions>
<configuration>
<!-- override default test bundle scope translation which translates 'test' to 'compile' -->
- <!-- note: ordering affects how overrides are evaluated! -->
+ <!-- note: ordering affects how overrides are evaluated; put the most specific overrides first! -->
<testBundleScopeOverrides>
${extraTestBundleScopeOverrides},
- org.junit.jupiter:junit-jupiter-api:provided,
- org.junit.jupiter:junit-jupiter-engine:test,
- org.junit.vintage:junit-vintage-engine:test,
- com.yahoo.vespa:application:test,
- com.yahoo.vespa:container-test:test,
- com.yahoo.vespa:vespa-feed-client:test, <!-- prevent effective compile scope of vespa-feed-client in test bundle -->
- com.yahoo.vespa:vespa-feed-client-api:provided,
- com.yahoo.vespa:tenant-cd-api:provided
+ org.junit.jupiter:junit-jupiter-api:provided, <!-- ensure the api bundle provided by the tester container is used -->
+ com.yahoo.vespa:application:test, <!-- its transitive dependencies should be provided by the regular container -->
+ com.yahoo.vespa:container-test:test, <!-- its transitive dependencies should be provided by the regular container -->
+ com.yahoo.vespa:vespa-feed-client:test, <!-- ensure the implementation provided by the tester container is used -->
+ com.yahoo.vespa:vespa-feed-client-api:provided, <!-- ensure the api bundle provided by the tester container is used -->
+ com.yahoo.vespa:tenant-cd-api:provided <!-- ensure the api bundle provided by the tester container is used -->
</testBundleScopeOverrides>
</configuration>
<executions>