summaryrefslogtreecommitdiffstats
path: root/tenant-base
diff options
context:
space:
mode:
authorjonmv <venstad@gmail.com>2022-05-04 15:45:26 +0200
committerjonmv <venstad@gmail.com>2022-05-04 15:45:26 +0200
commit31856c1e4e1897f725bea9f6eadb3d846787ec0f (patch)
tree089b32fc26f003801ec3e2d08abf3e2e378e4517 /tenant-base
parent85def741cdb1879a83d88e0cdbb405b496c24c17 (diff)
Work around strange Maven plugin resolution
Diffstat (limited to 'tenant-base')
-rw-r--r--tenant-base/pom.xml24
1 files changed, 17 insertions, 7 deletions
diff --git a/tenant-base/pom.xml b/tenant-base/pom.xml
index 8d54fe53f46..6a6ea3b77a3 100644
--- a/tenant-base/pom.xml
+++ b/tenant-base/pom.xml
@@ -304,6 +304,23 @@
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
</properties>
</profile>
+ <profile>
+ <id>default-build</id> <!-- Delays resolution of bundle plugin to where Maven has the repos from child projects? -->
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>bundle-plugin</artifactId>
+ <version>${vespaversion}</version>
+ <extensions>true</extensions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>
<build>
@@ -423,13 +440,6 @@
</plugin>
<plugin>
- <groupId>com.yahoo.vespa</groupId>
- <artifactId>bundle-plugin</artifactId>
- <version>${vespaversion}</version>
- <extensions>true</extensions>
- </plugin>
-
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>