Re: Maven site documentation problem

2011-12-08 Thread Kathryn Huxtable
Let's hear it for version control. Also undelete. -K

On Dec 7, 2011, at 9:58 AM, Jim McCaskey wrote:

 Hello all,
 
 As a sort of public service announcement I would like to point out a problem 
 with the docs here:
 
 http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Old_configuration_Maven_2__3
 
 It has this little snippet at the top:
 
  reporting
excludeDefaultstrue/excludeDefaults
outputDirectory/outputDirectory
plugins
 
 Notice that empty outputDirectory?  Well Maven 2.2.1 appears to ignore it.  
 Maven 3.0.3 however, deletes the entire tree.  The entire tree, including 
 your pom.xml and your /src directory.  Use with extreme caution.
 
 I opened this issue to track the documentation issue:
 
 http://jira.codehaus.org/browse/MSITE-621
 
 I'm not sure if the maven-clean-plugin should prevent this sort of thing or 
 not (probably not).  But the docs should be updated for the next unaware 
 traveler. :)
 
 -Jim
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Maven site documentation problem

2011-12-07 Thread Jim McCaskey
Hello all,

As a sort of public service announcement I would like to point out a problem 
with the docs here:

http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Old_configuration_Maven_2__3

It has this little snippet at the top:

  reporting
excludeDefaultstrue/excludeDefaults
outputDirectory/outputDirectory
plugins

Notice that empty outputDirectory?  Well Maven 2.2.1 appears to ignore it.  
Maven 3.0.3 however, deletes the entire tree.  The entire tree, including your 
pom.xml and your /src directory.  Use with extreme caution.

I opened this issue to track the documentation issue:

http://jira.codehaus.org/browse/MSITE-621

I'm not sure if the maven-clean-plugin should prevent this sort of thing or not 
(probably not).  But the docs should be updated for the next unaware traveler. 
:)

-Jim


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org