This is an automated email from the ASF dual-hosted git repository.
rong pushed a commit to branch dev/1.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/dev/1.3 by this push:
new d9ad17a1186 Add ainode to distribution (#14092)
d9ad17a1186 is described below
commit d9ad17a11869c95661ba88e7452b7cbc8e463133
Author: Haonan <[email protected]>
AuthorDate: Thu Nov 14 15:30:53 2024 +0800
Add ainode to distribution (#14092)
* Add ainode to distribution (#14090)
* fix version
---
distribution/pom.xml | 58 ++++++++++++++++++++++++++++++++++++
distribution/src/assembly/ainode.xml | 46 ++++++++++++++++++++++++++++
iotdb-core/ainode/pom.xml | 1 +
iotdb-core/ainode/pyproject.toml | 2 +-
4 files changed, 106 insertions(+), 1 deletion(-)
diff --git a/distribution/pom.xml b/distribution/pom.xml
index fcead4e2c85..01fbf6b40a1 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -168,5 +168,63 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>with-ainode</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.iotdb</groupId>
+ <artifactId>iotdb-ainode</artifactId>
+ <version>1.3.4-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>
diff --git a/distribution/src/assembly/ainode.xml
b/distribution/src/assembly/ainode.xml
new file mode 100644
index 00000000000..c4bfca25c52
--- /dev/null
+++ b/distribution/src/assembly/ainode.xml
@@ -0,0 +1,46 @@
+<?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.
+
+-->
+<assembly>
+ <id>ainode-bin</id>
+ <formats>
+ <format>dir</format>
+ <format>zip</format>
+ </formats>
+ <baseDirectory>apache-iotdb-${project.version}-ainode-bin</baseDirectory>
+ <fileSets>
+ <fileSet>
+
<directory>${project.basedir}/../iotdb-core/ainode/target/apache-iotdb-ainode-${project.version}/apache-iotdb-ainode-${project.version}/conf</directory>
+ <outputDirectory>${file.separator}/conf</outputDirectory>
+ </fileSet>
+ <fileSet>
+
<directory>${project.basedir}/../iotdb-core/ainode/target/apache-iotdb-ainode-${project.version}/apache-iotdb-ainode-${project.version}/sbin</directory>
+ <outputDirectory>${file.separator}/sbin</outputDirectory>
+ </fileSet>
+ <fileSet>
+
<directory>${project.basedir}/../iotdb-core/ainode/target/apache-iotdb-ainode-${project.version}/apache-iotdb-ainode-${project.version}/lib</directory>
+ <outputDirectory>${file.separator}/lib</outputDirectory>
+ </fileSet>
+ </fileSets>
+ <componentDescriptors>
+ <componentDescriptor>common-files.xml</componentDescriptor>
+ </componentDescriptors>
+</assembly>
diff --git a/iotdb-core/ainode/pom.xml b/iotdb-core/ainode/pom.xml
index 4288d0b8d56..ba4f8bb7014 100644
--- a/iotdb-core/ainode/pom.xml
+++ b/iotdb-core/ainode/pom.xml
@@ -92,6 +92,7 @@
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>
+ <version>2.1.1</version>
<executions>
<!--
The python versioning follows slightly different rules
than Maven.
diff --git a/iotdb-core/ainode/pyproject.toml b/iotdb-core/ainode/pyproject.toml
index 9e9c13b895c..c8783997f7d 100644
--- a/iotdb-core/ainode/pyproject.toml
+++ b/iotdb-core/ainode/pyproject.toml
@@ -21,7 +21,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "apache-iotdb-ainode"
-version = "1.3.3.dev"
+version = "1.3.4.dev"
description = "Apache IoTDB AINode"
readme = "README.md"
authors = ["Apache Software Foundation <[email protected]>"]