Skip to content

Commit

Permalink
Add possibility to build JanusGraph Scylla Release
Browse files Browse the repository at this point in the history
Related to #3580

Signed-off-by: Oleksandr Porunov <alexandr.porunov@gmail.com>
  • Loading branch information
porunov committed Oct 13, 2023
1 parent ff60577 commit 2a54cd2
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions janusgraph-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,42 @@
<skipDefaultDistroIT>${it.skip}</skipDefaultDistroIT>

<doc.dir>${project.parent.basedir}/docs</doc.dir>

<cql-module>janusgraph-cql</cql-module>
<cql-hadoop-module>cassandra-hadoop-util</cql-hadoop-module>
</properties>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>janusgraph-all</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<artifactId>janusgraph-cql</artifactId>
<groupId>${project.groupId}</groupId>
</exclusion>
<exclusion>
<artifactId>cassandra-hadoop-util</artifactId>
<groupId>${project.groupId}</groupId>
</exclusion>
</exclusions>
</dependency>

<!-- Either "janusgraph-cql" or "janusgraph-scylla" -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${cql-module}</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Either "cassandra-hadoop-util" or "scylla-hadoop-util" -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${cql-hadoop-module}</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
Expand Down Expand Up @@ -326,6 +354,13 @@
<docker.tag-suffix>-java-11</docker.tag-suffix>
</properties>
</profile>
<profile>
<id>use-scylla</id>
<properties>
<cql-module>janusgraph-scylla</cql-module>
<cql-hadoop-module>scylla-hadoop-util</cql-hadoop-module>
</properties>
</profile>
<profile>
<id>janusgraph-release</id>
<dependencies>
Expand Down

0 comments on commit 2a54cd2

Please sign in to comment.