| <?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>external-service-impl</artifactId> | |
| <version>2.0.13-SNAPSHOT</version> | |
| </parent> | |
| <artifactId>rest</artifactId> | |
| <name>IoTDB: External-Service-Impl: Rest</name> | |
| <properties> | |
| <maven.compiler.source>17</maven.compiler.source> | |
| <maven.compiler.target>17</maven.compiler.target> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>ch.qos.logback</groupId> | |
| <artifactId>logback-classic</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>ch.qos.logback</groupId> | |
| <artifactId>logback-core</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.glassfish.jersey.inject</groupId> | |
| <artifactId>jersey-hk2</artifactId> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>rest-openapi</artifactId> | |
| <version>2.0.13-SNAPSHOT</version> | |
| <exclusions> | |
| <!-- | |
| Keep jakarta.xml.bind-api 3.x for the Swagger/OpenAPI runtime. The | |
| datanode-provided jakarta.xml.bind-api 2.3.x still contains the old | |
| javax.xml.bind namespace and cannot satisfy jakarta.xml.bind classes. | |
| Exclude the JAXB-transitive activation implementation to avoid | |
| duplicating jakarta.activation classes with jakarta.activation-api. | |
| --> | |
| <exclusion> | |
| <groupId>com.sun.activation</groupId> | |
| <artifactId>jakarta.activation</artifactId> | |
| </exclusion> | |
| <!-- repeated in datanode --> | |
| <exclusion> | |
| <groupId>jakarta.validation</groupId> | |
| <artifactId>jakarta.validation-api</artifactId> | |
| </exclusion> | |
| <!-- repeated in datanode --> | |
| <exclusion> | |
| <groupId>org.javassist</groupId> | |
| <artifactId>javassist</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>jakarta.servlet</groupId> | |
| <artifactId>jakarta.servlet-api</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.glassfish.jersey.containers</groupId> | |
| <artifactId>jersey-container-servlet-core</artifactId> | |
| <exclusions> | |
| <!-- repeated in datanode --> | |
| <exclusion> | |
| <groupId>jakarta.validation</groupId> | |
| <artifactId>jakarta.validation-api</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.eclipse.jetty.ee10</groupId> | |
| <artifactId>jetty-ee10-servlet</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.eclipse.jetty</groupId> | |
| <artifactId>jetty-util</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.eclipse.jetty</groupId> | |
| <artifactId>jetty-server</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.eclipse.jetty</groupId> | |
| <artifactId>jetty-http</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.eclipse.jetty</groupId> | |
| <artifactId>jetty-io</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>node-commons</artifactId> | |
| <version>2.0.13-SNAPSHOT</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-server</artifactId> | |
| <version>2.0.13-SNAPSHOT</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>calc-commons</artifactId> | |
| <version>2.0.13-SNAPSHOT</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-session</artifactId> | |
| <version>2.0.13-SNAPSHOT</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>service-rpc</artifactId> | |
| <version>2.0.13-SNAPSHOT</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>jakarta.ws.rs</groupId> | |
| <artifactId>jakarta.ws.rs-api</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-thrift</artifactId> | |
| <version>2.0.13-SNAPSHOT</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.tsfile</groupId> | |
| <artifactId>tsfile</artifactId> | |
| <version>${tsfile.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.tsfile</groupId> | |
| <artifactId>common</artifactId> | |
| <version>${tsfile.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-thrift-commons</artifactId> | |
| <version>2.0.13-SNAPSHOT</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.antlr</groupId> | |
| <artifactId>antlr4-runtime</artifactId> | |
| <scope>provided</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <version>${maven.assembly.version}</version> | |
| <configuration> | |
| <descriptorRefs> | |
| <descriptorRef>jar-with-dependencies</descriptorRef> | |
| </descriptorRefs> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>make-assembly</id> | |
| <!-- bind to the packaging phase --> | |
| <goals> | |
| <goal>single</goal> | |
| </goals> | |
| <!-- this is used for inheritance merges --> | |
| <phase>package</phase> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <configuration> | |
| <ignoredDependencies> | |
| <ignoredDependency>org.apache.tsfile:common</ignoredDependency> | |
| <ignoredDependency>junit:junit</ignoredDependency> | |
| </ignoredDependencies> | |
| <usedDependencies> | |
| <!-- This dependency is required at runtime, when enabling the rest service --> | |
| <usedDependency>org.glassfish.jersey.inject:jersey-hk2</usedDependency> | |
| </usedDependencies> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |