You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ramón Rial (JIRA)" <ji...@codehaus.org> on 2013/07/11 10:23:05 UTC

[jira] (MSITE-694) When maven.site.skip=true, mvn site:jar doesn't skip the generation of the jar

     [ https://jira.codehaus.org/browse/MSITE-694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: minimal-site-jar.zip

The minimal project to test the problem
                
> 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.1, 3.2, 3.3
>         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