[ https://jira.codehaus.org/browse/MSITE-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285202#comment-285202 ]
Lukas Theussl commented on MSITE-621: ------------------------------------- Shouldn't this be reported to MNG as well? If m2 does nothing and m3 removes everything, then this is a dangerous regression IMO. > empty outputDirectory causes mvn clean to delete whole tree > ----------------------------------------------------------- > > Key: MSITE-621 > URL: https://jira.codehaus.org/browse/MSITE-621 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: documentation > Affects Versions: 3.0 > Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 11:31:09-0600) > Maven home: D:\maven\apache-maven-3.0.3\bin\.. > Java version: 1.6.0_24, vendor: Sun Microsystems Inc. > Java home: D:\j2sdk1.6.0_24\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "x86", family: "windows" > Reporter: Jim McCaskey > Assignee: Herve Boutemy > Fix For: 3.1 > > > On this page: > http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Old_configuration_Maven_2__3 > There is this little code snippet: > {code} > <reporting> > <excludeDefaults>true</excludeDefaults> > <outputDirectory></outputDirectory> > <plugins> > {code} > Notice the empty outputDirectory property? Well, in Maven 2.2.1 that appears > to be ignored. In Maven 3.0.3 however, it deletes the entire project! The > documentation for this should be changed as soon as possible. We lost a bit > of work because of this. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira