GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — janusgraph/janusgraph-dist at master · nsnmurthyk/janusgraph

Expand file tree

/

janusgraph-dist

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

janusgraph-dist

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
janusgraph-dist-hadoop-2
janusgraph-dist-hadoop-2
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

janusgraph-dist

Building zip archives

Run mvn clean install -Pjanusgraph-release -Dgpg.skip=true -DskipTests=true. This command can be run from either the root of the JanusGraph repository (the parent of the janusgraph-dist directory) or the janusgraph-dist directory. Running from the root of the repository is recommended. Running from janusgraph-dist requries that JanusGraph's jars be available on either Sonatype, Maven Central, or your local Maven repository (~/.m2/repository/) depending on whether you're building a SNAPSHOT or a release tag.

This command writes one archive:

  • janusgraph-dist/janusgraph-dist-hadoop-2/target/janusgraph-$VERSION-hadoop2.zip

It's also possible to leave off the -DskipTests=true. However, in the absence of -DskipTests=true, the -Pjanusgraph-release argument causes janusgraph-dist to run several automated integration tests of the zipfiles and the script files they contain. These tests require unzip and expect, and they'll start and stop Cassandra, ES, and HBase in the course of their execution.

Building documentation

To convert the AsciiDoc sources in $JANUSGRAPH_REPO_ROOT/docs/ to chunked and single-page HTML, run mvn package -pl janusgraph-dist -am -DskipTests=true -Dgpg.skip=true from the directory containing janusgraph-dist. If the JanusGraph artifacts are already installed in the local Maven repo from previous invocations of mvn install in the root of the clone, then cd janusgraph-dist && mvn package is also sufficient.

The documentation output appears in:

  • janusgraph-dist/target/docs/chunk/
  • janusgraph-dist/target/docs/single/

Building deb/rpm packages

Requires:

  • a platform that can run shell scripts (e.g. Linux, Mac OS X, or Windows with Cygwin)

  • the Aurelius public package GPG signing key

Run mvn -N -Ppkg-tools install in the janusgraph-dist module. This writes three folders to the root of the janusgraph repository:

  • debian
  • pkgcommon
  • redhat

The debian and redhat folders contain platform-specific packaging conttrol and payoad files. The pkgcommon folder contains shared payload and helper scripts.

To build the .deb and .rpm packages:

  • (cd to the repository root)
  • pkgcommon/bin/build-all.sh

To delete the packaging scripts from the root of the repository, run mvn -N -Ppkg-tools clean from the janusgraph-dist module.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.