| <?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.ceresdb</groupId> |
| <artifactId>ceresdb-client</artifactId> |
| <version>0.1.0</version> |
| <packaging>pom</packaging> |
| |
| <modules> |
| <module>ceresdb-all</module> |
| <module>ceresdb-common</module> |
| <module>ceresdb-example</module> |
| <module>ceresdb-grpc</module> |
| <module>ceresdb-protocol</module> |
| <module>ceresdb-rpc</module> |
| <module>ceresdb-sql</module> |
| <module>ceresdb-sql-javacc</module> |
| <module>ceresdb-http</module> |
| </modules> |
| |
| <properties> |
| <arvo.version>1.10.2</arvo.version> |
| <gson.version>2.8.9</gson.version> |
| <io.grpc.version>1.23.0</io.grpc.version> |
| <jmh.version>1.20</jmh.version> |
| <junit.dep.version>4.8.2</junit.dep.version> |
| <junit.version>4.13.1</junit.version> |
| <kotlin.version>1.6.0</kotlin.version> |
| <limits.version>0.3.6</limits.version> |
| <log4j.version>2.17.1</log4j.version> |
| <main.user.dir>${user.dir}</main.user.dir> |
| <maven.compiler.source>8</maven.compiler.source> |
| <maven.compiler.target>8</maven.compiler.target> |
| <metrics.version>4.2.2</metrics.version> |
| <mockito.version>1.9.5</mockito.version> |
| <okhttp.version>4.9.1</okhttp.version> |
| <okio.version>2.8.0</okio.version> |
| <project.encoding>UTF-8</project.encoding> |
| <protobuf.version>3.16.1</protobuf.version> |
| <slf4j.version>1.7.21</slf4j.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ceresdb-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ceresdb-grpc</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ceresdb-http</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ceresdb-protocol</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ceresdb-rpc</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ceresdb-sql</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ceresdb-sql-javacc</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>ceresdb-example</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>avro</artifactId> |
| <version>${arvo.version}</version> |
| </dependency> |
| |
| <!-- grpc --> |
| <dependency> |
| <groupId>io.grpc</groupId> |
| <artifactId>grpc-netty-shaded</artifactId> |
| <version>${io.grpc.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.grpc</groupId> |
| <artifactId>grpc-protobuf</artifactId> |
| <version>${io.grpc.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.grpc</groupId> |
| <artifactId>grpc-stub</artifactId> |
| <version>${io.grpc.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>${gson.version}</version> |
| </dependency> |
| |
| <!-- protobuf --> |
| <dependency> |
| <groupId>com.google.protobuf</groupId> |
| <artifactId>protobuf-java</artifactId> |
| <version>${protobuf.version}</version> |
| </dependency> |
| |
| <!-- metrics --> |
| <dependency> |
| <groupId>io.dropwizard.metrics</groupId> |
| <artifactId>metrics-core</artifactId> |
| <version>${metrics.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>slf4j-api</artifactId> |
| <groupId>org.slf4j</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/com.netflix.concurrency-limits/concurrency-limits-core --> |
| <dependency> |
| <groupId>com.netflix.concurrency-limits</groupId> |
| <artifactId>concurrency-limits-core</artifactId> |
| <version>${limits.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>slf4j-api</artifactId> |
| <groupId>org.slf4j</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- log impl --> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${log4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${log4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <version>${log4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- http client --> |
| <dependency> |
| <groupId>org.jetbrains.kotlin</groupId> |
| <artifactId>kotlin-stdlib-common</artifactId> |
| <version>${kotlin.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jetbrains.kotlin</groupId> |
| <artifactId>kotlin-stdlib</artifactId> |
| <version>${kotlin.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup.okio</groupId> |
| <artifactId>okio</artifactId> |
| <version>${okio.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup.okhttp3</groupId> |
| <artifactId>okhttp</artifactId> |
| <version>${okhttp.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>okio</artifactId> |
| <groupId>com.squareup.okio</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>kotlin-stdlib</artifactId> |
| <groupId>org.jetbrains.kotlin</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>kotlin-stdlib-common</artifactId> |
| <groupId>org.jetbrains.kotlin</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- test --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit-dep</artifactId> |
| <version>${junit.dep.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>${mockito.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- benchmark --> |
| <dependency> |
| <groupId>org.openjdk.jmh</groupId> |
| <artifactId>jmh-core</artifactId> |
| <version>${jmh.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.openjdk.jmh</groupId> |
| <artifactId>jmh-generator-annprocess</artifactId> |
| <version>${jmh.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>com.mycila</groupId> |
| <artifactId>license-maven-plugin</artifactId> |
| <versionRange>[3.0,)</versionRange> |
| <goals> |
| <goal>remove</goal> |
| <goal>format</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore></ignore> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>com.github.ekryd.sortpom</groupId> |
| <artifactId>sortpom-maven-plugin</artifactId> |
| <versionRange>[2.4.0,)</versionRange> |
| <goals> |
| <goal>sort</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore></ignore> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| <artifactId>maven-java-formatter-plugin</artifactId> |
| <versionRange>[0.4,)</versionRange> |
| <goals> |
| <goal>format</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore></ignore> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.8.0</version> |
| <configuration> |
| <source>${maven.compiler.source}</source> |
| <target>${maven.compiler.target}</target> |
| <encoding>${project.encoding}</encoding> |
| <showDeprecation>true</showDeprecation> |
| <showWarnings>true</showWarnings> |
| </configuration> |
| </plugin> |
| <!-- formatter --> |
| <plugin> |
| <groupId>com.googlecode.maven-java-formatter-plugin</groupId> |
| <artifactId>maven-java-formatter-plugin</artifactId> |
| <version>0.4</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>format</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <configFile>${main.user.dir}/tools/codestyle/formatter.xml</configFile> |
| <encoding>${project.encoding}</encoding> |
| </configuration> |
| </plugin> |
| <!-- sort pom --> |
| <plugin> |
| <groupId>com.github.ekryd.sortpom</groupId> |
| <artifactId>sortpom-maven-plugin</artifactId> |
| <version>2.4.0</version> |
| <executions> |
| <execution> |
| <id>sort-pom</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>sort</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <nrOfIndentSpace>4</nrOfIndentSpace> |
| <keepBlankLines>true</keepBlankLines> |
| <sortProperties>true</sortProperties> |
| <encoding>${project.encoding}</encoding> |
| </configuration> |
| </plugin> |
| <!-- Source --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.0.1</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>3.15.0</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <failOnViolation>true</failOnViolation> |
| <!-- this is actually true by default, but can be disabled --> |
| <printFailingErrors>true</printFailingErrors> |
| <analysisCache>true</analysisCache> |
| <!-- enable incremental analysis --> |
| <analysisCacheLocation>${project.build.directory}/pmd/pmd.cache</analysisCacheLocation> |
| <excludes> |
| <exclude>**/ServiceLoader.java</exclude> |
| <exclude>**/UnsafeUtil.java</exclude> |
| <exclude>**/proto/*</exclude> |
| <exclude>**/sql/AbstractCharStream.java</exclude> |
| <exclude>**/sql/CeresDBxSqlParser.java</exclude> |
| <exclude>**/sql/CeresDBxSqlParserConstants.java</exclude> |
| <exclude>**/sql/CeresDBxSqlParserTokenManager.java</exclude> |
| <exclude>**/sql/ParseException.java</exclude> |
| <exclude>**/sql/SimpleCharStream.java</exclude> |
| <exclude>**/sql/Token.java</exclude> |
| <exclude>**/sql/TokenMgrException.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.mycila</groupId> |
| <artifactId>license-maven-plugin</artifactId> |
| <version>3.0</version> |
| <executions> |
| <execution> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>remove</goal> |
| <goal>format</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <quiet>true</quiet> |
| <header>${main.user.dir}/tools/codestyle/HEADER</header> |
| <includes> |
| <include>**/src/main/java/**</include> |
| <include>**/src/test/java/**</include> |
| </includes> |
| <strictCheck>true</strictCheck> |
| <mapping> |
| <java>SLASHSTAR_STYLE</java> |
| </mapping> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |