Package com.netthreads.mavenize.pom

Examples of com.netthreads.mavenize.pom.PomGenerator


     *
     * @throws IOException
     */
    private void insertProjectPom(ProjectType projectType, String version, String packaging, List<ProjectFiles> projectFiles) throws IOException
    {
        PomGenerator pomGenerator = PomGeneratorFactory.instance().getGenerator(projectType);

        // For each project generate an appropriate pom file.
        for (ProjectFiles project : projectFiles)
        {
            File targetSrc = project.getTargetSrc();
            String targetSrcPath = targetSrc.getAbsolutePath();

            // If is a valid source direcory according to type.
            if (isValidSourceDir(projectType, targetSrcPath))
            {
                pomGenerator.generate(project, version, packaging);
            }
        }
    }
View Full Code Here

TOP

Related Classes of com.netthreads.mavenize.pom.PomGenerator

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.