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

When maven.site.skip=true, mvn site:jar doesn't skip the generation of the jar

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.2, 3.3
    • Fix Version/s: 3.5
    • Component/s: None
    • Labels:
      None
    • Environment:
      No relevance

      Description

      site:jar uses maven.site.skip only to avoid launch the site:site, but generates the -site.jar file with META-INF information.

      I've attached a minimal Maven project to test this.
      You can launch it to test with maven-site-plugin version 3.3:
      mvn -Dmaven.skip.test=true clean site:jar

      You can also launch with:
      mvn -Dsite.version=3.1 -Dmaven.skip.test=true clean site:jar

      where site.version is the version of the maven-site-plugin to test.

        Attachments

        1. minimal-site-jar.zip
          1 kB
          Ramón Rial

          Issue Links

            Activity

              People

              • Assignee:
                hboutemy Herve Boutemy
                Reporter:
                rrialq Ramón Rial
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: