Class MavenProjectUtilities


  • public class MavenProjectUtilities
    extends Object
    • Method Detail

      • getProjectModules

        public static List<String> getProjectModules​(File pom,
                                                     boolean recursively)
      • getRecursiveProjectModules

        public static List<String> getRecursiveProjectModules​(List<String> modules)
      • getRawPomModel

        public static org.apache.maven.model.Model getRawPomModel​(File pom)
      • createModelResolver

        public static org.apache.maven.model.resolution.ModelResolver createModelResolver()
                                                                                   throws org.apache.maven.settings.building.SettingsBuildingException,
                                                                                          MavenException
        Throws:
        org.apache.maven.settings.building.SettingsBuildingException
        MavenException
      • writeModel

        public static void writeModel​(File destination,
                                      org.apache.maven.model.Model model)
                               throws IOException
        Throws:
        IOException