[ 
https://issues.apache.org/jira/browse/MSITE-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15104007#comment-15104007
 ] 

Hudson commented on MSITE-696:
------------------------------

SUCCESS: Integrated in maven-plugins #5006 (See 
[https://builds.apache.org/job/maven-plugins/5006/])
[MSITE-696] automatically skip deploy when maven.site.skip=true, ie site 
generation is skipped (hboutemy: 
[http://svn.apache.org/viewvc/?view=rev&rev=1725157])
* maven-site-plugin/src/it/site-skip/skip-site/pom.xml
* 
maven-site-plugin/src/main/java/org/apache/maven/plugins/site/AbstractSiteMojo.java
* 
maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java
* 
maven-site-plugin/src/main/java/org/apache/maven/plugins/site/render/SiteMojo.java


> site:deploy try to deploy the site of a sub module even if the property 
> maven.site.skip is set to true
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MSITE-696
>                 URL: https://issues.apache.org/jira/browse/MSITE-696
>             Project: Maven Site Plugin
>          Issue Type: Improvement
>          Components: multi module, site:deploy
>    Affects Versions: 3.2
>         Environment: Maven 3.0.5
>            Reporter: Rautureau
>             Fix For: 3.5
>
>
> Hi,
> when deploying a site of a multi module project (using {{mvn site-deploy}}),  
> the deploy goal tell me that the site cannot be deployed because it has no 
> been generated:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.2:deploy (default-deploy) on 
> project um-cgum: The site does not exist, please run site:site first -> [Help 
> 1]
> {code}
> It's true because I set in the submodule {{um-cgum}} the property 
> {{maven.site.skip}} to true.
> When I set the property {{maven.site.deploy.skip}} to true, the deploy goal 
> skip the deployment, which is fine.
> Why not skipping deployment if the site generation is skipped?
> thanks 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to