Examples of replaceProjectHeader()


Examples of gluebooster.maven.model.MavenModelBooster.replaceProjectHeader()

         }
        
         //create a simplified pom with logic in the validate-phase (other phases may fail because of the simplification) and use it as pom of the project.
         MavenModelBooster model = new MavenModelBooster();
         model.readModelFromXml(ProcessWebappMojo.class.getResourceAsStream("processWebapp-pom.xml"));
         model.replaceProjectHeader(project);
         String filename = "temp-processWebapp-pom.xml";
         File file = new File(project.getBasedir(), filename );
         getLog().info("writing file: "+ file);
         model.writeModelToXmlfile(file);
        
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.