Author: vsiveton
Date: Thu Jan 10 17:58:29 2008
New Revision: 611015

URL: http://svn.apache.org/viewvc?rev=611015&view=rev
Log:
MNG-3360: Added the documentation in the Maven release

o do a checkout of the site trunk, invoke it and package it in the Maven release
o updated the README

Modified:
    maven/components/branches/maven-2.0.x/maven-core/README.txt
    maven/components/branches/maven-2.0.x/maven-core/pom.xml
    maven/components/branches/maven-2.0.x/maven-core/src/assemble/bin.xml

Modified: maven/components/branches/maven-2.0.x/maven-core/README.txt
URL: 
http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-core/README.txt?rev=611015&r1=611014&r2=611015&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core/README.txt (original)
+++ maven/components/branches/maven-2.0.x/maven-core/README.txt Thu Jan 10 
17:58:29 2008
@@ -4,13 +4,15 @@
   What is it?
   -----------
 
-  Maven is a software project management and comprehension tool. Based on 
+  Maven is a software project management and comprehension tool. Based on
   the concept of a Project Object Model (POM), Maven can manage a project's
   build, reporting and documentation from a central piece of information.
 
   Documentation
   -------------
 
+  The documentation available as of the date of this release is included in
+  HTML format in the docs/ directory.
   The most up-to-date documentation can be found at http://maven.apache.org/.
 
   Release Notes
@@ -22,7 +24,7 @@
   -------------------
 
   JDK:
-    1.4 or above (this is to execute Maven - it still allows you to build 
against 1.3 
+    1.4 or above (this is to execute Maven - it still allows you to build 
against 1.3
     and prior JDK's).
   Memory:
     No minimum requirement.

Modified: maven/components/branches/maven-2.0.x/maven-core/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-core/pom.xml?rev=611015&r1=611014&r2=611015&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core/pom.xml (original)
+++ maven/components/branches/maven-2.0.x/maven-core/pom.xml Thu Jan 10 
17:58:29 2008
@@ -32,6 +32,43 @@
   <build>
     <plugins>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-scm-plugin</artifactId>
+        <configuration>
+          
<connectionUrl>scm:svn:http://svn.apache.org/repos/asf/maven/site/trunk</connectionUrl>
+          
<checkoutDirectory>${project.build.directory}/maven-site</checkoutDirectory>
+        </configuration>
+        <executions>
+          <execution>
+            <phase>initialize</phase>
+            <goals>
+              <goal>checkout</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-invoker-plugin</artifactId>
+        <configuration>
+          
<projectsDirectory>${project.build.directory}/maven-site</projectsDirectory>
+          <pom>${project.build.directory}/maven-site/pom.xml</pom>
+          <goals>
+            <goal>clean</goal>
+            <goal>site</goal>
+          </goals>
+        </configuration>
+        <executions>
+          <execution>
+            <id>initialize</id>
+            <phase>initialize</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
         <artifactId>maven-shade-plugin</artifactId>
         <version>1.0-alpha-15</version>
         <executions>

Modified: maven/components/branches/maven-2.0.x/maven-core/src/assemble/bin.xml
URL: 
http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-core/src/assemble/bin.xml?rev=611015&r1=611014&r2=611015&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core/src/assemble/bin.xml 
(original)
+++ maven/components/branches/maven-2.0.x/maven-core/src/assemble/bin.xml Thu 
Jan 10 17:58:29 2008
@@ -55,7 +55,7 @@
       <includes>
         <include>m2</include>
         <include>mvn</include>
-               <include>mvnDebug</include>
+        <include>mvnDebug</include>
       </includes>
       <lineEnding>unix</lineEnding>
       <fileMode>0755</fileMode>
@@ -70,6 +70,10 @@
       <includes>
         <include>maven-*-uber.jar</include>
       </includes>
+    </fileSet>
+    <fileSet>
+      <directory>target/maven-site/target/site</directory>
+      <outputDirectory>docs</outputDirectory>
     </fileSet>
   </fileSets>
 </assembly>


Reply via email to