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:24:54 UTC

[12/50] [abbrv] incubator-tinkerpop git commit: Changed zip distribution configuration for maven.

Changed zip distribution configuration for maven.

The apache-release profile is now just the old "archives" profile.  Dropped the push to s3 and prevented deployment of zip archives to maven repository.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/956e301e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/956e301e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/956e301e

Branch: refs/heads/variables
Commit: 956e301e88680cc6e812f56fe5bf1869a17e8654
Parents: 999408d
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Mon Apr 6 07:59:41 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Mon Apr 6 07:59:41 2015 -0400

----------------------------------------------------------------------
 README.asciidoc |  3 +-
 pom.xml         | 78 ++++++----------------------------------------------
 2 files changed, 10 insertions(+), 71 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/956e301e/README.asciidoc
----------------------------------------------------------------------
diff --git a/README.asciidoc b/README.asciidoc
index 056bb85..3ea1c0a 100644
--- a/README.asciidoc
+++ b/README.asciidoc
@@ -39,11 +39,10 @@ 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`
-* Deploy Zip Archives: `mvn deploy -Darchives`
+* Generate signed zip archives: `mvn install -Darchives`
 * Integration Tests: `mvn verify -DskipIntegrationTests=false`
 * Performance Tests: `mvn verify -DskipPerformanceTests=false`
 * Gatling Load Tests: `mvn test -Pgatling -Dhost={hostname}`
-* Generate "Apache Release" artifacts (signed with associated MD5/SHA1 checksum) to the root `target/dist` directory: `mvn clean install -Dapache`
 
 IDE Setup
 ^^^^^^^^^

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/956e301e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 968a1e9..8ca9866 100644
--- a/pom.xml
+++ b/pom.xml
@@ -555,11 +555,11 @@ limitations under the License.
     <profiles>
 
         <profile>
-            <id>apache-release</id>
+            <id>archives</id>
             <activation>
                 <activeByDefault>false</activeByDefault>
                 <property>
-                    <name>apache</name>
+                    <name>archives</name>
                 </property>
             </activation>
 
@@ -575,6 +575,13 @@ limitations under the License.
             <build>
                 <plugins>
                     <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-deploy-plugin</artifactId>
+                        <configuration>
+                            <skip>true</skip>
+                        </configuration>
+                    </plugin>
+                    <plugin>
                         <artifactId>maven-assembly-plugin</artifactId>
                         <version>2.4</version>
                         <executions>
@@ -1044,72 +1051,5 @@ limitations under the License.
                 </plugins>
             </build>
         </profile>
-
-        <profile>
-            <id>archives</id>
-            <activation>
-                <activeByDefault>false</activeByDefault>
-                <property>
-                    <name>archives</name>
-                </property>
-            </activation>
-
-            <properties>
-                <server.artifact>gremlin-server/target/gremlin-server-${project.version}-distribution.zip
-                </server.artifact>
-                <console.artifact>gremlin-console/target/gremlin-console-${project.version}-distribution.zip
-                </console.artifact>
-            </properties>
-
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-deploy-plugin</artifactId>
-                        <configuration>
-                            <skip>true</skip>
-                        </configuration>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>wagon-maven-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>upload-gremlin-server-to-s3-versioned</id>
-                                <phase>deploy</phase>
-                                <goals>
-                                    <goal>upload-single</goal>
-                                </goals>
-                                <inherited>false</inherited>
-                                <configuration>
-                                    <fromFile>${server.artifact}</fromFile>
-                                    <toFile>gremlin-server-${project.version}.zip</toFile>
-                                    <serverId>tinkerpop.s3</serverId>
-                                    <!-- your ~/.m2/settings.xml must match -->
-                                    <!-- <optimize>true</optimize> --> <!-- not supported by the S3 wagon -->
-                                    <url>s3://www.tinkerpop.com/downloads/${project.version}</url>
-                                </configuration>
-                            </execution>
-                            <execution>
-                                <id>upload-gremlin-console-to-s3-versioned</id>
-                                <phase>deploy</phase>
-                                <goals>
-                                    <goal>upload-single</goal>
-                                </goals>
-                                <inherited>false</inherited>
-                                <configuration>
-                                    <fromFile>${console.artifact}</fromFile>
-                                    <toFile>gremlin-console-${project.version}.zip</toFile>
-                                    <serverId>tinkerpop.s3</serverId>
-                                    <!-- your ~/.m2/settings.xml must match -->
-                                    <!-- <optimize>true</optimize> --> <!-- not supported by the S3 wagon -->
-                                    <url>s3://www.tinkerpop.com/downloads/${project.version}</url>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
     </profiles>
 </project>