Package org.apache.maven.plugin.assembly.mojos

Examples of org.apache.maven.plugin.assembly.mojos.DirectoryInlineMojo


        throws Exception
    {
        File testPom = new File( getBasedir(),
                                 "src/test/plugin-configs/directory-inline/min-plugin-config.xml" );

        DirectoryInlineMojo mojo = ( DirectoryInlineMojo ) lookupMojo( "directory-inline", testPom );

        assertNotNull( mojo );

        mojo.execute();

        Map filesArchived = ArchiverManagerStub.archiverStub.getFiles();

        Set files = filesArchived.keySet();
View Full Code Here


        throws Exception
    {
        File testPom = new File( getBasedir(),
                                 "src/test/plugin-configs/directory-inline/dependency-set-plugin-config.xml" );

        DirectoryInlineMojo mojo = ( DirectoryInlineMojo ) lookupMojo( "directory-inline", testPom );

        assertNotNull( mojo );

        MavenProject project = ( MavenProject ) getVariableValueFromObject( mojo, "project" );

        Set artifacts = project.getArtifacts();

        mojo.execute();

        Map filesArchived = ArchiverManagerStub.archiverStub.getFiles();

        Set files = filesArchived.keySet();
View Full Code Here

TOP

Related Classes of org.apache.maven.plugin.assembly.mojos.DirectoryInlineMojo

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.