You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/04/07 13:25:00 UTC
[18/50] [abbrv] incubator-tinkerpop git commit: Automate md5/sha
checksums for both binary and source zips.
Automate md5/sha checksums for both binary and source zips.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/fe10b7ce
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/fe10b7ce
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/fe10b7ce
Branch: refs/heads/variables
Commit: fe10b7cebe48719463a4fb71b6f88e3e011ac7d7
Parents: fd60131
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Mon Apr 6 09:32:47 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Mon Apr 6 09:32:47 2015 -0400
----------------------------------------------------------------------
README.asciidoc | 4 +--
pom.xml | 77 +++++++++++++++++++++++++++++++++++++---------------
2 files changed, 57 insertions(+), 24 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/fe10b7ce/README.asciidoc
----------------------------------------------------------------------
diff --git a/README.asciidoc b/README.asciidoc
index b7602f0..d272127 100644
--- a/README.asciidoc
+++ b/README.asciidoc
@@ -39,8 +39,8 @@ Building and Testing
* Build JavaDocs: `mvn process-resources -Djavadoc`
* Check for Apache License headers: `mvn apache-rat:check`
* Deploy JavaDocs/AsciiDocs: `bin/publish-docs.sh svn-username`
-* Generate signed binary distribution zip archives: `mvn install -Darchives`
-* Generate signed source distribution zip archive (standard Apache configuration): `mvn clean install -Papache-release`
+* Generate signed binary distribution zip archives with checksums: `mvn clean install -Darchives -Pchecksum`
+* Generate signed source distribution zip archive (standard Apache configuration) with checksums: `mvn clean install -Papache-release -Pchecksum`
* Integration Tests: `mvn verify -DskipIntegrationTests=false`
* Performance Tests: `mvn verify -DskipPerformanceTests=false`
* Gatling Load Tests: `mvn test -Pgatling -Dhost={hostname}`
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/fe10b7ce/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3f4200b..50dcf0d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -560,6 +560,8 @@ limitations under the License.
<profiles>
<profile>
+ <!-- This profile will force a signature of the gremlin-server/console zip files, but will prevent
+ them from being deployed to a maven repo. -->
<id>archives</id>
<activation>
<activeByDefault>false</activeByDefault>
@@ -569,10 +571,6 @@ limitations under the License.
</activation>
<properties>
- <server.artifact>gremlin-server-${project.version}-distribution.zip
- </server.artifact>
- <console.artifact>gremlin-console-${project.version}-distribution.zip
- </console.artifact>
<attach-archives>true</attach-archives>
</properties>
@@ -586,6 +584,43 @@ limitations under the License.
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.5</version>
+ <executions>
+ <execution>
+ <id>sign-attached-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <ascDirectory>target</ascDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
+ <id>checksum</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+
+ <properties>
+ <server.artifact>gremlin-server-${project.version}-distribution.zip
+ </server.artifact>
+ <console.artifact>gremlin-console-${project.version}-distribution.zip
+ </console.artifact>
+ <tinkerpop.artifact>tinkerpop-${project.version}-source-release.zip
+ </tinkerpop.artifact>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
@@ -599,7 +634,7 @@ limitations under the License.
<tasks>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
<if>
- <available file="target/${server.artifact}"/>
+ <available file="target/${server.artifact}"/>
<then>
<checksum algorithm="MD5" fileext=".md5">
<fileset dir="target">
@@ -628,6 +663,21 @@ limitations under the License.
</checksum>
</then>
</if>
+ <if>
+ <available file="target/${tinkerpop.artifact}"/>
+ <then>
+ <checksum algorithm="MD5" fileext=".md5">
+ <fileset dir="target">
+ <include name="*.zip" />
+ </fileset>
+ </checksum>
+ <checksum algorithm="SHA1" fileext=".sha">
+ <fileset dir="target">
+ <include name="*.zip" />
+ </fileset>
+ </checksum>
+ </then>
+ </if>
</tasks>
</configuration>
</execution>
@@ -645,23 +695,6 @@ limitations under the License.
</dependency>
</dependencies>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-gpg-plugin</artifactId>
- <version>1.5</version>
- <executions>
- <execution>
- <id>sign-attached-artifacts</id>
- <phase>verify</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <ascDirectory>target</ascDirectory>
- </configuration>
- </plugin>
</plugins>
</build>
</profile>