Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0
-
None
-
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"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"
Description
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:
<reporting>
<excludeDefaults>true</excludeDefaults>
<outputDirectory></outputDirectory>
<plugins>
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.