fork of https://github.com/oxigraph/rocksdb and https://github.com/facebook/rocksdb for nextgraph and oxigraph
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
167 lines
6.9 KiB
167 lines
6.9 KiB
10 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
4 years ago
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||
10 years ago
|
<modelVersion>4.0.0</modelVersion>
|
||
4 years ago
|
|
||
10 years ago
|
<groupId>org.rocksdb</groupId>
|
||
|
<artifactId>rocksdbjni</artifactId>
|
||
4 years ago
|
<version>${ROCKSDB_JAVA_VERSION}</version> <!-- this will be replaced by the Makefile's rocksdbjavageneratepom target -->
|
||
|
|
||
|
<name>RocksDB JNI</name>
|
||
5 years ago
|
<description>RocksDB fat jar that contains .so files for linux32 and linux64 (glibc and musl-libc), jnilib files
|
||
8 years ago
|
for Mac OSX, and a .dll for Windows x64.
|
||
10 years ago
|
</description>
|
||
4 years ago
|
<url>https://rocksdb.org</url>
|
||
|
<inceptionYear>2012</inceptionYear>
|
||
|
|
||
10 years ago
|
<licenses>
|
||
|
<license>
|
||
|
<name>Apache License 2.0</name>
|
||
|
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
|
||
|
<distribution>repo</distribution>
|
||
|
</license>
|
||
8 years ago
|
<license>
|
||
|
<name>GNU General Public License, version 2</name>
|
||
|
<url>http://www.gnu.org/licenses/gpl-2.0.html</url>
|
||
|
<distribution>repo</distribution>
|
||
|
</license>
|
||
10 years ago
|
</licenses>
|
||
4 years ago
|
|
||
10 years ago
|
<scm>
|
||
4 years ago
|
<connection>scm:git:https://github.com/facebook/rocksdb.git</connection>
|
||
|
<developerConnection>scm:git:https://github.com/facebook/rocksdb.git</developerConnection>
|
||
|
<url>scm:git:https://github.com/facebook/rocksdb.git</url>
|
||
10 years ago
|
</scm>
|
||
4 years ago
|
|
||
|
<organization>
|
||
|
<name>Facebook</name>
|
||
|
<url>https://www.facebook.com</url>
|
||
|
</organization>
|
||
|
|
||
10 years ago
|
<developers>
|
||
|
<developer>
|
||
|
<name>Facebook</name>
|
||
|
<email>help@facebook.com</email>
|
||
|
<timezone>America/New_York</timezone>
|
||
|
<roles>
|
||
|
<role>architect</role>
|
||
|
</roles>
|
||
|
</developer>
|
||
|
</developers>
|
||
|
|
||
4 years ago
|
<mailingLists>
|
||
|
<mailingList>
|
||
|
<name>rocksdb - Google Groups</name>
|
||
|
<subscribe>rocksdb-subscribe@googlegroups.com</subscribe>
|
||
|
<unsubscribe>rocksdb-unsubscribe@googlegroups.com</unsubscribe>
|
||
|
<post>rocksdb@googlegroups.com</post>
|
||
|
<archive>https://groups.google.com/forum/#!forum/rocksdb</archive>
|
||
|
</mailingList>
|
||
|
</mailingLists>
|
||
|
|
||
10 years ago
|
<properties>
|
||
10 years ago
|
<project.build.source>1.7</project.build.source>
|
||
|
<project.build.target>1.7</project.build.target>
|
||
10 years ago
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
</properties>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
10 years ago
|
<version>3.2</version>
|
||
10 years ago
|
<configuration>
|
||
10 years ago
|
<source>${project.build.source}</source>
|
||
|
<target>${project.build.target}</target>
|
||
|
<encoding>${project.build.sourceEncoding}</encoding>
|
||
10 years ago
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
10 years ago
|
<version>2.18.1</version>
|
||
10 years ago
|
<configuration>
|
||
10 years ago
|
<argLine>${argLine} -ea -Xcheck:jni -Djava.library.path=${project.build.directory}</argLine>
|
||
10 years ago
|
<useManifestOnlyJar>false</useManifestOnlyJar>
|
||
|
<useSystemClassLoader>false</useSystemClassLoader>
|
||
|
<additionalClasspathElements>
|
||
|
<additionalClasspathElement>${project.build.directory}/*</additionalClasspathElement>
|
||
|
</additionalClasspathElements>
|
||
10 years ago
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.jacoco</groupId>
|
||
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||
10 years ago
|
<version>0.7.2.201409121644</version>
|
||
10 years ago
|
<executions>
|
||
|
<execution>
|
||
|
<goals>
|
||
|
<goal>prepare-agent</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
<execution>
|
||
|
<id>report</id>
|
||
|
<phase>prepare-package</phase>
|
||
|
<goals>
|
||
|
<goal>report</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
10 years ago
|
<plugin>
|
||
|
<groupId>org.codehaus.gmaven</groupId>
|
||
|
<artifactId>groovy-maven-plugin</artifactId>
|
||
|
<version>2.0</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>process-classes</phase>
|
||
|
<goals>
|
||
|
<goal>execute</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<defaults>
|
||
|
<name>Xenu</name>
|
||
|
</defaults>
|
||
|
<source>
|
||
9 years ago
|
String fileContents = new File(project.basedir.absolutePath + '/../include/rocksdb/version.h').getText('UTF-8')
|
||
10 years ago
|
matcher = (fileContents =~ /(?s).*ROCKSDB_MAJOR ([0-9]+).*?/)
|
||
|
String major_version = matcher.getAt(0).getAt(1)
|
||
|
matcher = (fileContents =~ /(?s).*ROCKSDB_MINOR ([0-9]+).*?/)
|
||
|
String minor_version = matcher.getAt(0).getAt(1)
|
||
|
matcher = (fileContents =~ /(?s).*ROCKSDB_PATCH ([0-9]+).*?/)
|
||
|
String patch_version = matcher.getAt(0).getAt(1)
|
||
|
String version = String.format('%s.%s.%s', major_version, minor_version, patch_version)
|
||
|
// Set version to be used in pom.properties
|
||
|
project.version = version
|
||
|
// Set version to be set as jar name
|
||
|
project.build.finalName = project.artifactId + "-" + version
|
||
|
</source>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
10 years ago
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
10 years ago
|
<version>4.12</version>
|
||
10 years ago
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.assertj</groupId>
|
||
|
<artifactId>assertj-core</artifactId>
|
||
10 years ago
|
<version>1.7.1</version>
|
||
10 years ago
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.mockito</groupId>
|
||
|
<artifactId>mockito-all</artifactId>
|
||
10 years ago
|
<version>1.10.19</version>
|
||
10 years ago
|
<scope>test</scope>
|
||
10 years ago
|
</dependency>
|
||
|
</dependencies>
|
||
10 years ago
|
</project>
|