Skip to content

Commit

Permalink
Merge pull request #69 from jotak/without-gremlin-groovy
Browse files Browse the repository at this point in the history
Split sqlg-postgres/h2/hsqldb to allow smaller artifacts
  • Loading branch information
pietermartin authored Sep 21, 2016
2 parents 84822e0 + 1661f08 commit af54aae
Show file tree
Hide file tree
Showing 75 changed files with 217 additions and 14 deletions.
26 changes: 23 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@
<modules>
<module>sqlg-core</module>
<module>sqlg-test</module>
<module>sqlg-postgres</module>
<module>sqlg-hsqldb</module>
<module>sqlg-h2</module>
<module>sqlg-postgres-parent</module>
<module>sqlg-hsqldb-parent</module>
<module>sqlg-h2-parent</module>
<module>sqlg-benchmark</module>
<module>sqlg-benchmark-postgres</module>
<module>sqlg-benchmark-hsqldb</module>
Expand Down Expand Up @@ -198,6 +198,11 @@
<artifactId>sqlg-postgres</artifactId>
<version>${sqlg.version}</version>
</dependency>
<dependency>
<groupId>org.umlg</groupId>
<artifactId>sqlg-postgres-dialect</artifactId>
<version>${sqlg.version}</version>
</dependency>
<dependency>
<groupId>net.postgis</groupId>
<artifactId>postgis-jdbc</artifactId>
Expand All @@ -214,6 +219,11 @@
<artifactId>sqlg-hsqldb</artifactId>
<version>${sqlg.version}</version>
</dependency>
<dependency>
<groupId>org.umlg</groupId>
<artifactId>sqlg-hsqldb-dialect</artifactId>
<version>${sqlg.version}</version>
</dependency>
<dependency>
<groupId>org.umlg</groupId>
<artifactId>sqlg-test</artifactId>
Expand All @@ -239,6 +249,16 @@
<artifactId>sqlg-h2</artifactId>
<version>${sqlg.version}</version>
</dependency>
<dependency>
<groupId>org.umlg</groupId>
<artifactId>sqlg-h2-dialect</artifactId>
<version>${sqlg.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.3.1</version>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
Expand Down
4 changes: 2 additions & 2 deletions sqlg-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<artifactId>gremlin-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.tinkerpop</groupId>
<artifactId>gremlin-groovy</artifactId>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>com.mchange</groupId>
Expand Down
20 changes: 20 additions & 0 deletions sqlg-h2-parent/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>sqlg</artifactId>
<groupId>org.umlg</groupId>
<version>1.3.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>sqlg-h2-parent</artifactId>
<packaging>pom</packaging>

<modules>
<module>sqlg-h2-dialect</module>
<module>sqlg-h2</module>
</modules>

</project>
6 changes: 3 additions & 3 deletions sqlg-h2/pom.xml → sqlg-h2-parent/sqlg-h2-dialect/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>sqlg</artifactId>
<artifactId>sqlg-h2-parent</artifactId>
<groupId>org.umlg</groupId>
<version>1.3.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>sqlg-h2</artifactId>
<name>sqlg :: h2</name>
<artifactId>sqlg-h2-dialect</artifactId>
<name>sqlg :: h2 dialect</name>

<build>
<plugins>
Expand Down
40 changes: 40 additions & 0 deletions sqlg-h2-parent/sqlg-h2/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>sqlg-h2-parent</artifactId>
<groupId>org.umlg</groupId>
<version>1.3.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>sqlg-h2</artifactId>
<name>sqlg :: h2</name>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.apache.tinkerpop</groupId>
<artifactId>gremlin-groovy</artifactId>
</dependency>
<dependency>
<groupId>org.umlg</groupId>
<artifactId>sqlg-h2-dialect</artifactId>
</dependency>
<dependency>
<groupId>org.umlg</groupId>
<artifactId>sqlg-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
File renamed without changes.
20 changes: 20 additions & 0 deletions sqlg-hsqldb-parent/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>sqlg</artifactId>
<groupId>org.umlg</groupId>
<version>1.3.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>sqlg-hsqldb-parent</artifactId>
<packaging>pom</packaging>

<modules>
<module>sqlg-hsqldb-dialect</module>
<module>sqlg-hsqldb</module>
</modules>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.umlg</groupId>
<artifactId>sqlg</artifactId>
<artifactId>sqlg-hsqldb-parent</artifactId>
<version>1.3.0-SNAPSHOT</version>
</parent>
<artifactId>sqlg-hsqldb</artifactId>
<name>sqlg :: hsqldb</name>
<artifactId>sqlg-hsqldb-dialect</artifactId>
<name>sqlg :: hsqldb dialect</name>

<build>
<plugins>
Expand Down
38 changes: 38 additions & 0 deletions sqlg-hsqldb-parent/sqlg-hsqldb/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.umlg</groupId>
<artifactId>sqlg-hsqldb-parent</artifactId>
<version>1.3.0-SNAPSHOT</version>
</parent>
<artifactId>sqlg-hsqldb</artifactId>
<name>sqlg :: hsqldb</name>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.apache.tinkerpop</groupId>
<artifactId>gremlin-groovy</artifactId>
</dependency>
<dependency>
<groupId>org.umlg</groupId>
<artifactId>sqlg-hsqldb-dialect</artifactId>
</dependency>
<dependency>
<groupId>org.umlg</groupId>
<artifactId>sqlg-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

</project>
20 changes: 20 additions & 0 deletions sqlg-postgres-parent/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>sqlg</artifactId>
<groupId>org.umlg</groupId>
<version>1.3.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>sqlg-postgres-parent</artifactId>
<packaging>pom</packaging>

<modules>
<module>sqlg-postgres-dialect</module>
<module>sqlg-postgres</module>
</modules>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.umlg</groupId>
<artifactId>sqlg</artifactId>
<artifactId>sqlg-postgres-parent</artifactId>
<version>1.3.0-SNAPSHOT</version>
</parent>
<artifactId>sqlg-postgres</artifactId>
<name>sqlg :: postgres</name>
<artifactId>sqlg-postgres-dialect</artifactId>
<name>sqlg :: postgres dialect</name>

<build>
<plugins>
Expand Down
37 changes: 37 additions & 0 deletions sqlg-postgres-parent/sqlg-postgres/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.umlg</groupId>
<artifactId>sqlg-postgres-parent</artifactId>
<version>1.3.0-SNAPSHOT</version>
</parent>
<artifactId>sqlg-postgres</artifactId>
<name>sqlg :: postgres</name>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.apache.tinkerpop</groupId>
<artifactId>gremlin-groovy</artifactId>
</dependency>
<dependency>
<groupId>org.umlg</groupId>
<artifactId>sqlg-postgres-dialect</artifactId>
</dependency>
<dependency>
<groupId>org.umlg</groupId>
<artifactId>sqlg-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
jdbc.url=jdbc:postgresql://localhost:5432/sqlgraphdb
jdbc.username=postgres
jdbc.password=postgres
#cache.vertices=false
implement.foreign.keys=true
hazelcast.members=127.0.0.1
#bulk.edge.copy.location=/var/lib/postgres/data
bulk.within.count=2

0 comments on commit af54aae

Please sign in to comment.