Package org.guvnor.common.services.project.service

Examples of org.guvnor.common.services.project.service.POMService.load()


     
      if (project == null) {
        throw new IllegalArgumentException("Unable to find project " + projectUri);
      }
     
      POM pom = pomService.load(project.getPomXMLPath());
      pom.getGav().setVersion(version);
      pomService.save(project.getPomXMLPath(), pom, null, "Update project version during release");
      executionResults.setData("GAV", pom.getGav().toString());
    }
View Full Code Here


        // update all pom.xml files of projects on the dev branch       
        Set<Project> projects = getProjects(repo, ioService, projectService);
       
        for (Project project : projects) {
         
          POM pom = pomService.load(project.getPomXMLPath());
          pom.getGav().setVersion(version);
          pomService.save(project.getPomXMLPath(), pom, null, "Update project version on development branch");
          executionResults.setData(project.getProjectName() "-GAV", pom.getGav().toString());
        }
      }
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.