Package org.apache.maven.tools.plugin.generator

Examples of org.apache.maven.tools.plugin.generator.Generator.execute()


            request.getPluginDescriptor().addMojo( mojoDescriptor );
        }

        Generator descriptorGenerator = new PluginDescriptorGenerator();

        descriptorGenerator.execute( new File( root, directory ), request );

        return request.getPluginDescriptor();
    }

    /**
 
View Full Code Here


        {
            File outputDir = new File( getOutputDirectory() );
            outputDir.mkdirs();

            Generator generator = new PluginXdocGenerator();
            generator.execute( outputDir, pluginDescriptor );
        }
        catch ( IOException e )
        {
            throw new MavenReportException( "Error writing plugin documentation", e );
        }
View Full Code Here

            request.getPluginDescriptor().addMojo( mojoDescriptor );
        }

        Generator descriptorGenerator = new PluginDescriptorGenerator( new SystemStreamLog() );

        descriptorGenerator.execute( new File( root, directory ), request );

        return request.getPluginDescriptor();
    }

    /**
 
View Full Code Here

            generator = new PluginXdocGenerator();
        }

        // Use the generator to process the discovered descriptors and produce
        // something with them.
        generator.execute( new File( outputDirectory ), pluginDescriptor );
    }
}
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.