push down scm-publish plugin

Allows ITs to be run with Maven 2.2.1 still

git-svn-id: https://svn.apache.org/repos/asf/incubator/npanday/trunk@1608817 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/plugins/pom.xml b/plugins/pom.xml
index c58d960..804d836 100644
--- a/plugins/pom.xml
+++ b/plugins/pom.xml
@@ -98,6 +98,19 @@
           <reportFormat>plain</reportFormat>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-scm-publish-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>scm-publish</id>
+            <phase>site-deploy</phase>
+            <goals>
+              <goal>publish-scm</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
     <pluginManagement>
       <plugins>
diff --git a/pom.xml b/pom.xml
index 4458efd..58ec371 100644
--- a/pom.xml
+++ b/pom.xml
@@ -339,24 +339,6 @@
         </configuration>
       </plugin>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-scm-publish-plugin</artifactId>
-        <version>1.1</version>
-        <configuration>
-          <checkoutDirectory>${checkoutDirectory}</checkoutDirectory>
-          <tryUpdate>true</tryUpdate>
-        </configuration>
-        <executions>
-          <execution>
-            <id>scm-publish</id>
-            <phase>site-deploy</phase>
-            <goals>
-              <goal>publish-scm</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
           <aggregate>true</aggregate>
@@ -375,6 +357,15 @@
       <plugins>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-scm-publish-plugin</artifactId>
+          <version>1.1</version>
+          <configuration>
+            <checkoutDirectory>${checkoutDirectory}</checkoutDirectory>
+            <tryUpdate>true</tryUpdate>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-plugin-plugin</artifactId>
           <version>2.5</version>
           <dependencies>
diff --git a/site/pom.xml b/site/pom.xml
index d7cff28..72c63a3 100644
--- a/site/pom.xml
+++ b/site/pom.xml
@@ -54,6 +54,15 @@
         <configuration>
           <content>${project.build.directory}/site</content>
         </configuration>
+        <executions>
+          <execution>
+            <id>scm-publish</id>
+            <phase>site-deploy</phase>
+            <goals>
+              <goal>publish-scm</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>