Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-775

add info output to site:attach-descriptor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.1
    • 3.6
    • site descriptor
    • None

    Description

      currently site:attach-descriptor does not display anything as info: you can only track what it does through debug (or discover what was attached when installing)
      it should display info when attaching a site descriptor and when skipping because not pom packaging, or even when no site descriptor is found:

      [INFO] --- maven-site-plugin:3.6-SNAPSHOT:attach-descriptor (attach-descriptor) @ site-attach-descriptor ---
      [INFO] Attaching 'src/site/site.xml' site descriptor with classifier 'site'.
      [INFO] Attaching 'src/site/site_sv.xml' site descriptor with classifier 'site_sv'.

      or

      [INFO] --- maven-site-plugin:3.6-SNAPSHOT:attach-descriptor (attach-descriptor) @ jar-site-attach-descriptor ---
      [INFO] Skipping because packaging 'jar' is not pom.

      or

      [INFO] --- maven-site-plugin:3.6-SNAPSHOT:attach-descriptor (attach-descriptor) @ no-descriptor-attach-descriptor ---
      [INFO] No site descriptor found: nothing to attach.

      Attachments

        Activity

          People

            hboutemy Herve Boutemy
            hboutemy Herve Boutemy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: