| <?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-parent</artifactId> | |
| <version>2.0.11-SNAPSHOT</version> | |
| </parent> | |
| <artifactId>iotdb-distribution</artifactId> | |
| <packaging>pom</packaging> | |
| <name>IoTDB: Distribution</name> | |
| <properties> | |
| <client.cpp.package.classifier>${os.classifier}</client.cpp.package.classifier> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>opc-ua-sink</artifactId> | |
| <version>${project.version}</version> | |
| <classifier>jar-with-dependencies</classifier> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-server</artifactId> | |
| <version>2.0.11-SNAPSHOT</version> | |
| <type>zip</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-cli</artifactId> | |
| <version>2.0.11-SNAPSHOT</version> | |
| <type>zip</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-confignode</artifactId> | |
| <version>2.0.11-SNAPSHOT</version> | |
| <type>zip</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>library-udf</artifactId> | |
| <version>2.0.11-SNAPSHOT</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>mqtt</artifactId> | |
| <version>2.0.11-SNAPSHOT</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>rest</artifactId> | |
| <version>2.0.11-SNAPSHOT</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <executions> | |
| <!-- Package binaries--> | |
| <execution> | |
| <id>all-bin</id> | |
| <goals> | |
| <goal>single</goal> | |
| </goals> | |
| <phase>package</phase> | |
| <configuration> | |
| <descriptors> | |
| <descriptor>src/assembly/all.xml</descriptor> | |
| <descriptor>src/assembly/library-udf.xml</descriptor> | |
| <descriptor>src/assembly/library-pipe.xml</descriptor> | |
| <descriptor>src/assembly/edge.xml</descriptor> | |
| </descriptors> | |
| <finalName>apache-iotdb-${project.version}</finalName> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- | |
| Create SHA512 checksum files for the release artifacts. | |
| --> | |
| <plugin> | |
| <groupId>net.nicoulaj.maven.plugins</groupId> | |
| <artifactId>checksum-maven-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>sign-source-release</id> | |
| <goals> | |
| <goal>files</goal> | |
| </goals> | |
| <phase>package</phase> | |
| <configuration> | |
| <algorithms> | |
| <algorithm>SHA-512</algorithm> | |
| </algorithms> | |
| <fileSets> | |
| <!--bin-all--> | |
| <fileSet> | |
| <directory>${project.build.directory}</directory> | |
| <includes> | |
| <include>apache-iotdb-${project.version}-all-bin.zip</include> | |
| <include>apache-iotdb-${project.version}-library-udf-bin.zip</include> | |
| <include>apache-iotdb-${project.version}-library-pipe-bin.zip</include> | |
| <include>apache-iotdb-${project.version}-external-service-impl-bin.zip</include> | |
| <include>apache-iotdb-${project.version}-edge-bin.zip</include> | |
| </includes> | |
| </fileSet> | |
| </fileSets> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <profiles> | |
| <profile> | |
| <id>.os-unix</id> | |
| <activation> | |
| <os> | |
| <name>Linux</name> | |
| <family>unix</family> | |
| <arch>!aarch64</arch> | |
| </os> | |
| </activation> | |
| <properties> | |
| <client.cpp.package.classifier>linux-x86_64-glibc2.28</client.cpp.package.classifier> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>.os-unix-arm</id> | |
| <activation> | |
| <os> | |
| <name>Linux</name> | |
| <family>unix</family> | |
| <arch>aarch64</arch> | |
| </os> | |
| </activation> | |
| <properties> | |
| <client.cpp.package.classifier>linux-aarch64-glibc2.28</client.cpp.package.classifier> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>.os-mac</id> | |
| <activation> | |
| <os> | |
| <family>mac</family> | |
| <arch>!aarch64</arch> | |
| </os> | |
| </activation> | |
| <properties> | |
| <client.cpp.package.classifier>macos-x86_64</client.cpp.package.classifier> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>.os-mac-arm</id> | |
| <activation> | |
| <os> | |
| <family>mac</family> | |
| <arch>aarch64</arch> | |
| </os> | |
| </activation> | |
| <properties> | |
| <client.cpp.package.classifier>macos-aarch64</client.cpp.package.classifier> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>.os-windows</id> | |
| <activation> | |
| <os> | |
| <family>windows</family> | |
| </os> | |
| </activation> | |
| <properties> | |
| <client.cpp.package.classifier>windows-x86_64-msvc14.3</client.cpp.package.classifier> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>with-cpp</id> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <executions> | |
| <!-- Package binaries--> | |
| <execution> | |
| <id>all-bin</id> | |
| <goals> | |
| <goal>single</goal> | |
| </goals> | |
| <phase>package</phase> | |
| <configuration> | |
| <descriptors combine.children="append"> | |
| <descriptor>src/assembly/client-cpp.xml</descriptor> | |
| </descriptors> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- | |
| Create SHA512 checksum files for the release artifacts. | |
| --> | |
| <plugin> | |
| <groupId>net.nicoulaj.maven.plugins</groupId> | |
| <artifactId>checksum-maven-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>sign-source-release</id> | |
| <goals> | |
| <goal>files</goal> | |
| </goals> | |
| <phase>package</phase> | |
| <configuration> | |
| <fileSets> | |
| <fileSet> | |
| <includes combine.children="append"> | |
| <include>apache-iotdb-${project.version}-client-cpp-${client.cpp.package.classifier}-bin.zip</include> | |
| </includes> | |
| </fileSet> | |
| </fileSets> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| <profile> | |
| <id>with-ainode</id> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.iotdb</groupId> | |
| <artifactId>iotdb-ainode</artifactId> | |
| <version>2.0.11-SNAPSHOT</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-assembly-plugin</artifactId> | |
| <executions> | |
| <!-- Package binaries--> | |
| <execution> | |
| <id>all-bin</id> | |
| <goals> | |
| <goal>single</goal> | |
| </goals> | |
| <phase>package</phase> | |
| <configuration> | |
| <descriptors combine.children="append"> | |
| <descriptor>src/assembly/ainode.xml</descriptor> | |
| </descriptors> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <!-- | |
| Create SHA512 checksum files for the release artifacts. | |
| --> | |
| <plugin> | |
| <groupId>net.nicoulaj.maven.plugins</groupId> | |
| <artifactId>checksum-maven-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>sign-source-release</id> | |
| <goals> | |
| <goal>files</goal> | |
| </goals> | |
| <phase>package</phase> | |
| <configuration> | |
| <fileSets> | |
| <fileSet> | |
| <includes combine.children="append"> | |
| <include>apache-iotdb-${project.version}-ainode-bin.zip</include> | |
| </includes> | |
| </fileSet> | |
| </fileSets> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </profile> | |
| </profiles> | |
| </project> |