Getting project buildable

Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/9f86ea72
Tree: 
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/9f86ea72
Diff: 
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/9f86ea72

Branch: refs/heads/master
Commit: 9f86ea7205b8538251b1d5bc283874b0f728bca2
Parents: 22442ec
Author: Rob Tompkins <chtom...@gmail.com>
Authored: Fri Dec 22 21:08:22 2017 -0500
Committer: Rob Tompkins <chtom...@gmail.com>
Committed: Fri Dec 22 21:08:22 2017 -0500

----------------------------------------------------------------------
 pom.xml                                         | 118 ++++---------------
 .../mojos/AbstractCommonsBuildPluginMojo.java   |   2 +-
 .../plugin/mojos/CommonsBuildPluginMojo.java    |   2 +-
 .../commons/build/plugin/package-info.java      |  17 +++
 4 files changed, 45 insertions(+), 94 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/9f86ea72/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 444d72f..0a25031 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,20 +27,26 @@
   <packaging>maven-plugin</packaging>
   <version>0.1-SNAPSHOT</version>
   <name>Apache Commons Release Plugin Maven Mojo</name>
+
   <description>
     Apache Maven Mojo for Apache Commons Release tasks.
   </description>
+
   <url>http://commons.apache.org/proper/commons-release-plugin/</url>
+
   <issueManagement>
     <system>jira</system>
     <url>http://issues.apache.org/jira/browse/COMMONSSITE</url>
   </issueManagement>
+
   <inceptionYear>2008</inceptionYear>
+
   <scm>
     
<connection>scm:git:http://git-wip-us.apache.org/repos/asf/commons-release-plugin.git</connection>
     
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-release-plugin.git</developerConnection>
     
<url>https://git-wip-us.apache.org/repos/asf?p=commons-release-plugin.git</url>
   </scm>
+
   <distributionManagement>
     <site>
       <id>commons.site</id>
@@ -48,6 +54,7 @@
       <url>scm:svn:${commons.scmPubUrl}</url>
     </site>
   </distributionManagement>
+
   <developers>
     <developer>
       <name>Rob Tompkins</name>
@@ -57,12 +64,27 @@
     </developer>
   </developers>
 
+  <properties>
+    <maven.compiler.source>1.7</maven.compiler.source>
+    <maven.compiler.target>1.7</maven.compiler.target>
+    <commons.manifestfile/>
+    <commons.componentid>commons-release-plugin</commons.componentid>
+    <commons.jira.id>COMMONSSITE</commons.jira.id>
+    <commons.jira.pid>12310466&amp;amp;component=12312401</commons.jira.pid>
+    <commons.release.version>${project.version}</commons.release.version>
+    <commons.rc.version>RC1</commons.rc.version>
+    <commons.site.path>commons-release-plugin</commons.site.path>
+    <commons.scmPubUrl>
+      
https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${commons.site.path}
+    </commons.scmPubUrl>
+    
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
+  </properties>
+
   <dependencies>
     <dependency>
-      <groupId>org.apache.maven.plugin-tools</groupId>
-      <artifactId>maven-plugin-tools</artifactId>
-      <version>3.5</version>
-      <type>pom</type>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-plugin-api</artifactId>
+      <version>3.5.2</version>
     </dependency>
     <dependency>
       <groupId>org.apache.maven.plugin-tools</groupId>
@@ -88,34 +110,6 @@
     </resources>
     <plugins>
       <plugin>
-        <artifactId>maven-plugin-plugin</artifactId>
-        <version>2.9</version>
-        <!-- Add the Ant plugin tools to the plugin -->
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.maven.plugin-tools</groupId>
-            <artifactId>maven-plugin-tools-ant</artifactId>
-            <version>2.9</version>
-          </dependency>
-        </dependencies>
-
-        <configuration>
-          <goalPrefix>commons</goalPrefix>
-        </configuration>
-
-        <executions>
-          <execution>
-            <phase>pre-site</phase>
-            <goals>
-              <goal>xdoc</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>target/plugin-generated-xdocs</outputDirectory>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
           <descriptors>
@@ -166,64 +160,4 @@
       </plugin>
     </plugins>
   </reporting>
-  <properties>
-    <maven.compiler.source>1.7</maven.compiler.source>
-    <maven.compiler.target>1.7</maven.compiler.target>
-    <commons.manifestfile/>
-    <commons.componentid>commons-release-plugin</commons.componentid>
-    <commons.jira.id>COMMONSSITE</commons.jira.id>
-    <commons.jira.pid>12310466&amp;amp;component=12312401</commons.jira.pid>
-    <commons.release.version>${project.version}</commons.release.version>
-    <commons.rc.version>RC1</commons.rc.version>
-    <commons.site.path>commons-release-plugin</commons.site.path>
-    <commons.scmPubUrl>
-      
https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${commons.site.path}
-    </commons.scmPubUrl>
-    
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
-  </properties>
-  <profiles>
-    <profile>
-      <id>setup-checkout</id>
-      <activation>
-        <file>
-          <missing>site-content</missing>
-        </file>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>prepare-checkout</id>
-                <phase>pre-site</phase>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <configuration>
-                  <tasks>
-                    <exec executable="svn">
-                      <arg line="checkout --depth immediates 
${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}"/>
-                    </exec>
-
-                    <exec executable="svn">
-                      <arg line="update --set-depth exclude 
${commons.scmPubCheckoutDirectory}/javadocs"/>
-                    </exec>
-
-                    <pathconvert pathsep=" " property="dirs">
-                      <dirset dir="${commons.scmPubCheckoutDirectory}" 
includes="*"/>
-                    </pathconvert>
-                    <exec executable="svn">
-                      <arg line="update --set-depth infinity ${dirs}"/>
-                    </exec>
-                  </tasks>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
 </project>

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/9f86ea72/src/main/java/org/apache/commons/build/plugin/mojos/AbstractCommonsBuildPluginMojo.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/build/plugin/mojos/AbstractCommonsBuildPluginMojo.java
 
b/src/main/java/org/apache/commons/build/plugin/mojos/AbstractCommonsBuildPluginMojo.java
index c3bedc4..ad26d7c 100644
--- 
a/src/main/java/org/apache/commons/build/plugin/mojos/AbstractCommonsBuildPluginMojo.java
+++ 
b/src/main/java/org/apache/commons/build/plugin/mojos/AbstractCommonsBuildPluginMojo.java
@@ -22,7 +22,7 @@ import org.apache.maven.plugin.AbstractMojo;
  * Contains the logging mechanics for the commons-build-plugin.
  *
  * @author chtompki
- * @since 1.8
+ * @since 1.0
  */
 public abstract class AbstractCommonsBuildPluginMojo extends AbstractMojo {
 }

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/9f86ea72/src/main/java/org/apache/commons/build/plugin/mojos/CommonsBuildPluginMojo.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/build/plugin/mojos/CommonsBuildPluginMojo.java
 
b/src/main/java/org/apache/commons/build/plugin/mojos/CommonsBuildPluginMojo.java
index 32d3ba6..ae75b57 100644
--- 
a/src/main/java/org/apache/commons/build/plugin/mojos/CommonsBuildPluginMojo.java
+++ 
b/src/main/java/org/apache/commons/build/plugin/mojos/CommonsBuildPluginMojo.java
@@ -21,7 +21,7 @@ import org.apache.maven.plugins.annotations.Mojo;
 
 /**
  * @author chtompki
- * @since 1.8
+ * @since 1.0
  */
 @Mojo( name = "test", threadSafe = true )
 public class CommonsBuildPluginMojo extends AbstractMojo {

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/9f86ea72/src/test/java/org/apache/commons/build/plugin/package-info.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/build/plugin/package-info.java 
b/src/test/java/org/apache/commons/build/plugin/package-info.java
new file mode 100644
index 0000000..b3a065a
--- /dev/null
+++ b/src/test/java/org/apache/commons/build/plugin/package-info.java
@@ -0,0 +1,17 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.build.plugin;
\ No newline at end of file

Reply via email to