Class FormatPomsMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="format",
          requiresProject=true,
          inheritByDefault=false)
    public class FormatPomsMojo
    extends org.apache.maven.plugin.AbstractMojo
    Formats the pom.xml files in the source tree.
    Since:
    0.1.0
    • Constructor Detail

      • FormatPomsMojo

        public FormatPomsMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException
      • virtualDepsCommentXPath

        public static String virtualDepsCommentXPath()
      • updateVirtualDependenciesAllExtensions

        public static void updateVirtualDependenciesAllExtensions​(List<org.apache.maven.shared.utils.io.DirectoryScanner> updateVirtualDependenciesAllExtensions,
                                                                  Set<Gavtcs> allExtensions,
                                                                  Charset charset)