Class WarPluginInfo


  • public class WarPluginInfo
    extends java.lang.Object
    WarPluginInfo

    Information about the maven-war-plugin contained in the pom

    • Constructor Detail

      • WarPluginInfo

        public WarPluginInfo​(org.apache.maven.project.MavenProject project)
    • Method Detail

      • getPlugin

        public org.apache.maven.model.Plugin getPlugin()
        Find the maven-war-plugin, if one is configured
        Returns:
        the plugin
      • getDependentMavenWarIncludes

        public java.util.List<java.lang.String> getDependentMavenWarIncludes()
        Get value of dependentWarIncludes for maven-war-plugin
        Returns:
        the list of dependent war includes
      • getDependentMavenWarExcludes

        public java.util.List<java.lang.String> getDependentMavenWarExcludes()
        Get value of dependentWarExcludes for maven-war-plugin
        Returns:
        the list of dependent war excludes
      • getMavenWarOverlayConfigs

        public java.util.List<OverlayConfig> getMavenWarOverlayConfigs()
        Get config for any overlays that have been declared for the maven-war-plugin.
        Returns:
        the list of overlay configs
      • getMavenWarOverlayConfigAsString

        public java.lang.String getMavenWarOverlayConfigAsString()
        Returns:
        the xml as a string