Package org.ops4j.pax.exam.options

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


        String projectVersion = System.getProperty("project.version");
        String karafVersion = System.getProperty("karaf.version");
        MavenArtifactUrlReference karafUrl = maven().groupId("org.apache.karaf").artifactId("apache-karaf")
            .version(karafVersion).type("tar.gz");
        MavenUrlReference xkmsFeatures = maven().groupId("org.apache.cxf.services.xkms")
            .artifactId("cxf-services-xkms-features").version(projectVersion).type("xml");

        return new Option[] {
                            
            karafDistributionConfiguration().frameworkUrl(karafUrl).karafVersion(karafVersion)
View Full Code Here


        String projectVersion = System.getProperty("project.version");
        String karafVersion = System.getProperty("karaf.version");
        MavenArtifactUrlReference karafUrl = maven().groupId("org.apache.karaf").artifactId("apache-karaf")
            .version(karafVersion).type("tar.gz");
        MavenUrlReference xkmsFeatures = maven().groupId("org.apache.cxf.services.xkms")
            .artifactId("cxf-services-xkms-features").version(projectVersion).type("xml");

        return new Option[] {
            karafDistributionConfiguration().frameworkUrl(karafUrl).karafVersion(karafVersion)
                .unpackDirectory(new File("target/paxexam/unpack/")).useDeployFolder(false),
View Full Code Here

        String projectVersion = System.getProperty("project.version");
        String karafVersion = System.getProperty("karaf.version");
        MavenArtifactUrlReference karafUrl = maven().groupId("org.apache.karaf").artifactId("apache-karaf")
            .version(karafVersion).type("tar.gz");
        MavenUrlReference xkmsFeatures = maven().groupId("org.apache.cxf.services.xkms")
            .artifactId("cxf-services-xkms-features").version(projectVersion).type("xml");

        return new Option[] {
            karafDistributionConfiguration().frameworkUrl(karafUrl).karafVersion(karafVersion)
                .unpackDirectory(new File("target/paxexam/unpack/")).useDeployFolder(false),
View Full Code Here

        String projectVersion = System.getProperty("project.version");
        String karafVersion = System.getProperty("karaf.version");
        MavenArtifactUrlReference karafUrl = maven().groupId("org.apache.karaf").artifactId("apache-karaf")
            .version(karafVersion).type("tar.gz");
        MavenUrlReference xkmsFeatures = maven().groupId("org.apache.cxf.services.xkms")
            .artifactId("cxf-services-xkms-features").version(projectVersion).type("xml");

        return new Option[] {
            karafDistributionConfiguration().frameworkUrl(karafUrl).karafVersion(karafVersion)
                .unpackDirectory(new File("target/paxexam/unpack/")).useDeployFolder(false),
View Full Code Here

        .groupId( "org.apache.karaf" )
        .artifactId( "apache-karaf" )
        .type( "tar.gz" )
        .versionAsInProject();

    MavenUrlReference karafStandardRepo = maven()
        .groupId( "org.apache.karaf.features" )
        .artifactId( "standard" )
        .classifier( "features" )
        .type( "xml" )
        .versionAsInProject();
View Full Code Here

        String projectVersion = System.getProperty("project.version");
        String karafVersion = System.getProperty("karaf.version");
        MavenArtifactUrlReference karafUrl = maven().groupId("org.apache.karaf").artifactId("apache-karaf")
            .version(karafVersion).type("tar.gz");
        MavenUrlReference xkmsFeatures = maven().groupId("org.apache.cxf.services.xkms")
            .artifactId("cxf-services-xkms-features").version(projectVersion).type("xml");

        return new Option[] {
                            
            karafDistributionConfiguration().frameworkUrl(karafUrl).karafVersion(karafVersion)
View Full Code Here

        return connectionFactory;
    }

    @Configuration
    public Option[] config() {
        MavenUrlReference activeMQFeature = maven().groupId("org.apache.activemq")
            .artifactId("activemq-karaf").type("xml").classifier("features").versionAsInProject();
        return new Option[] {
            cxfBaseConfig(),
            logLevel(LogLevel.INFO),
            features(activeMQFeature, "activemq-broker-noweb"),
View Full Code Here

            .groupId("org.apache.karaf")
            .artifactId("apache-karaf")
            .version(karafVersion())
            .type("zip");

        MavenUrlReference karafStandardRepo = maven()
            .groupId("org.apache.karaf.features")
            .artifactId("standard")
            .version(karafVersion())
            .classifier("features")
            .type("xml");
View Full Code Here

     * Create an {@link org.ops4j.pax.exam.Option} for using a .
     *
     * @return
     */
    protected Option cxfBaseConfig() {
        MavenUrlReference karafUrl = maven()
            .groupId("org.apache.karaf")
            .artifactId("apache-karaf")
            .versionAsInProject()
            .type("tar.gz");
        MavenUrlReference cxfUrl = maven()
            .groupId("org.apache.cxf.karaf")
            .artifactId("apache-cxf")
            .versionAsInProject()
            .type("xml")
            .classifier("features");
View Full Code Here

TOP

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

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.