Package org.apache.maven.execution

Examples of org.apache.maven.execution.DefaultRuntimeInformation.initialize()


    private EclipsePlugin newMojo()
        throws Exception
    {
        EclipsePlugin mojo = new EclipsePlugin();
        DefaultRuntimeInformation rti = new DefaultRuntimeInformation();
        rti.initialize();
        Field field = AbstractIdeSupportMojo.class.getDeclaredField( "runtimeInformation" );
        field.setAccessible( true );
        field.set( mojo, rti );
        return mojo;
    }
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.