JanusGraph / janusgraph

JanusGraph: an open-source, distributed graph database
https://janusgraph.org
Other
5.29k stars 1.17k forks source link

Request new build profile for JanusGraph only distribution #371

Open scottrpatterson opened 7 years ago

scottrpatterson commented 7 years ago

I would like a packaging of only the jars needed to open a JanusGraph instance in an jvm without any of the dependencies required for starting a gremlin server, elasticsearch server, cassandar server or even a servlet container.

I already have a J2EE web app in an existing servlet container and I would like to use JanusGraph's Java API inside my web app. If I build the hadoop2 profile and use all the jars in the lib directory it includes a lot of extra libraries I don't need that conflict with other libraries in my J2EE server.

pluradj commented 7 years ago

Are you using Maven or Gradle to build your project? Which components are you pulling in? I'd assume janusgraph-core, janusgraph-cassandra, and janusgraph-es.

scottrpatterson commented 7 years ago

I am not building at all. I am using the distribution.

https://github.com/JanusGraph/janusgraph/releases/download/v0.1.1/janusgraph-0.1.1-hadoop2.zip

scottrpatterson commented 7 years ago

Okay. I did a "mvn clean dependency:copy-dependencies" for those three projects, janusgraph-core, janusgraph-cassandra, and janusgraph-es.

Then I merged the "target/dependency" folders from each of those builds in a single dependency folder. I still end up with jars for janusgraph-test and other jars.

dependency-list.txt