Package org.ops4j.pax.exam.options

Examples of org.ops4j.pax.exam.options.MavenArtifactProvisionOption


            karafVersion = "2.4.0";
        }
        return karafVersion;
    }
    public static MavenArtifactProvisionOption getJUnitBundle() {
        MavenArtifactProvisionOption mavenOption = mavenBundle().groupId("org.apache.servicemix.bundles")
            .artifactId("org.apache.servicemix.bundles.junit");
        mavenOption.versionAsInProject().start(true).startLevel(10);
        return mavenOption;
    }
View Full Code Here


    public static UrlReference getCamelKarafFeatureUrl() {
        return getCamelKarafFeatureUrl(null);
    }

    public static MavenArtifactProvisionOption getJUnitBundle() {
        MavenArtifactProvisionOption mavenOption = mavenBundle().groupId("org.apache.servicemix.bundles")
            .artifactId("org.apache.servicemix.bundles.junit");
        mavenOption.versionAsInProject().start(true).startLevel(10);
        return mavenOption;
    }
View Full Code Here

        return mavenOption;
    }
    public static UrlReference getCamelKarafFeatureUrl(String version) {

        String type = "xml/features";
        MavenArtifactProvisionOption mavenOption = mavenBundle().groupId("org.apache.camel.karaf").artifactId("apache-camel");
        if (version == null) {
            return mavenOption.versionAsInProject().type(type);
        } else {
            return mavenOption.version(version).type(type);
        }
    }
View Full Code Here

    Option[] options = PermissionAdminMBeanTest.configuration();
   
    for (int i = 0; i < options.length; i++)
    {
      if (options[i] instanceof MavenArtifactProvisionOption) {
        MavenArtifactProvisionOption po = (MavenArtifactProvisionOption) options[i];
        String url = po.getURL();
        if (url.contains("mvn:org.apache.aries.jmx/org.apache.aries.jmx/")) {
          options[i] = ExtraOptions.mavenBundle("org.apache.aries.jmx", "org.apache.aries.jmx.core.whiteboard");
        }
      }
    }
View Full Code Here

    Option[] options = FrameworkMBeanTest.configuration();
   
    for (int i = 0; i < options.length; i++)
    {
      if (options[i] instanceof MavenArtifactProvisionOption) {
        MavenArtifactProvisionOption po = (MavenArtifactProvisionOption) options[i];
        String url = po.getURL();
        if (url.contains("mvn:org.apache.aries.jmx/org.apache.aries.jmx/")) {
          options[i] = ExtraOptions.mavenBundle("org.apache.aries.jmx", "org.apache.aries.jmx.core.whiteboard");
        }
      }
    }
View Full Code Here

    Option[] options = ServiceStateMBeanTest.configuration();
   
    for (int i = 0; i < options.length; i++)
    {
      if (options[i] instanceof MavenArtifactProvisionOption) {
        MavenArtifactProvisionOption po = (MavenArtifactProvisionOption) options[i];
        String url = po.getURL();
        if (url.contains("mvn:org.apache.aries.jmx/org.apache.aries.jmx/")) {
          options[i] = ExtraOptions.mavenBundle("org.apache.aries.jmx", "org.apache.aries.jmx.core.whiteboard");
        }
      }
    }
View Full Code Here

    Option[] options = ConfigurationAdminMBeanTest.configuration();
   
    for (int i = 0; i < options.length; i++)
    {
      if (options[i] instanceof MavenArtifactProvisionOption) {
        MavenArtifactProvisionOption po = (MavenArtifactProvisionOption) options[i];
        String url = po.getURL();
        if (url.contains("mvn:org.apache.aries.jmx/org.apache.aries.jmx/")) {
          options[i] = ExtraOptions.mavenBundle("org.apache.aries.jmx", "org.apache.aries.jmx.core.whiteboard");
        }
      }
    }
View Full Code Here

    Option[] options = PackageStateMBeanTest.configuration();
   
    for (int i = 0; i < options.length; i++)
    {
      if (options[i] instanceof MavenArtifactProvisionOption) {
        MavenArtifactProvisionOption po = (MavenArtifactProvisionOption) options[i];
        String url = po.getURL();
        if (url.contains("mvn:org.apache.aries.jmx/org.apache.aries.jmx/")) {
          options[i] = ExtraOptions.mavenBundle("org.apache.aries.jmx", "org.apache.aries.jmx.core.whiteboard");
        }
      }
    }
View Full Code Here

    Option[] options = BundleStateMBeanTest.configuration();
   
    for (int i = 0; i < options.length; i++)
    {
      if (options[i] instanceof MavenArtifactProvisionOption) {
        MavenArtifactProvisionOption po = (MavenArtifactProvisionOption) options[i];
        String url = po.getURL();
        if (url.contains("mvn:org.apache.aries.jmx/org.apache.aries.jmx/")) {
          options[i] = ExtraOptions.mavenBundle("org.apache.aries.jmx", "org.apache.aries.jmx.core.whiteboard");
        }
      }
    }
View Full Code Here

    Option[] options = ProvisioningServiceMBeanTest.configuration();
   
    for (int i = 0; i < options.length; i++)
    {
      if (options[i] instanceof MavenArtifactProvisionOption) {
        MavenArtifactProvisionOption po = (MavenArtifactProvisionOption) options[i];
        String url = po.getURL();
        if (url.contains("mvn:org.apache.aries.jmx/org.apache.aries.jmx/")) {
          options[i] = ExtraOptions.mavenBundle("org.apache.aries.jmx", "org.apache.aries.jmx.core.whiteboard");
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.ops4j.pax.exam.options.MavenArtifactProvisionOption

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.