Fixed up gremlin-javascript deployment configuration Deployment didn't go completely smoothly on 3.2.8/3.3.2. Fixed up the couple of sore spots by adding a alias for the deploy <profile> and ensured that the deploy was not bound to test execution. CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/df7870a4 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/df7870a4 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/df7870a4 Branch: refs/heads/tp33 Commit: df7870a48acf9d07d0c3a4a437a710339a49bff2 Parents: b84f700 Author: Stephen Mallette <sp...@genoprime.com> Authored: Mon Apr 9 11:29:14 2018 -0400 Committer: Stephen Mallette <sp...@genoprime.com> Committed: Mon Apr 9 11:29:14 2018 -0400 ---------------------------------------------------------------------- docs/src/dev/developer/release.asciidoc | 1 + gremlin-javascript/pom.xml | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/df7870a4/docs/src/dev/developer/release.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/dev/developer/release.asciidoc b/docs/src/dev/developer/release.asciidoc index b868755..c7c5bb7 100644 --- a/docs/src/dev/developer/release.asciidoc +++ b/docs/src/dev/developer/release.asciidoc @@ -239,6 +239,7 @@ for generating javadoc and without that the binary distributions won't contain t .. `mvn clean install -DskipTests -Dnuget` .. `mvn deploy -pl gremlin-python -DskipTests -Dpypi` .. `mvn deploy -pl :gremlin-dotnet-source -DskipTests -Dnuget` +.. `mvn deploy -pl gremlin-javascript -DskipTests -Dnpm` . `svn co --depth empty https://dist.apache.org/repos/dist/dev/tinkerpop dev; svn up dev/xx.yy.zz` . `svn co --depth empty https://dist.apache.org/repos/dist/release/tinkerpop release; mkdir release/xx.yy.zz` . Copy release files from `dev/xx.yy.zz` to `release/xx.yy.zz`. http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/df7870a4/gremlin-javascript/pom.xml ---------------------------------------------------------------------- diff --git a/gremlin-javascript/pom.xml b/gremlin-javascript/pom.xml index 6b0d8bf..89fb930 100644 --- a/gremlin-javascript/pom.xml +++ b/gremlin-javascript/pom.xml @@ -269,6 +269,9 @@ limitations under the License. <id>glv-javascript-deploy</id> <activation> <activeByDefault>false</activeByDefault> + <property> + <name>npm</name> + </property> </activation> <build> <plugins> @@ -289,7 +292,12 @@ limitations under the License. </execution> </executions> <configuration> - <skip>${skipIntegrationTests}</skip> + <!-- + skip needs to be overridden given how the <configuration> is specified in the main build. + it should be fine to just always deploy because this <profile> needs to be manually + activated and that should be good enough given our deployment process. + --> + <skip>false</skip> <workingDirectory>src/main/javascript/gremlin-javascript</workingDirectory> <nodeVersion>v6.12.3</nodeVersion> </configuration>