You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2018/01/11 02:09:25 UTC
commons-release-plugin git commit: Adding documentation to include
parameter for dryRun
Repository: commons-release-plugin
Updated Branches:
refs/heads/1.0 febb8b37a -> 2f48a0ebd
Adding documentation to include parameter for dryRun
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/2f48a0eb
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/2f48a0eb
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/2f48a0eb
Branch: refs/heads/1.0
Commit: 2f48a0ebd07318419b4d92a7e7b594f4fca47428
Parents: febb8b3
Author: Rob Tompkins <ch...@apache.org>
Authored: Wed Jan 10 21:09:17 2018 -0500
Committer: Rob Tompkins <ch...@apache.org>
Committed: Wed Jan 10 21:09:17 2018 -0500
----------------------------------------------------------------------
pom.xml | 68 ++++++++++++++++++++++++++++++++++++++++++++
src/site/xdoc/index.xml | 1 +
2 files changed, 69 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/2f48a0eb/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8bc0fc2..8241d7c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,6 +75,7 @@
<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.manifestfile/>
<commons.scmPubUrl>
https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${commons.site.path}
</commons.scmPubUrl>
@@ -556,5 +557,72 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <!-- We want to sign the artifact, the POM, and all attached artifacts -->
+ <plugin>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-install-plugin</artifactId>
+ <configuration>
+ <createChecksum>true</createChecksum>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <!-- Pass these arguments to the deploy plugin. -->
+ <arguments>-Prelease</arguments>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>create-javadoc-jar</id>
+ <goals>
+ <goal>javadoc</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ <configuration>
+ <source>${maven.compiler.source}</source>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <inherited>true</inherited>
+ <executions>
+ <execution>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <!-- COMMONSSITE-87 Ensure this runs after all package phase plugins -->
+ <phase>verify</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>test-deploy</id>
+ <properties>
+ <altDeploymentRepository>id::default::file:target/deploy</altDeploymentRepository>
+ </properties>
+ </profile>
</profiles>
</project>
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/2f48a0eb/src/site/xdoc/index.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 0f70094..b6b750f 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -82,6 +82,7 @@
<version>1.0</version>
<configuration>
<distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo</distSvnStagingUrl>
+ <dryRun>${dryRun}</dryRun>
</configuration>
<executions>
<execution>