Resolve release build failures due to optional JARs (cherry picked from commit d5e1c50808238ff393ad552ff0d4b29997f94c53)
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/13eedd53 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/13eedd53 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/13eedd53 Branch: refs/heads/0.11.x Commit: 13eedd5317c0be2b95428e4a66e683ab8c68d608 Parents: 24ed1de Author: Richard Downer <[email protected]> Authored: Wed Apr 12 10:11:35 2017 +0100 Committer: Richard Downer <[email protected]> Committed: Wed Apr 12 10:20:32 2017 +0100 ---------------------------------------------------------------------- .../camp/brooklyn/catalog/CatalogOsgiYamlEntityTest.java | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/13eedd53/camp/camp-brooklyn/src/test/java/org/apache/brooklyn/camp/brooklyn/catalog/CatalogOsgiYamlEntityTest.java ---------------------------------------------------------------------- diff --git a/camp/camp-brooklyn/src/test/java/org/apache/brooklyn/camp/brooklyn/catalog/CatalogOsgiYamlEntityTest.java b/camp/camp-brooklyn/src/test/java/org/apache/brooklyn/camp/brooklyn/catalog/CatalogOsgiYamlEntityTest.java index f492f12..53b27f1 100644 --- a/camp/camp-brooklyn/src/test/java/org/apache/brooklyn/camp/brooklyn/catalog/CatalogOsgiYamlEntityTest.java +++ b/camp/camp-brooklyn/src/test/java/org/apache/brooklyn/camp/brooklyn/catalog/CatalogOsgiYamlEntityTest.java @@ -826,6 +826,9 @@ public class CatalogOsgiYamlEntityTest extends AbstractYamlTest { } private void addCatalogOSGiEntity(String symbolicName, String serviceType, boolean extraLib) { + TestResourceUnavailableException.throwIfResourceUnavailable(getClass(), OsgiStandaloneTest.BROOKLYN_TEST_OSGI_ENTITIES_PATH); + TestResourceUnavailableException.throwIfResourceUnavailable(getClass(), OsgiStandaloneTest.BROOKLYN_OSGI_TEST_A_0_1_0_PATH); + addCatalogItems( "brooklyn.catalog:", " id: " + symbolicName, @@ -842,6 +845,8 @@ public class CatalogOsgiYamlEntityTest extends AbstractYamlTest { } private void addCatalogChildOSGiEntityWithServicesBlock(String symbolicName, String serviceType) { + TestResourceUnavailableException.throwIfResourceUnavailable(getClass(), OsgiStandaloneTest.BROOKLYN_TEST_OSGI_ENTITIES_PATH); + addCatalogItems( "brooklyn.catalog:", " id: " + symbolicName,
