Examples of versionAsInProject()


Examples of org.ops4j.pax.exam.options.MavenArtifactProvisionOption.versionAsInProject()

        MavenArtifactProvisionOption mapo =  mavenBundle().groupId(groupId).artifactId(artifactId);
        mapo.type("xml");
        mapo.classifier("features");

        if (version == null) {
            mapo.versionAsInProject();
        } else {
            mapo.version(version);
        }

        LOG.info("Features URL : " + mapo.getURL());
View Full Code Here

Examples of org.ops4j.pax.exam.options.MavenArtifactProvisionOption.versionAsInProject()

    public static UrlReference getCamelKarafFeatureUrl(String version) {
        String type = "xml";
        String classifier = "features";
        MavenArtifactProvisionOption mavenOption = getFeatureUrl("org.apache.camel.karaf", "apache-camel");
        if (version == null) {
            return mavenOption.versionAsInProject().type(type).classifier(classifier);
        } else {
            return mavenOption.version(version).type(type).classifier(classifier);
        }
    }
View Full Code Here

Examples of org.ops4j.pax.exam.options.MavenArtifactProvisionOption.versionAsInProject()

    public static UrlReference getCamelKarafFeatureUrl(String version) {
        String type = "xml/features";
        MavenArtifactProvisionOption mavenOption = getFeatureUrl("org.apache.camel.karaf", "apache-camel");
        if (version == null) {
            return mavenOption.versionAsInProject().type(type);
        } else {
            return mavenOption.version(version).type(type);
        }
    }
View Full Code Here

Examples of org.ops4j.pax.exam.options.MavenArtifactProvisionOption.versionAsInProject()

    public static UrlReference getCamelKarafFeatureUrl(String version) {
        String type = "xml/features";
        MavenArtifactProvisionOption mavenOption = getFeatureUrl("org.apache.camel.karaf", "apache-camel");
        if (version == null) {
            return mavenOption.versionAsInProject().type(type);
        } else {
            return mavenOption.version(version).type(type);
        }
    }
View Full Code Here

Examples of org.ops4j.pax.exam.options.MavenArtifactProvisionOption.versionAsInProject()

    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

Examples of org.ops4j.pax.exam.options.MavenArtifactProvisionOption.versionAsInProject()

    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
TOP
Copyright © 2018 www.massapi.com. 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.