summaryrefslogtreecommitdiffstats
path: root/bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/pom.xml')
-rw-r--r--bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/pom.xml16
1 files changed, 7 insertions, 9 deletions
diff --git a/bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/pom.xml b/bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/pom.xml
index e958618472b..34b250ae927 100644
--- a/bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/pom.xml
+++ b/bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/pom.xml
@@ -12,26 +12,24 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>artifact-version-for-exports-dep</artifactId>
- <version>3.2.1</version>
+ <!-- TODO: Should use a fixed version different than the dependent bundle.
+ But version is set to the release version by build scripts before building.
+ Then, the dependent bundle will not find the artifact. Skipping this step for a sub-module seems
+ impossible with the maven-versions-plugin, and cumbersome with factorylib. -->
+ <version>7-SNAPSHOT</version>
<packaging>container-plugin</packaging>
<dependencies>
- <dependency>
- <groupId>com.yahoo.vespa</groupId>
- <artifactId>container-dev</artifactId>
- <version>${project.parent.version}</version>
- <scope>provided</scope>
- </dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.yahoo.vespa</groupId>
<artifactId>bundle-plugin</artifactId>
- <version>${project.parent.version}</version>
+ <version>${project.version}</version>
<extensions>true</extensions>
<configuration>
<useArtifactVersionForExportPackages>true</useArtifactVersionForExportPackages>
- <configGenVersion>${project.parent.version}</configGenVersion>
+ <configGenVersion>${project.version}</configGenVersion>
</configuration>
</plugin>
</plugins>