Skip to content

Commit 316bfb5

Browse files
committed
Add ainode to distribution (#14092)
* Add ainode to distribution (#14090) * fix version
1 parent 9251d9e commit 316bfb5

File tree

4 files changed

+106
-1
lines changed

4 files changed

+106
-1
lines changed

distribution/pom.xml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,63 @@
168168
</plugins>
169169
</build>
170170
</profile>
171+
<profile>
172+
<id>with-ainode</id>
173+
<dependencies>
174+
<dependency>
175+
<groupId>org.apache.iotdb</groupId>
176+
<artifactId>iotdb-ainode</artifactId>
177+
<version>1.3.4-SNAPSHOT</version>
178+
</dependency>
179+
</dependencies>
180+
<build>
181+
<plugins>
182+
<plugin>
183+
<groupId>org.apache.maven.plugins</groupId>
184+
<artifactId>maven-assembly-plugin</artifactId>
185+
<executions>
186+
<!-- Package binaries-->
187+
<execution>
188+
<id>all-bin</id>
189+
<goals>
190+
<goal>single</goal>
191+
</goals>
192+
<phase>package</phase>
193+
<configuration>
194+
<descriptors combine.children="append">
195+
<descriptor>src/assembly/ainode.xml</descriptor>
196+
</descriptors>
197+
</configuration>
198+
</execution>
199+
</executions>
200+
</plugin>
201+
<!--
202+
Create SHA512 checksum files for the release artifacts.
203+
-->
204+
<plugin>
205+
<groupId>net.nicoulaj.maven.plugins</groupId>
206+
<artifactId>checksum-maven-plugin</artifactId>
207+
<executions>
208+
<execution>
209+
<id>sign-source-release</id>
210+
<goals>
211+
<goal>files</goal>
212+
</goals>
213+
<phase>package</phase>
214+
<configuration>
215+
<fileSets>
216+
<fileSet>
217+
<includes combine.children="append">
218+
<include>apache-iotdb-${project.version}-ainode-bin.zip</include>
219+
</includes>
220+
</fileSet>
221+
</fileSets>
222+
</configuration>
223+
</execution>
224+
</executions>
225+
</plugin>
226+
</plugins>
227+
</build>
228+
</profile>
171229
</profiles>
172230
</project>
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Licensed to the Apache Software Foundation (ASF) under one
5+
or more contributor license agreements. See the NOTICE file
6+
distributed with this work for additional information
7+
regarding copyright ownership. The ASF licenses this file
8+
to you under the Apache License, Version 2.0 (the
9+
"License"); you may not use this file except in compliance
10+
with the License. You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing,
15+
software distributed under the License is distributed on an
16+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
KIND, either express or implied. See the License for the
18+
specific language governing permissions and limitations
19+
under the License.
20+
21+
-->
22+
<assembly>
23+
<id>ainode-bin</id>
24+
<formats>
25+
<format>dir</format>
26+
<format>zip</format>
27+
</formats>
28+
<baseDirectory>apache-iotdb-${project.version}-ainode-bin</baseDirectory>
29+
<fileSets>
30+
<fileSet>
31+
<directory>${project.basedir}/../iotdb-core/ainode/target/apache-iotdb-ainode-${project.version}/apache-iotdb-ainode-${project.version}/conf</directory>
32+
<outputDirectory>${file.separator}/conf</outputDirectory>
33+
</fileSet>
34+
<fileSet>
35+
<directory>${project.basedir}/../iotdb-core/ainode/target/apache-iotdb-ainode-${project.version}/apache-iotdb-ainode-${project.version}/sbin</directory>
36+
<outputDirectory>${file.separator}/sbin</outputDirectory>
37+
</fileSet>
38+
<fileSet>
39+
<directory>${project.basedir}/../iotdb-core/ainode/target/apache-iotdb-ainode-${project.version}/apache-iotdb-ainode-${project.version}/lib</directory>
40+
<outputDirectory>${file.separator}/lib</outputDirectory>
41+
</fileSet>
42+
</fileSets>
43+
<componentDescriptors>
44+
<componentDescriptor>common-files.xml</componentDescriptor>
45+
</componentDescriptors>
46+
</assembly>

iotdb-core/ainode/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
<plugin>
9393
<groupId>org.codehaus.gmaven</groupId>
9494
<artifactId>groovy-maven-plugin</artifactId>
95+
<version>2.1.1</version>
9596
<executions>
9697
<!--
9798
The python versioning follows slightly different rules than Maven.

iotdb-core/ainode/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build-backend = "poetry.core.masonry.api"
2121

2222
[tool.poetry]
2323
name = "apache-iotdb-ainode"
24-
version = "1.3.3.dev"
24+
version = "1.3.4.dev"
2525
description = "Apache IoTDB AINode"
2626
readme = "README.md"
2727
authors = ["Apache Software Foundation <[email protected]>"]

0 commit comments

Comments
 (0)