Ramón Rial created MSITE-694:
--------------------------------

             Summary: When maven.site.skip=true, mvn site:jar doesn't skip the 
generation of the jar
                 Key: MSITE-694
                 URL: https://jira.codehaus.org/browse/MSITE-694
             Project: Maven 2.x and 3.x Site Plugin
          Issue Type: Bug
    Affects Versions: 3.3, 3.2, 3.1
         Environment: No relevance
            Reporter: Ramón Rial
            Priority: Minor
         Attachments: minimal-site-jar.zip

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to