| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one | |
| or more contributor license agreements. See the NOTICE file | |
| distributed with this work for additional information | |
| regarding copyright ownership. The ASF licenses this file | |
| to you under the Apache License, Version 2.0 (the | |
| "License"); you may not use this file except in compliance | |
| with the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, | |
| software distributed under the License is distributed on an | |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| KIND, either express or implied. See the License for the | |
| specific language governing permissions and limitations | |
| under the License. | |
| --> | |
| <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> | |
| <parent> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-core</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </parent> | |
| <artifactId>iotdb-confignode</artifactId> | |
| <name>IoTDB: Core: ConfigNode</name> | |
| <properties> | |
| <confignode.it.skip>${confignode.test.skip}</confignode.it.skip> | |
| <confignode.test.skip>false</confignode.test.skip> | |
| <confignode.ut.skip>${confignode.test.skip}</confignode.ut.skip> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.tsfile</groupId> | |
| <artifactId>common</artifactId> | |
| <version>${tsfile.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>service-rpc</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-subscription</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-consensus</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-server</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>pipe-api</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>trigger-api</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>metrics-interface</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-thrift</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-thrift-commons</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-thrift-confignode</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-thrift-ainode</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>node-commons</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>udf-api</artifactId> | |
| <version>1.3.7-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.tsfile</groupId> | |
| <artifactId>tsfile</artifactId> | |
| <version>${tsfile.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.dropwizard.metrics</groupId> | |
| <artifactId>metrics-core</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-io</groupId> | |
| <artifactId>commons-io</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.ratis</groupId> | |
| <artifactId>ratis-common</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>jakarta.validation</groupId> | |
| <artifactId>jakarta.validation-api</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-lang3</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.thrift</groupId> | |
| <artifactId>libthrift</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.code.findbugs</groupId> | |
| <artifactId>jsr305</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.mockito</groupId> | |
| <artifactId>mockito-core</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.tngtech.archunit</groupId> | |
| <artifactId>archunit</artifactId> | |
| <version>1.3.0</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-math3</artifactId> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <executions> | |
| <!-- Package binaries--> | |
| <execution> | |
| <id>confignode-assembly</id> | |
| <goals> | |
| <goal>single</goal> | |
| </goals> | |
| <phase>package</phase> | |
| <configuration> | |
| <descriptors> | |
| <descriptor>src/assembly/confignode.xml</descriptor> | |
| </descriptors> | |
| <appendAssemblyId>false</appendAssemblyId> | |
| <archive> | |
| <manifest> | |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> | |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> | |
| </manifest> | |
| </archive> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- generate test codes into test-jar--> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-jar-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>test-jar</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!--using `mvn test` to run UT, `mvn verify` to run ITs | |
| Reference: https://antoniogoncalves.org/2012/12/13/lets-turn-integration-tests-with-maven-to-a-first-class-citizen/--> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <configuration> | |
| <skipTests>${confignode.ut.skip}</skipTests> | |
| <reuseForks>false</reuseForks> | |
| <runOrder>random</runOrder> | |
| </configuration> | |
| </plugin> | |
| <!-- Make sure stuff is also cleaned up, which might be left over from the tests --> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-clean-plugin</artifactId> | |
| <configuration> | |
| <filesets> | |
| <fileset> | |
| <directory>data</directory> | |
| <includes> | |
| <include>**</include> | |
| </includes> | |
| </fileset> | |
| <fileset> | |
| <directory>ext</directory> | |
| <includes> | |
| <include>**</include> | |
| </includes> | |
| </fileset> | |
| </filesets> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <profiles> | |
| <profile> | |
| <id>skipConfigNodeTests</id> | |
| <activation> | |
| <property> | |
| <name>skipTests</name> | |
| <value>true</value> | |
| </property> | |
| </activation> | |
| <properties> | |
| <confignode.it.skip>true</confignode.it.skip> | |
| <confignode.test.skip>true</confignode.test.skip> | |
| <confignode.ut.skip>true</confignode.ut.skip> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>skipUT_ConfigNode_Tests</id> | |
| <activation> | |
| <property> | |
| <name>skipUTs</name> | |
| <value>true</value> | |
| </property> | |
| </activation> | |
| <properties> | |
| <confignode.ut.skip>true</confignode.ut.skip> | |
| </properties> | |
| </profile> | |
| </profiles> | |
| </project> |