commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chtom...@apache.org
Subject commons-build-plugin git commit: adding antrun site publication to pom
Date Thu, 30 Nov 2017 01:20:47 GMT
Repository: commons-build-plugin
Updated Branches:
  refs/heads/master 29994031c -> 85d80bdda


adding antrun site publication to pom


Project: http://git-wip-us.apache.org/repos/asf/commons-build-plugin/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-build-plugin/commit/85d80bdd
Tree: http://git-wip-us.apache.org/repos/asf/commons-build-plugin/tree/85d80bdd
Diff: http://git-wip-us.apache.org/repos/asf/commons-build-plugin/diff/85d80bdd

Branch: refs/heads/master
Commit: 85d80bddabd0e949bd3e0d1d7ad148045cd6bc86
Parents: 2999403
Author: Rob Tompkins <chtompki@gmail.com>
Authored: Wed Nov 29 20:19:57 2017 -0500
Committer: Rob Tompkins <chtompki@gmail.com>
Committed: Wed Nov 29 20:19:57 2017 -0500

----------------------------------------------------------------------
 pom.xml | 367 ++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 210 insertions(+), 157 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-build-plugin/blob/85d80bdd/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e8a928b..e2d1750 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,169 +15,222 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <groupId>org.apache.commons</groupId>
-        <artifactId>commons-parent</artifactId>
-        <version>42</version>
-    </parent>
-    <artifactId>commons-build-plugin</artifactId>
-    <packaging>maven-plugin</packaging>
-    <version>1.8-SNAPSHOT</version>
-    <name>Apache Commons Build Plugin Maven Mojo</name>
-    <description>
-        Apache Maven Mojo for Apache Commons Build tasks.
-    </description>
-    <url>http://commons.apache.org/proper/commons-build-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-build-plugin.git</connection>
-        <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-build-plugin.git</developerConnection>
-        <url>https://git-wip-us.apache.org/repos/asf?p=commons-build-plugin.git</url>
-    </scm>
-    <distributionManagement>
-      <site>
-        <id>commons.site</id>
-        <name>Apache Commons Site SVN</name>
-        <url>scm:svn:${commons.scmPubUrl}</url>
-      </site>
-    </distributionManagement>
-    <developers>
-        <developer>
-            <name>Niall Pemberton</name>
-            <id>niallp</id>
-            <email>niallp AT apache.org</email>
-        </developer>
-        <developer>
-            <name>Dennis Lundberg</name>
-            <id>dennisl</id>
-        </developer>
-        <developer>
-            <name>Gary Gregory</name>
-            <id>ggregory</id>
-            <email>ggregory AT apache.org</email>
-            <url>http://www.garygregory.com</url>
-            <timezone>-5</timezone>
-        </developer>
-    </developers>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.commons</groupId>
+    <artifactId>commons-parent</artifactId>
+    <version>42</version>
+  </parent>
+  <artifactId>commons-build-plugin</artifactId>
+  <packaging>maven-plugin</packaging>
+  <version>1.8-SNAPSHOT</version>
+  <name>Apache Commons Build Plugin Maven Mojo</name>
+  <description>
+    Apache Maven Mojo for Apache Commons Build tasks.
+  </description>
+  <url>http://commons.apache.org/proper/commons-build-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-build-plugin.git</connection>
+    <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-build-plugin.git</developerConnection>
+    <url>https://git-wip-us.apache.org/repos/asf?p=commons-build-plugin.git</url>
+  </scm>
+  <distributionManagement>
+    <site>
+      <id>commons.site</id>
+      <name>Apache Commons Site SVN</name>
+      <url>scm:svn:${commons.scmPubUrl}</url>
+    </site>
+  </distributionManagement>
+  <developers>
+    <developer>
+      <name>Niall Pemberton</name>
+      <id>niallp</id>
+      <email>niallp AT apache.org</email>
+    </developer>
+    <developer>
+      <name>Dennis Lundberg</name>
+      <id>dennisl</id>
+    </developer>
+    <developer>
+      <name>Gary Gregory</name>
+      <id>ggregory</id>
+      <email>ggregory AT apache.org</email>
+      <url>http://www.garygregory.com</url>
+      <timezone>-5</timezone>
+    </developer>
+  </developers>
 
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.maven</groupId>
-            <artifactId>maven-script-ant</artifactId>
-            <version>2.2.1</version>
-            <!-- maven-script-ant 2.2.1 depends on org.apache.ant 1.7.1 -->
-            <!-- Ant 1.7.0+ required for the "loadresource" Task -->
-            <!-- Ant 1.7.1 required for COMMONSSITE-35 -->
-        </dependency>
-    </dependencies>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-script-ant</artifactId>
+      <version>2.2.1</version>
+      <!-- maven-script-ant 2.2.1 depends on org.apache.ant 1.7.1 -->
+      <!-- Ant 1.7.0+ required for the "loadresource" Task -->
+      <!-- Ant 1.7.1 required for COMMONSSITE-35 -->
+    </dependency>
+  </dependencies>
 
-    <build>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <targetPath>resources</targetPath>
-            </resource>
-            <resource>
-                <directory>${basedir}</directory>
-                <targetPath>META-INF</targetPath>
-                <includes>
-                    <include>NOTICE.txt</include>
-                    <include>LICENSE.txt</include>
-                </includes>
-            </resource>
-        </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>
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <targetPath>resources</targetPath>
+      </resource>
+      <resource>
+        <directory>${basedir}</directory>
+        <targetPath>META-INF</targetPath>
+        <includes>
+          <include>NOTICE.txt</include>
+          <include>LICENSE.txt</include>
+        </includes>
+      </resource>
+    </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>
+        <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>
-                        <descriptor>src/assembly/src.xml</descriptor>
-                    </descriptors>
-                    <tarLongFileMode>gnu</tarLongFileMode>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <configuration>
-                    <useDefaultExcludes>true</useDefaultExcludes>
-                    <excludes>
-                        <!-- template files which will be inserted into the middle of
resulting page -->
-                        <exclude>src/main/resources/commons-xdoc-templates/download-page-body.xml</exclude>
-                        <exclude>src/main/resources/commons-xdoc-templates/download-page-foot.xml</exclude>
-                    </excludes>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>versions-maven-plugin</artifactId>
-                <!-- Version 2.2 causes an NPE with Maven 3.3.9 -->
-                <version>2.3</version>
-            </plugin>
-        </plugins>
-    </build>
-    <reporting>
+        <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>
+            <descriptor>src/assembly/src.xml</descriptor>
+          </descriptors>
+          <tarLongFileMode>gnu</tarLongFileMode>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <configuration>
+          <useDefaultExcludes>true</useDefaultExcludes>
+          <excludes>
+            <!-- template files which will be inserted into the middle of resulting page
-->
+            <exclude>src/main/resources/commons-xdoc-templates/download-page-body.xml</exclude>
+            <exclude>src/main/resources/commons-xdoc-templates/download-page-foot.xml</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>versions-maven-plugin</artifactId>
+        <!-- Version 2.2 causes an NPE with Maven 3.3.9 -->
+        <version>2.3</version>
+      </plugin>
+    </plugins>
+  </build>
+  <reporting>
+    <plugins>
+
+      <!-- exclude surefire report -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-report-plugin</artifactId>
+        <reportSets>
+          <reportSet/>
+        </reportSets>
+      </plugin>
+
+      <!-- exclude jdepend report -->
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>jdepend-maven-plugin</artifactId>
+        <reportSets>
+          <reportSet/>
+        </reportSets>
+      </plugin>
+    </plugins>
+  </reporting>
+  <properties>
+    <maven.compiler.source/>
+    <maven.compiler.target/>
+    <commons.manifestfile/>
+    <commons.componentid>commons-build-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-build-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>
 
-            <!-- exclude surefire report -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-report-plugin</artifactId>
-                <reportSets><reportSet /></reportSets>
-            </plugin>
+                    <exec executable="svn">
+                      <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs"/>
+                    </exec>
 
-            <!-- exclude jdepend report -->
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>jdepend-maven-plugin</artifactId>
-                <reportSets><reportSet /></reportSets>
-            </plugin>
+                    <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>
-    </reporting>
-    <properties>
-        <maven.compiler.source />
-        <maven.compiler.target />
-        <commons.manifestfile />
-        <commons.componentid>commons-build-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-build-plugin</commons.site.path>
-        <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${commons.site.path}</commons.scmPubUrl>
-    </properties>
+      </build>
+    </profile>
+  </profiles>
 </project>


Mime
View raw message