aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>