Include information of Js development env and release
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/8d722a94 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/8d722a94 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/8d722a94 Branch: refs/heads/TINKERPOP-1857 Commit: 8d722a94d3a280f031658d8e647b52740589cffa Parents: 2afd971 Author: Jorge Bay Gondra <[email protected]> Authored: Mon Jan 8 12:13:36 2018 +0100 Committer: Jorge Bay Gondra <[email protected]> Committed: Fri Jan 19 09:30:17 2018 +0100 ---------------------------------------------------------------------- .../dev/developer/development-environment.asciidoc | 15 +++++++++++++++ gremlin-javascript/pom.xml | 10 ++++++++++ 2 files changed, 25 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/8d722a94/docs/src/dev/developer/development-environment.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/dev/developer/development-environment.asciidoc b/docs/src/dev/developer/development-environment.asciidoc index 52542f8..b3b7706 100644 --- a/docs/src/dev/developer/development-environment.asciidoc +++ b/docs/src/dev/developer/development-environment.asciidoc @@ -131,6 +131,17 @@ This should update `~/.config/NuGet/NuGet.Config` a file with an entry containin See release documentation for more information on configuration for release. + +[[nodejs-environment]] +=== JavaScript Environment +When building `gremlin-javascript`, mvn command will include a local copy of Node.js runtime and npm inside your project +using `com.github.eirslett:frontend-maven-plugin` plugin. This copy of the Node.js runtime will not affect any +other existing Node.js runtime instances in your machine. + +The release manager should have the authentication token set, for more information see the Release Environment +section below. + + [[release-environment]] === Release Environment @@ -166,6 +177,10 @@ password = The release manager shall use the project's pypi credentials, which are available in the PMC repository. The `password` should be left blank so the deployment process in Maven will prompt for it at deployment time. +To deploy `gremlin-javascript` on the link:https://www.npmjs.com[npm registry], the release manager must set the +authentication information on the ~/.npmrc file. The easiest way to do that is to use the `npm adduser` command. This +must be done only once, as the auth token doesn't have an expiration date and it's stored on your file system. + [[building-testing]] == Building and Testing http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/8d722a94/gremlin-javascript/pom.xml ---------------------------------------------------------------------- diff --git a/gremlin-javascript/pom.xml b/gremlin-javascript/pom.xml index 0825ba6..e55bc1e 100644 --- a/gremlin-javascript/pom.xml +++ b/gremlin-javascript/pom.xml @@ -246,6 +246,16 @@ limitations under the License. <nodeVersion>v4.8.3</nodeVersion> </configuration> </plugin> + <!-- + there is no point to deploying the jvm stuff - there is no java source really - just poms + --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> </plugins> </build> <profiles>
