2014-10-02 22:47:07 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2020-08-06 23:10:12 +02:00
|
|
|
<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">
|
2014-11-02 01:08:41 +01:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2020-08-06 23:10:12 +02:00
|
|
|
|
2014-11-02 01:08:41 +01:00
|
|
|
<groupId>org.rocksdb</groupId>
|
|
|
|
<artifactId>rocksdbjni</artifactId>
|
2020-08-06 23:10:12 +02:00
|
|
|
<version>${ROCKSDB_JAVA_VERSION}</version> <!-- this will be replaced by the Makefile's rocksdbjavageneratepom target -->
|
|
|
|
|
|
|
|
<name>RocksDB JNI</name>
|
2019-11-27 01:51:26 +01:00
|
|
|
<description>RocksDB fat jar that contains .so files for linux32 and linux64 (glibc and musl-libc), jnilib files
|
2016-10-03 20:58:08 +02:00
|
|
|
for Mac OSX, and a .dll for Windows x64.
|
2014-11-02 01:08:41 +01:00
|
|
|
</description>
|
2020-08-06 23:10:12 +02:00
|
|
|
<url>https://rocksdb.org</url>
|
|
|
|
<inceptionYear>2012</inceptionYear>
|
|
|
|
|
2014-11-02 01:08:41 +01:00
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache License 2.0</name>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
2017-07-18 21:58:57 +02:00
|
|
|
<license>
|
|
|
|
<name>GNU General Public License, version 2</name>
|
|
|
|
<url>http://www.gnu.org/licenses/gpl-2.0.html</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
2014-11-02 01:08:41 +01:00
|
|
|
</licenses>
|
2020-08-06 23:10:12 +02:00
|
|
|
|
2014-11-02 01:08:41 +01:00
|
|
|
<scm>
|
2020-08-06 23:10:12 +02:00
|
|
|
<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>
|
2014-11-02 01:08:41 +01:00
|
|
|
</scm>
|
2020-08-06 23:10:12 +02:00
|
|
|
|
|
|
|
<organization>
|
|
|
|
<name>Facebook</name>
|
|
|
|
<url>https://www.facebook.com</url>
|
|
|
|
</organization>
|
|
|
|
|
2014-11-02 01:08:41 +01:00
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<name>Facebook</name>
|
|
|
|
<email>help@facebook.com</email>
|
|
|
|
<timezone>America/New_York</timezone>
|
|
|
|
<roles>
|
|
|
|
<role>architect</role>
|
|
|
|
</roles>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
2020-08-06 23:10:12 +02:00
|
|
|
<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>
|
|
|
|
|
2014-11-02 01:08:41 +01:00
|
|
|
<properties>
|
2015-01-31 23:57:35 +01:00
|
|
|
<project.build.source>1.7</project.build.source>
|
|
|
|
<project.build.target>1.7</project.build.target>
|
2014-11-02 01:08:41 +01:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2015-02-01 00:21:19 +01:00
|
|
|
<version>3.2</version>
|
2014-11-02 01:08:41 +01:00
|
|
|
<configuration>
|
2015-01-31 23:57:35 +01:00
|
|
|
<source>${project.build.source}</source>
|
|
|
|
<target>${project.build.target}</target>
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
2014-11-02 01:08:41 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2015-02-01 00:21:19 +01:00
|
|
|
<version>2.18.1</version>
|
2014-11-02 01:08:41 +01:00
|
|
|
<configuration>
|
2015-03-12 21:27:12 +01:00
|
|
|
<argLine>${argLine} -ea -Xcheck:jni -Djava.library.path=${project.build.directory}</argLine>
|
2015-03-24 22:52:30 +01:00
|
|
|
<useManifestOnlyJar>false</useManifestOnlyJar>
|
|
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|
|
|
<additionalClasspathElements>
|
|
|
|
<additionalClasspathElement>${project.build.directory}/*</additionalClasspathElement>
|
|
|
|
</additionalClasspathElements>
|
2014-11-02 01:08:41 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
2014-11-03 00:11:01 +01:00
|
|
|
<version>0.7.2.201409121644</version>
|
2014-11-02 01:08:41 +01:00
|
|
|
<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>
|
2014-11-15 20:12:04 +01:00
|
|
|
<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>
|
2016-07-17 09:43:34 +02:00
|
|
|
String fileContents = new File(project.basedir.absolutePath + '/../include/rocksdb/version.h').getText('UTF-8')
|
2014-11-15 20:12:04 +01:00
|
|
|
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>
|
2014-11-02 01:08:41 +01:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2021-01-14 00:59:36 +01:00
|
|
|
<version>4.13.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>cglib</groupId>
|
|
|
|
<artifactId>cglib</artifactId>
|
|
|
|
<version>3.3.0</version>
|
2014-11-02 01:08:41 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
2021-01-14 00:59:36 +01:00
|
|
|
<version>2.9.0</version>
|
2014-11-02 01:08:41 +01:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-all</artifactId>
|
2015-02-01 00:21:19 +01:00
|
|
|
<version>1.10.19</version>
|
2014-11-05 18:46:36 +01:00
|
|
|
<scope>test</scope>
|
2014-11-02 01:08:41 +01:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2014-10-02 22:47:07 +02:00
|
|
|
</project>
|