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 AbstractExtensionListMojo
    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
      • updateTestVirtualDependencies

        public static org.l2x6.pom.tuner.PomTransformer.Transformation updateTestVirtualDependencies​(Predicate<org.l2x6.pom.tuner.model.Gavtcs> isExtension)
      • updateVirtualDependenciesAllExtensions

        public static void updateVirtualDependenciesAllExtensions​(List<org.apache.maven.shared.utils.io.DirectoryScanner> updateVirtualDependenciesAllExtensions,
                                                                  Set<org.l2x6.pom.tuner.model.Gavtcs> allExtensions,
                                                                  Charset charset,
                                                                  org.l2x6.pom.tuner.PomTransformer.SimpleElementWhitespace simpleElementWhitespace)