[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/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/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 c70479b..e86bd8a 100644
--- a/maven-enforcer-plugin/pom.xml
+++ b/maven-enforcer-plugin/pom.xml
@@ -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 6b01b79..a7eaf07 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,6 @@
<artifactId>maven-parent</artifactId>
<groupId>org.apache.maven</groupId>
<version>9</version>
- <relativePath>../pom/maven/pom.xml</relativePath>
</parent>
<groupId>org.apache.maven.enforcer</groupId>
<artifactId>enforcer</artifactId>
@@ -115,6 +114,8 @@
<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>
@@ -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>