Package org.apache.maven.it

Examples of org.apache.maven.it.Verifier.verifyErrorFreeLog()


    {
        File dir = TestUtils.getTestDir( "generate-from-override" );
        Verifier verifier = new Verifier( dir.getAbsolutePath() );
       
        verifier.executeGoal( "generate-resources" );
        verifier.verifyErrorFreeLog();
        verifier.resetStreams();
       
        File output = new File( dir, "target/maven-shared-archive-resources/DEPENDENCIES" );
        String content = FileUtils.fileRead( output );
       
View Full Code Here


        Verifier verifier = new Verifier( dir.getAbsolutePath() );
       
        verifier.getCliOptions().add( "-X" );
       
        verifier.executeGoal( "validate" );
        verifier.verifyErrorFreeLog();
        verifier.resetStreams();
       
        File output = new File( dir, "target/maven-shared-archive-resources/DEPENDENCIES" );
        String content = FileUtils.fileRead( output );
       
View Full Code Here

        Verifier verifier;

        verifier = new Verifier( dir.getAbsolutePath() );
        verifier.executeGoal( "deploy" );
        verifier.verifyErrorFreeLog();
        verifier.resetStreams();

        verifier = new Verifier( new File( dir, "project" ).getAbsolutePath() );

        verifier.deleteArtifacts( "org.apache.maven.plugin.rresource.it.gdp" );
View Full Code Here

        verifier = new Verifier( new File( dir, "project" ).getAbsolutePath() );

        verifier.deleteArtifacts( "org.apache.maven.plugin.rresource.it.gdp" );

        verifier.executeGoal( "generate-resources" );
        verifier.verifyErrorFreeLog();
        verifier.resetStreams();

        File output = new File( dir, "project/target/maven-shared-archive-resources/DEPENDENCIES" );
        String content = FileUtils.fileRead( output );
View Full Code Here

        verifier = new Verifier( dir.getAbsolutePath() );
        verifier.deleteArtifacts( "test" );
        verifier.getSystemProperties().setProperty( "it.dir", dir.getAbsolutePath() );
        verifier.executeGoal( "generate-resources" );
        verifier.verifyErrorFreeLog();
        verifier.resetStreams();

        File output = new File( dir, "target/maven-shared-archive-resources/DEPENDENCIES" );
        String content = FileUtils.fileRead( output );
View Full Code Here

        verifier = new Verifier( resources.getAbsolutePath() );
       
        verifier.deleteArtifacts( "org.apache.maven.plugin.rresource.it.mrr43" );

        verifier.executeGoal( "deploy" );
        verifier.verifyErrorFreeLog();
        verifier.resetStreams();

        verifier = new Verifier( dir.getAbsolutePath() );

        verifier.executeGoal( "generate-resources" );
View Full Code Here

        verifier.resetStreams();

        verifier = new Verifier( dir.getAbsolutePath() );

        verifier.executeGoal( "generate-resources" );
        verifier.verifyErrorFreeLog();
        verifier.resetStreams();

        File output = new File( dir, "target/maven-shared-archive-resources/DEPENDENCIES" );
        String content = FileUtils.fileRead( output );
       
View Full Code Here

    {
        File dir = TestUtils.getTestDir( "filter-local-override" );
        Verifier verifier = new Verifier( dir.getAbsolutePath() );
       
        verifier.executeGoal( "generate-resources" );
        verifier.verifyErrorFreeLog();
        verifier.resetStreams();
       
        File output = new File( dir, "target/maven-shared-archive-resources/DEPENDENCIES" );
        String content = FileUtils.fileRead( output );
       
View Full Code Here

    {
        File dir = TestUtils.getTestDir( "generate-from-bundle" );
        Verifier verifier = new Verifier( dir.getAbsolutePath() );
       
        verifier.executeGoal( "generate-resources" );
        verifier.verifyErrorFreeLog();
        verifier.resetStreams();
       
        File output = new File( dir, "target/maven-shared-archive-resources/DEPENDENCIES" );
        String content = FileUtils.fileRead( output );
       
View Full Code Here

        Verifier verifier;

        verifier = new Verifier( new File( dir, "resource-projects" ).getAbsolutePath() );
        verifier.executeGoal( "deploy" );
        verifier.verifyErrorFreeLog();
        verifier.resetStreams();

        verifier = new Verifier( dir.getAbsolutePath() );

        verifier.deleteArtifacts( "org.apache.maven.plugin.rresource.it.mrr41" );
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.