| <?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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>com.baidu.hugegraph</groupId> |
| <artifactId>hugegraph-common</artifactId> |
| <version>1.7.0</version> |
| |
| <name>hugegraph-common</name> |
| <url>https://github.com/hugegraph/hugegraph-common</url> |
| <description> |
| hugegraph-common is a common module for HugeGraph and its peripheral components. |
| hugegraph-common encapsulates locks, configurations, events, iterators, rest and some |
| numeric or collection util classes to simplify the development of HugeGraph and its components. |
| </description> |
| |
| <parent> |
| <groupId>org.sonatype.oss</groupId> |
| <artifactId>oss-parent</artifactId> |
| <version>7</version> |
| </parent> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <scm> |
| <url>https://github.com/hugegraph/hugegraph-common</url> |
| <connection>https://github.com/hugegraph/hugegraph-common</connection> |
| <developerConnection>https://github.com/hugegraph/hugegraph-common</developerConnection> |
| </scm> |
| |
| <developers> |
| <developer> |
| <name>lizhangmei</name> |
| <email>lizhangmei@baidu.com</email> |
| </developer> |
| <developer> |
| <name>zhoney</name> |
| <email>zhangyi89817@126.com</email> |
| </developer> |
| <developer> |
| <name>liningrui</name> |
| <email>liningrui@vip.qq.com</email> |
| </developer> |
| </developers> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <top.level.dir>${project.basedir}/..</top.level.dir> |
| <compiler.source>1.8</compiler.source> |
| <compiler.target>1.8</compiler.target> |
| <log4j2.version>2.8.2</log4j2.version> |
| <commons.configuration.version>1.10</commons.configuration.version> |
| <commons.configuration2.version>2.1.1</commons.configuration2.version> |
| <commons.collections.version>3.2.2</commons.collections.version> |
| <commons.io.version>2.4</commons.io.version> |
| <commons.codec.version>1.11</commons.codec.version> |
| <guava.version>19.0</guava.version> |
| <javax.json.version>1.0</javax.json.version> |
| <jsr305.version>3.0.1</jsr305.version> |
| <javassist.version>3.21.0-GA</javassist.version> |
| <!--TODO: Update to 2.29 when released--> |
| <jersey.version>2.22</jersey.version> |
| <jersey.hk2.version>2.27</jersey.hk2.version> |
| <junit.version>4.12</junit.version> |
| <mockito.version>2.25.1</mockito.version> |
| </properties> |
| |
| <dependencies> |
| <!-- Test --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Logging --> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${log4j2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${log4j2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <version>${log4j2.version}</version> |
| </dependency> |
| |
| <!-- Utility --> |
| <dependency> |
| <groupId>org.glassfish</groupId> |
| <artifactId>javax.json</artifactId> |
| <version>${javax.json.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-configuration</groupId> |
| <artifactId>commons-configuration</artifactId> |
| <version>${commons.configuration.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-configuration2</artifactId> |
| <version>${commons.configuration2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>${commons.io.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>${commons.collections.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <version>${commons.codec.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>${jsr305.version}</version> |
| </dependency> |
| |
| <!-- javassist --> |
| <dependency> |
| <groupId>org.javassist</groupId> |
| <artifactId>javassist</artifactId> |
| <version>${javassist.version}</version> |
| </dependency> |
| |
| <!-- jersey --> |
| <dependency> |
| <groupId>org.glassfish.jersey.core</groupId> |
| <artifactId>jersey-client</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-json-jackson</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.connectors</groupId> |
| <artifactId>jersey-apache-connector</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.inject</groupId> |
| <artifactId>jersey-hk2</artifactId> |
| <version>${jersey.hk2.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>de.schlichtherle.truelicense</groupId> |
| <artifactId>truelicense-core</artifactId> |
| <version>1.33</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <source>${compiler.source}</source> |
| <target>${compiler.target}</target> |
| <compilerArguments> |
| <Xmaxerrs>500</Xmaxerrs> |
| </compilerArguments> |
| <compilerArgs> |
| <arg>-Xlint:unchecked</arg> |
| </compilerArgs> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.6</version> |
| <configuration> |
| <archive> |
| <index>true</index> |
| <manifest> |
| <addDefaultImplementationEntries> |
| false |
| </addDefaultImplementationEntries> |
| <addDefaultSpecificationEntries> |
| true |
| </addDefaultSpecificationEntries> |
| </manifest> |
| <manifestEntries> |
| <!-- Must be on one line, otherwise the automatic |
| upgrade script cannot replace the version number --> |
| <Implementation-Version>1.7.0.0</Implementation-Version> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>0.8.2</version> |
| <executions> |
| <execution> |
| <id>pre-unit-test</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>post-unit-test</id> |
| <phase>test</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.2.1</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.9.1</version> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>1.5</version> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |