You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jim McCaskey (JIRA)" <ji...@codehaus.org> on 2011/12/07 16:55:41 UTC
[jira] Created: (MSITE-621) empty outputDirectory causes mvn clean
to delete whole tree
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
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
[jira] Commented: (MSITE-621) empty outputDirectory causes mvn
clean to delete whole tree
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Issue Comment Edited: (MSITE-621) empty outputDirectory
causes mvn clean to delete whole tree
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285187#comment-285187 ]
Herve Boutemy edited comment on MSITE-621 at 12/7/11 4:25 PM:
--------------------------------------------------------------
fixed in [r1211677|http://svn.apache.org/viewvc?rev=1211677&view=rev] and manually modified the live site
thanks for the report
was (Author: hboutemy):
fixed in [r1211677|http://svn.apache.org/viewvc?rev=1211677&view=rev] and manually modified the live site
> 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
[jira] Closed: (MSITE-621) empty outputDirectory causes mvn clean
to delete whole tree
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy closed MSITE-621.
-------------------------------
Resolution: Fixed
Fix Version/s: 3.1
Assignee: Herve Boutemy
fixed in [r1211677|http://svn.apache.org/viewvc?rev=1211677&view=rev] and manually modified the live site
> 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
[jira] Commented: (MSITE-621) empty outputDirectory causes mvn
clean to delete whole tree
Posted by "Jim McCaskey (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSITE-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285152#comment-285152 ]
Jim McCaskey commented on MSITE-621:
------------------------------------
I forgot to mention that the directories disappear when you run {{mvn clean}}
> 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
>
> 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