Skip to content

Commit 9432b58

Browse files
author
2b3c511
committed
add package in distribution/
1 parent 744e0a5 commit 9432b58

File tree

4 files changed

+84
-55
lines changed

4 files changed

+84
-55
lines changed

distributions/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@
8181
<descriptors>
8282
<descriptor>src/assembly/spark-connector.xml</descriptor>
8383
<descriptor>src/assembly/flink-sql-connector.xml</descriptor>
84+
<descriptor>src/assembly/mybatis-generator-plugin.xml</descriptor>
85+
<descriptor>src/assembly/iotdb-spring-boot-starter.xml</descriptor>
8486
</descriptors>
8587
<finalName>apache-iotdb-${project.version}</finalName>
8688
</configuration>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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>spring-boot-starter-bin</id>
24+
<formats>
25+
<format>dir</format>
26+
<format>zip</format>
27+
</formats>
28+
<baseDirectory>apache-iotdb-${project.version}-spring-boot-starter-bin</baseDirectory>
29+
<fileSets>
30+
<fileSet>
31+
<directory>${maven.multiModuleProjectDirectory}/iotdb-spring-boot-starter/target/</directory>
32+
<outputDirectory>${file.separator}</outputDirectory>
33+
<includes>
34+
<include>iotdb-spring-boot-starter-*.jar</include>
35+
</includes>
36+
</fileSet>
37+
</fileSets>
38+
<componentDescriptors>
39+
<componentDescriptor>common-files.xml</componentDescriptor>
40+
</componentDescriptors>
41+
</assembly>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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>mybatis-generator-plugin-bin</id>
24+
<formats>
25+
<format>dir</format>
26+
<format>zip</format>
27+
</formats>
28+
<baseDirectory>apache-iotdb-${project.version}-mybatis-generator-plugin-bin</baseDirectory>
29+
<fileSets>
30+
<fileSet>
31+
<directory>${maven.multiModuleProjectDirectory}/mybatis-generator/target/</directory>
32+
<outputDirectory>${file.separator}</outputDirectory>
33+
<includes>
34+
<include>mybatis-generator-plugin-*.jar</include>
35+
</includes>
36+
</fileSet>
37+
</fileSets>
38+
<componentDescriptors>
39+
<componentDescriptor>common-files.xml</componentDescriptor>
40+
</componentDescriptors>
41+
</assembly>

mybatis-generator/pom.xml

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -24,59 +24,4 @@
2424
<version>1.4.2</version>
2525
</dependency>
2626
</dependencies>
27-
<build>
28-
<finalName>mybatis-generator-plugin</finalName>
29-
<plugins>
30-
<plugin>
31-
<groupId>org.apache.maven.plugins</groupId>
32-
<artifactId>maven-surefire-plugin</artifactId>
33-
<version>2.17</version>
34-
<configuration>
35-
<skipTests>true</skipTests>
36-
</configuration>
37-
</plugin>
38-
<plugin>
39-
<artifactId>maven-source-plugin</artifactId>
40-
<executions>
41-
<execution>
42-
<id>attach-sources</id>
43-
<goals>
44-
<goal>jar-no-fork</goal>
45-
</goals>
46-
</execution>
47-
</executions>
48-
</plugin>
49-
<plugin>
50-
<artifactId>maven-javadoc-plugin</artifactId>
51-
<executions>
52-
<execution>
53-
<id>attach-javadocs</id>
54-
<goals>
55-
<goal>jar</goal>
56-
</goals>
57-
</execution>
58-
</executions>
59-
</plugin>
60-
<plugin>
61-
<artifactId>maven-deploy-plugin</artifactId>
62-
<executions>
63-
<execution>
64-
<id>deploy</id>
65-
<phase>deploy</phase>
66-
<goals>
67-
<goal>deploy</goal>
68-
</goals>
69-
</execution>
70-
</executions>
71-
</plugin>
72-
<plugin>
73-
<groupId>org.apache.maven.plugins</groupId>
74-
<artifactId>maven-compiler-plugin</artifactId>
75-
<configuration>
76-
<source>1.8</source>
77-
<target>1.8</target>
78-
</configuration>
79-
</plugin>
80-
</plugins>
81-
</build>
8227
</project>

0 commit comments

Comments
 (0)