janusgraph-hadoop-core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.pontusvision</groupId>
<artifactId>janusgraph-hadoop-core</artifactId>
<version>100.3.2.1</version>
</dependency><project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.pontusvision</groupId>
<artifactId>janusgraph-hadoop-parent</artifactId>
<version>100.3.2.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>janusgraph-hadoop-core</artifactId>
<name>JanusGraph-Hadoop: Version-independent Core</name>
<url>https://janusgraph.org</url>
<properties>
<top.level.basedir>${basedir}/../..</top.level.basedir>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
<version>${hadoop2.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.mrunit</groupId>
<artifactId>mrunit</artifactId>
<version>${mrunit.version}</version>
<classifier>hadoop2</classifier>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
<!-- <scope>test</scope> -->
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>janusgraph-cassandra</artifactId>
<version>${project.version}</version>
<!-- TODO this should be scoped test -->
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>janusgraph-hbase-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>janusgraph-cassandra</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<!-- TODO this should be scoped test -->
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>janusgraph-es</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>${gmavenplus.version}</version>
<executions>
<execution>
<goals>
<goal>generateStubs</goal>
<goal>compile</goal>
<!-- Writing Groovy tests? Uncomment these.
<goal>generateTestStubs</goal>
<goal>testCompile</goal>
-->
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>assemble-shared-resources</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<attach>true</attach>
<descriptors>
<descriptor>src/assembly/shared-resources.xml</descriptor>
</descriptors>
</configuration>
</execution>
<execution>
<id>assemble-example-data</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<attach>true</attach>
<descriptors>
<descriptor>src/assembly/example-data.xml</descriptor>
</descriptors>
</configuration>
</execution>
<!-- Inherited the Hadoop job jar assembly from the parent, but this is
only useful in the janusgraph-hadoop-1 and -2 modules. Disable it. -->
<execution>
<id>build-job-jar</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<!-- Tests are executed in the janusgraph-hadoop-1 and -2 modules -->
<execution>
<id>default-test</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<!-- The janusgraph-hadoop-1 and -2 modules use our test classes -->
<execution>
<id>pack-test-jar</id>
<phase>package</phase>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>hbase1</id>
<activation>
<property>
<name>!hbase.profile</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-shaded-client</artifactId>
<version>${hbase1.version}</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
<!-- Need this for compile-time imports on
org.apache.hadoop.hbase.mapreduce -->
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-shaded-server</artifactId>
<version>${hbase1.version}</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>hbase2</id>
<dependencies>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-shaded-client</artifactId>
<version>${hbase2.version}</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
<!-- Need this for compile-time imports on
org.apache.hadoop.hbase.mapreduce -->
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-shaded-mapreduce</artifactId>
<version>${hbase2.version}</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>
<!-- Redeclare gpg-plugin at the bottom to ensure it runs after all the other packaging goals -->
<profile>
<id>janusgraph-release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>