diff options
author | gjoranv <gv@verizonmedia.com> | 2019-10-20 19:09:07 +0200 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2019-10-23 12:26:58 +0200 |
commit | dd59b17378d9a5c380f305fd0865becf0fab9caf (patch) | |
tree | 46ff480984306271408c2eee5a4a0a1a1d9c8540 /bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/src/main | |
parent | 4f29f8a23a3297db5b0daa5748debf898b651e6c (diff) |
Add test with a bundle using artifact version as ExportPackages
- Verify that useArtifactVersionForExportPackages is honoured also
for a compile scoped bundle dependency.
Diffstat (limited to 'bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/src/main')
2 files changed, 11 insertions, 0 deletions
diff --git a/bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/src/main/java/ai/vespa/explicitversion_dep/package-info.java b/bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/src/main/java/ai/vespa/explicitversion_dep/package-info.java new file mode 100644 index 00000000000..3eea8b11f1e --- /dev/null +++ b/bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/src/main/java/ai/vespa/explicitversion_dep/package-info.java @@ -0,0 +1,6 @@ +// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +@ExportPackage(version = @Version(major = 3, minor = 6, micro = 9, qualifier = "RELEASE")) +package ai.vespa.explicitversion_dep; + +import com.yahoo.osgi.annotation.ExportPackage; +import com.yahoo.osgi.annotation.Version; diff --git a/bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/src/main/java/ai/vespa/noversion_dep/package-info.java b/bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/src/main/java/ai/vespa/noversion_dep/package-info.java new file mode 100644 index 00000000000..794e177f7e7 --- /dev/null +++ b/bundle-plugin-test/test-bundles/artifact-version-for-exports-dep/src/main/java/ai/vespa/noversion_dep/package-info.java @@ -0,0 +1,5 @@ +// Copyright 2019 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +@ExportPackage +package ai.vespa.noversion_dep; + +import com.yahoo.osgi.annotation.ExportPackage; |