diff options
author | gjoranv <gv@verizonmedia.com> | 2019-10-22 16:46:47 +0200 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2019-10-23 17:06:02 +0200 |
commit | eb182bfea2182d35994cbf5ca3d0ea0ec600379c (patch) | |
tree | c31ae462915bcb12a241e4578140f4612ae41e6c /bundle-plugin-test/test-bundles/artifact-version-for-exports-dep | |
parent | 23cb74eef6fef77964d5e5e2b0ee9dd2387f8f8e (diff) |
Use project.version also for the dependency test bundle.
- The automated build process updates the project version for all
modules.
- Unfortunately, this reduces the value of one of the test cases,
because the versions of the dependent and dependency bundles are
now the same.
Diffstat (limited to 'bundle-plugin-test/test-bundles/artifact-version-for-exports-dep')
-rw-r--r-- | bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/pom.xml | 16 |
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> |