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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1, 3.2, 3.3
    • 3.5
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: