Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7025

htl-maven-plugin: Correctly state default values for include parameter

    XMLWordPrintableJSON

Details

    Description

      Right now the default values for the includes are set programmatically within https://github.com/apache/sling/blob/trunk/tooling/maven/htl-maven-plugin/src/main/java/org/apache/sling/maven/htl/ValidateMojo.java#L217. That leads to the fact that the default value does not appear in the generated Maven site: http://sling.apache.org/components/htl-maven-plugin/validate-mojo.html.
      Please rather give the default via the annotation (https://maven.apache.org/plugin-tools/maven-plugin-tools-annotations/index.html#Supported_Annotations). You can even give multiple values as comma separated string (http://blog.sonatype.com/2011/03/configuring-plugin-goals-in-maven-3/). Due to https://issues.apache.org/jira/browse/MNG-5440 you should increase the minimum supported maven version to 3.3.9.

      Attachments

        1. SLING-7025-v01.patch
          7 kB
          Konrad Windszus

        Activity

          People

            radu Radu Cotescu
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: