Do not hard-code the artifact version 64/4664/2
authorRobert Varga <rovarga@cisco.com>
Thu, 23 Jan 2014 21:21:49 +0000 (22:21 +0100)
committerRobert Varga <rovarga@cisco.com>
Fri, 24 Jan 2014 06:39:07 +0000 (07:39 +0100)
Change-Id: Iff3363dfb35060fafc2243b72b4346120d78d760
Signed-off-by: Robert Varga <rovarga@cisco.com>
integration-tests/src/test/java/org/opendaylight/protocol/integration/AbstractBundleTest.java

index eb2ce6b3d8c57652e7f85c2418ccbac3e168cfb9..4d255a9411b7b773870b6f387f163ecd5fac0424 100644 (file)
@@ -34,7 +34,6 @@ import org.osgi.framework.BundleException;
 @ExamReactorStrategy(PerMethod.class)
 public abstract class AbstractBundleTest {
        private static final String GROUP = "org.opendaylight.bgpcep";
-       private static final String VERSION = "0.3.0-SNAPSHOT";
 
        @Inject
        BundleContext ctx;
@@ -90,11 +89,11 @@ public abstract class AbstractBundleTest {
                final List<Option> options = coreBundles();
 
                for (final String s : prerequisiteBundles()) {
-                       options.add(mavenBundle(GROUP, s, VERSION));
+                       options.add(mavenBundle(GROUP, s).versionAsInProject());
                }
 
                for (final String s : requiredBundles()) {
-                       options.add(mavenBundle(GROUP, s, VERSION));
+                       options.add(mavenBundle(GROUP, s).versionAsInProject());
                }
 
                options.addAll(Arrays.asList(junitBundles()));