[maven-release-plugin]  copy for tag enforcer-1.0-alpha-4

git-svn-id: https://svn.apache.org/repos/asf/maven/enforcer/tags/enforcer-1.0-alpha-4@694552 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/enforcer-api/pom.xml b/enforcer-api/pom.xml
index 5cd457d..93b4ac7 100644
--- a/enforcer-api/pom.xml
+++ b/enforcer-api/pom.xml
@@ -23,11 +23,11 @@
   <parent>
     <groupId>org.apache.maven.enforcer</groupId>
     <artifactId>enforcer</artifactId>
-    <version>1-SNAPSHOT</version>
+    <version>1</version>
   </parent>
   <artifactId>enforcer-api</artifactId>
   <packaging>jar</packaging>
-  <version>1.0-alpha-4-SNAPSHOT</version>
+  <version>1.0-alpha-4</version>
   <name>Enforcer API</name>
   <description>
     This component provides the generic interfaces needed to implement custom rules for the maven-enforcer-plugin.
diff --git a/enforcer-api/src/site/apt/index.apt b/enforcer-api/src/site/apt/index.apt
index 91bd33c..8c13142 100644
--- a/enforcer-api/src/site/apt/index.apt
+++ b/enforcer-api/src/site/apt/index.apt
@@ -26,7 +26,7 @@
 Maven Enforcer Rule API - Extending The Loving Iron Fist of Maven\x99
 
   Custom rules are easy to make with the <<<maven-enforcer-rule-api>>>. These rules can then be invoked with the 
-  {{{http://maven.apache.org/plugins/maven-enforcer-plugin/}maven-enforcer-plugin}}. 
+  {{{../../plugins/maven-enforcer-plugin/}maven-enforcer-plugin}}. 
   
   See {{{./writing-a-custom-rule.html}here}} for instructions on how to make your own rule.
  
\ No newline at end of file
diff --git a/enforcer-api/src/site/site.xml b/enforcer-api/src/site/site.xml
index ec3f9bc..5d51c8a 100644
--- a/enforcer-api/src/site/site.xml
+++ b/enforcer-api/src/site/site.xml
@@ -24,7 +24,7 @@
       <item name="Writing a custom rule" href="writing-a-custom-rule.html"/>
     </menu>
     <menu name="Rule Execution Engines">
-      <item name="Maven Enforcer Plugin" href="http://maven.apache.org/plugins/maven-enforcer-plugin"/>
+      <item name="Maven Enforcer Plugin" href="../../plugins/maven-enforcer-plugin"/>
     </menu>
   </body>
 </project>
\ No newline at end of file
diff --git a/enforcer-rules/pom.xml b/enforcer-rules/pom.xml
index 45e2fe4..d311d6c 100644
--- a/enforcer-rules/pom.xml
+++ b/enforcer-rules/pom.xml
@@ -23,11 +23,11 @@
   <parent>
     <groupId>org.apache.maven.enforcer</groupId>
     <artifactId>enforcer</artifactId>
-    <version>1-SNAPSHOT</version>
+    <version>1</version>
   </parent>
   <artifactId>enforcer-rules</artifactId>
   <packaging>jar</packaging>
-  <version>1.0-alpha-4-SNAPSHOT</version>
+  <version>1.0-alpha-4</version>
   <name>Enforcer Rules</name>
   <description>This component contains the standard Enforcer Rules</description>
   <build>
diff --git a/enforcer-rules/src/site/site.xml b/enforcer-rules/src/site/site.xml
index 2819489..da8b9d2 100644
--- a/enforcer-rules/src/site/site.xml
+++ b/enforcer-rules/src/site/site.xml
@@ -21,11 +21,11 @@
   <body>
     <menu name="Overview">
       <item name="Introduction" href="index.html"/>
-      <item name="Rule API" href="http://maven.apache.org/enforcer/enforcer-api/"/>
-      <item name="Maven Enforcer Plugin" href="http://maven.apache.org/plugins/maven-enforcer-plugin/"/>
+      <item name="Rule API" href="../enforcer-api/"/>
+      <item name="Maven Enforcer Plugin" href="../../plugins/maven-enforcer-plugin/"/>
     </menu>
     <menu name="Custom Rules">
-      <item name="Writing a custom rule" href="http://maven.apache.org/enforcer/enforcer-api/writing-a-custom-rule.html"/>
+      <item name="Writing a custom rule" href="../enforcer-api/writing-a-custom-rule.html"/>
     </menu>
   </body>
 </project>
diff --git a/maven-enforcer-plugin/pom.xml b/maven-enforcer-plugin/pom.xml
index 4231b7f..e86bd8a 100644
--- a/maven-enforcer-plugin/pom.xml
+++ b/maven-enforcer-plugin/pom.xml
@@ -23,14 +23,14 @@
   <parent>
     <groupId>org.apache.maven.enforcer</groupId>
     <artifactId>enforcer</artifactId>
-    <version>1-SNAPSHOT</version>
+    <version>1</version>
   </parent>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-enforcer-plugin</artifactId>
   <packaging>maven-plugin</packaging>
   <name>Maven Enforcer Plugin</name>
   <description>The Loving Iron Fist of Maven</description>
-  <version>1.0-alpha-4-SNAPSHOT</version>
+  <version>1.0-alpha-4</version>
   <url>http://maven.apache.org/plugins/maven-enforcer-plugin/</url>
   <issueManagement>
     <system>JIRA</system>
@@ -61,7 +61,7 @@
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      <url>scp://people.apache.org/www/maven.apache.org/plugins/maven-enforcer-plugin</url>
+      <url>${site.deploy.url}/plugins/maven-enforcer-plugin</url>
     </site>
   </distributionManagement>
   <build>
@@ -69,7 +69,6 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>cobertura-maven-plugin</artifactId>
-        <version>2.0</version>
         <executions>
           <execution>
             <phase>clean</phase>
@@ -87,6 +86,18 @@
           </stagingSiteURL>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-plugin-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>generated-helpmojo</id>
+            <goals>
+              <goal>helpmojo</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
     <resources>
       <!-- Include super-pom defined main/resources
@@ -143,4 +154,13 @@
       <artifactId>maven-plugin-testing-harness</artifactId>
     </dependency>
   </dependencies>
+  <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-plugin-plugin</artifactId>
+            <version>${maven.plugin.plugin.version}</version>
+          </plugin>
+        </plugins>
+      </reporting>
 </project>
diff --git a/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceOnceMojo.java b/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceOnceMojo.java
index 91ef828..7d6f17a 100644
--- a/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceOnceMojo.java
+++ b/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceOnceMojo.java
@@ -22,7 +22,7 @@
  */
 
 /**
- * This goal executes the defined enforcer-rules once per build.
+ * This goal has been deprecated.
  * 
  * @deprecated
  * @goal enforce-once
diff --git a/maven-enforcer-plugin/src/site/site.xml b/maven-enforcer-plugin/src/site/site.xml
index b312b91..ea7ddf8 100644
--- a/maven-enforcer-plugin/src/site/site.xml
+++ b/maven-enforcer-plugin/src/site/site.xml
@@ -24,10 +24,10 @@
       <item name="Goals" href="plugin-info.html"/>
       <item name="Usage" href="usage.html"/>
       <item name="FAQ" href="faq.html"/>
-      <item name="Standard Rules" href="http://maven.apache.org/enforcer/enforcer-rules/index.html"/>
+      <item name="Standard Rules" href="../../enforcer/enforcer-rules/index.html"/>
     </menu>
     <menu name="Custom Rules">
-      <item name="Writing a custom rule" href="http://maven.apache.org/enforcer/enforcer-api/writing-a-custom-rule.html"/>
+      <item name="Writing a custom rule" href="../../enforcer/enforcer-api/writing-a-custom-rule.html"/>
     </menu>
     <menu name="Resources">
       <item name="Maven 2.0.x Version Range Syntax" href="http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution#DependencyMediationandConflictResolution-DependencyVersionRanges" />
diff --git a/pom.xml b/pom.xml
index 5b9f692..a7eaf07 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,14 +22,13 @@
   <parent>
     <artifactId>maven-parent</artifactId>
     <groupId>org.apache.maven</groupId>
-    <version>9-SNAPSHOT</version>
-    <relativePath>../pom/maven/pom.xml</relativePath>
+    <version>9</version>
   </parent>
   <groupId>org.apache.maven.enforcer</groupId>
   <artifactId>enforcer</artifactId>
   <packaging>pom</packaging>
   <name>Enforcer</name>
-  <version>1-SNAPSHOT</version>
+  <version>1</version>
   <description>Enforcer is a build rule execution framework.</description>
   <url>http://maven.apache.org/enforcer</url>
   <prerequisites>
@@ -107,14 +106,16 @@
     </mailingList>
   </mailingLists>
   <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/enforcer/trunk/</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/enforcer/trunk/</developerConnection>
-    <url>http://svn.apache.org/viewcvs.cgi/maven/enforcer/trunk</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/enforcer/tags/enforcer-1.0-alpha-4</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/enforcer/tags/enforcer-1.0-alpha-4</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/maven/enforcer/tags/enforcer-1.0-alpha-4</url>
   </scm>
   <properties>
     <api.version>1.0-alpha-4-SNAPSHOT</api.version>
     <rules.version>1.0-alpha-4-SNAPSHOT</rules.version>
     <maven.version>2.0.9</maven.version>
+    <maven.plugin.plugin.version>2.4.3</maven.plugin.plugin.version>
+    <site.deploy.url>scp://people.apache.org/www/maven.apache.org</site.deploy.url>
   </properties>
   <build>
     <resources>
@@ -131,36 +132,15 @@
     <pluginManagement>
       <plugins>
         <plugin>
-          <artifactId>maven-install-plugin</artifactId>
-          <version>2.2</version>
-        </plugin>
-        <plugin>
           <artifactId>maven-compiler-plugin</artifactId>
-          <version>2.0.2</version>
           <configuration>
             <source>1.4</source>
             <target>1.4</target>
           </configuration>
         </plugin>
         <plugin>
-          <artifactId>maven-deploy-plugin</artifactId>
-          <version>2.3</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-jar-plugin</artifactId>
-          <version>2.1</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.3</version>
-        </plugin>
-        <plugin>
           <artifactId>maven-plugin-plugin</artifactId>
-          <version>2.3</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-resources-plugin</artifactId>
-          <version>2.2</version>
+          <version>${maven.plugin.plugin.version}</version>
         </plugin>
         <plugin>
           <artifactId>maven-release-plugin</artifactId>
@@ -168,17 +148,13 @@
             <tagBase>https://svn.apache.org/repos/asf/maven/enforcer/tags</tagBase>
           </configuration>
         </plugin>
-        <plugin>
-          <artifactId>maven-site-plugin</artifactId>
-          <version>2.0-beta-7</version>
-        </plugin>
       </plugins>
     </pluginManagement>
   </build>
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      <url>scp://people.apache.org/www/maven.apache.org/enforcer/</url>
+      <url>${site.deploy.url}/enforcer/</url>
     </site>
   </distributionManagement>
   <dependencyManagement>
@@ -186,17 +162,17 @@
       <dependency>
         <groupId>org.apache.maven.enforcer</groupId>
         <artifactId>enforcer-api</artifactId>
-        <version>${api.version}</version>
+        <version>1.0-alpha-4</version>
       </dependency>
       <dependency>
         <groupId>org.apache.maven.enforcer</groupId>
         <artifactId>enforcer-rules</artifactId>
-        <version>${rules.version}</version>
+        <version>1.0-alpha-4</version>
       </dependency>
       <dependency>
         <groupId>org.apache.maven.enforcer</groupId>
         <artifactId>enforcer-rules</artifactId>
-        <version>${rules.version}</version>
+        <version>1.0-alpha-4</version>
         <classifier>tests</classifier>
         <scope>test</scope>
       </dependency>
@@ -249,8 +225,27 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>cobertura-maven-plugin</artifactId>
-        <version>2.0</version>
+        <version>2.2</version>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.5</version>
+        <configuration>
+           <tagletArtifacts>
+             <tagletArtifact>
+                <groupId>org.apache.maven.plugin-tools</groupId>
+                <artifactId>maven-plugin-tools-javadoc</artifactId>
+                <version>2.4.3</version>
+             </tagletArtifact>
+             <tagletArtifact>
+               <groupId>org.codehaus.plexus</groupId>
+               <artifactId>plexus-javadoc</artifactId>
+               <version>1.0</version>
+             </tagletArtifact>
+           </tagletArtifacts>
+          </configuration>
+       </plugin>
     </plugins>
   </reporting>
   <modules>
diff --git a/src/site/site.xml b/src/site/site.xml
index 7ee288d..bf27722 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -19,18 +19,6 @@
 -->
 <project>
   <body>
-    <!-- TODO: use breadcrumbs more structure -->
-    <links>
-      <item name="Apache" href="http://www.apache.org/"/>
-      <item name="Maven 1.x" href="http://maven.apache.org/maven-1.x"/>
-      <item name="Maven 2.x" href="http://maven.apache.org/"/>
-      <item name="Maven 2.x Plugins" href="http://maven.apache.org/plugins/"/>
-      <item name="SCM" href="http://maven.apache.org/scm"/>
-      <item name="Wagon" href="http://maven.apache.org/wagon"/>
-      <item name="JXR" href="http://maven.apache.org/jxr"/>
-      <item name="Doxia" href="http://maven.apache.org/doxia"/>
-    </links>
-
     <menu ref="modules" />
   </body>
 </project>