Examples of ArtifactStub


Examples of org.codehaus.mojo.cobertura.stubs.ArtifactStub

        // artifact = new ArtifactStub();
        // artifact.setFile( new File( PlexusTestCase.getBasedir() + "/target/classes" ) );
        // assertArtifactExists( artifact );
        // pluginClasspath.add( artifact );

        artifact = new ArtifactStub();
        artifact.setGroupId( "net.sourceforge.cobertura" );
        artifact.setArtifactId( "cobertura" );
        artifact.setVersion( "1.9.4.1" );
        artifact.setFile( new File( localRepository + "/net/sourceforge/cobertura/cobertura/1.9.4.1/cobertura-1.9.4.1.jar" ) );
        assertArtifactExists( artifact );
        pluginClasspath.add( artifact );

        artifact = new ArtifactStub();
        artifact.setGroupId( "log4j" );
        artifact.setArtifactId( "log4j" );
        artifact.setVersion( "1.2.9" );
        artifact.setFile( new File( localRepository + "/log4j/log4j/1.2.9/log4j-1.2.9.jar" ) );
        assertArtifactExists( artifact );
        pluginClasspath.add( artifact );

        artifact = new ArtifactStub();
        artifact.setGroupId( "org.apache.ant" );
        artifact.setArtifactId( "ant" );
        artifact.setVersion( "1.7.0" );
        artifact.setFile( new File( localRepository + "/org/apache/ant/ant/1.7.0/ant-1.7.0.jar" ) );
        assertArtifactExists( artifact );
        pluginClasspath.add( artifact );

        artifact = new ArtifactStub();
        artifact.setGroupId( "org.apache.ant" );
        artifact.setArtifactId( "ant-launcher" );
        artifact.setVersion( "1.7.0" );
        artifact.setFile( new File( localRepository + "/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar" ) );
        assertArtifactExists( artifact );
        pluginClasspath.add( artifact );

        artifact = new ArtifactStub();
        artifact.setGroupId( "oro" );
        artifact.setArtifactId( "oro" );
        artifact.setVersion( "2.0.8" );
        artifact.setFile( new File( localRepository + "/oro/oro/2.0.8/oro-2.0.8.jar" ) );
        assertArtifactExists( artifact );
        pluginClasspath.add( artifact );

        artifact = new ArtifactStub();
        artifact.setGroupId( "asm" );
        artifact.setArtifactId( "asm" );
        artifact.setVersion( "3.0" );
        artifact.setFile( new File( localRepository + "/asm/asm/3.0/asm-3.0.jar" ) );
        assertArtifactExists( artifact );
        pluginClasspath.add( artifact );

        artifact = new ArtifactStub();
        artifact.setGroupId( "asm" );
        artifact.setArtifactId( "asm-tree" );
        artifact.setVersion( "3.0" );
        artifact.setFile( new File( localRepository + "/asm/asm-tree/3.0/asm-tree-3.0.jar" ) );
        assertArtifactExists( artifact );
        pluginClasspath.add( artifact );

        artifact = new ArtifactStub();
        artifact.setGroupId( "net.sourceforge.cobertura" );
        artifact.setArtifactId( "cobertura-runtime" );
        artifact.setVersion( "1.9.4.1" );
        artifact.setFile( new File( localRepository +
            "/net/sourceforge/cobertura/cobertura-runtime/1.9.4.1/cobertura-runtime-1.9.4.1.pom" ) );
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.