diff options
author | gjoranv <gv@verizonmedia.com> | 2019-10-20 19:09:07 +0200 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2019-10-22 14:31:19 +0200 |
commit | 50f898c1864dada0e8b8f96eb742947fafe4dd06 (patch) | |
tree | 3dd0524dc779d220b80dd4f148b9cc284f5aaf2d /bundle-plugin-test/test-bundles/artifact-version-for-exports/src/main/java | |
parent | 4a41de337c1f2c803b66bdfdf9c621d23e0aa2f4 (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/src/main/java')
2 files changed, 11 insertions, 0 deletions
diff --git a/bundle-plugin-test/test-bundles/artifact-version-for-exports/src/main/java/ai/vespa/explicitversion/package-info.java b/bundle-plugin-test/test-bundles/artifact-version-for-exports/src/main/java/ai/vespa/explicitversion/package-info.java new file mode 100644 index 00000000000..96cf6a3bf85 --- /dev/null +++ b/bundle-plugin-test/test-bundles/artifact-version-for-exports/src/main/java/ai/vespa/explicitversion/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 = 2, minor = 4, micro = 6, qualifier = "RELEASE")) +package ai.vespa.explicitversion; + +import com.yahoo.osgi.annotation.ExportPackage; +import com.yahoo.osgi.annotation.Version; diff --git a/bundle-plugin-test/test-bundles/artifact-version-for-exports/src/main/java/ai/vespa/noversion/package-info.java b/bundle-plugin-test/test-bundles/artifact-version-for-exports/src/main/java/ai/vespa/noversion/package-info.java new file mode 100644 index 00000000000..e7e11e39889 --- /dev/null +++ b/bundle-plugin-test/test-bundles/artifact-version-for-exports/src/main/java/ai/vespa/noversion/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; + +import com.yahoo.osgi.annotation.ExportPackage; |