You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/07/23 15:17:08 UTC
[incubator-iotdb] branch cherry-pick-build-module-from-0.8 created
(now 70dd773)
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a change to branch cherry-pick-build-module-from-0.8
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.
at 70dd773 set the version in build/pom.xml as 0.9.0-SNAPSHOT
This branch includes the following new commits:
new 2da000a add build module
new c1a1e11 remove antrun plugin
new 6f8cf76 add apache rat for build/*.xml
new 70dd773 set the version in build/pom.xml as 0.9.0-SNAPSHOT
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[incubator-iotdb] 04/04: set the version in build/pom.xml as
0.9.0-SNAPSHOT
Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch cherry-pick-build-module-from-0.8
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 70dd773236586cf96989284e6eb7806f26c0c47c
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Tue Jul 23 23:16:48 2019 +0800
set the version in build/pom.xml as 0.9.0-SNAPSHOT
---
build/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build/pom.xml b/build/pom.xml
index 604446d..03cc55e 100644
--- a/build/pom.xml
+++ b/build/pom.xml
@@ -23,7 +23,7 @@
<parent>
<artifactId>root</artifactId>
<groupId>org.apache.iotdb</groupId>
- <version>0.8.0</version>
+ <version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>build</artifactId>
[incubator-iotdb] 02/04: remove antrun plugin
Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch cherry-pick-build-module-from-0.8
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit c1a1e1160310bbc696b444509ee6b5e9baf8957d
Author: qiaojialin <64...@qq.com>
AuthorDate: Tue Jul 23 21:16:12 2019 +0800
remove antrun plugin
---
client/pom.xml | 33 ---------------------------------
server/pom.xml | 38 --------------------------------------
2 files changed, 71 deletions(-)
diff --git a/client/pom.xml b/client/pom.xml
index 279daaa..aef63de 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -103,39 +103,6 @@
<outputDirectory>${project.basedir}/cli/lib</outputDirectory>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
- <executions>
- <execution>
- <id>copy</id>
- <phase>package</phase>
- <configuration>
- <target>
- <echo>ANT TASK - copying client files....</echo>
- <copy todir="${maven.multiModuleProjectDirectory}/target/lib/" overwrite="true" flatten="true">
- <fileset dir="${project.basedir}/cli/lib" includes="*.jar">
- <include name="*.jar"/>
- </fileset>
- </copy>
- <copy todir="${maven.multiModuleProjectDirectory}/target/sbin/" overwrite="true" flatten="true">
- <fileset dir="${project.basedir}/cli/sbin" includes="*">
- <include name="*"/>
- </fileset>
- </copy>
- <copy todir="${maven.multiModuleProjectDirectory}/target/tools/" overwrite="true" flatten="true">
- <fileset dir="${project.basedir}/cli/tools" includes="*">
- <include name="*"/>
- </fileset>
- </copy>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
<!--using `mvn test` to run UT, `mvn verify` to run ITs
Reference: https://antoniogoncalves.org/2012/12/13/lets-turn-integration-tests-with-maven-to-a-first-class-citizen/-->
<plugin>
diff --git a/server/pom.xml b/server/pom.xml
index a19d28c..b83f788 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -159,44 +159,6 @@
<outputDirectory>${project.basedir}/iotdb/lib</outputDirectory>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
- <executions>
- <execution>
- <id>copy</id>
- <phase>package</phase>
- <configuration>
- <target>
- <echo>ANT TASK - copying server files....</echo>
- <copy todir="${maven.multiModuleProjectDirectory}/target/conf/" overwrite="true" flatten="true">
- <fileset dir="${project.basedir}/iotdb/conf" includes="*">
- <include name="*"/>
- </fileset>
- </copy>
- <copy todir="${maven.multiModuleProjectDirectory}/target/lib/" overwrite="true" flatten="true">
- <fileset dir="${project.basedir}/iotdb/lib" includes="*.jar">
- <include name="*.jar"/>
- </fileset>
- </copy>
- <copy todir="${maven.multiModuleProjectDirectory}/target/sbin/" overwrite="true" flatten="true">
- <fileset dir="${project.basedir}/iotdb/sbin" includes="*">
- <include name="*"/>
- </fileset>
- </copy>
- <copy todir="${maven.multiModuleProjectDirectory}/target/tools/" overwrite="true" flatten="true">
- <fileset dir="${project.basedir}/iotdb/tools" includes="*">
- <include name="*"/>
- </fileset>
- </copy>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
<!--using `mvn test` to run UT, `mvn verify` to run ITs
Reference: https://antoniogoncalves.org/2012/12/13/lets-turn-integration-tests-with-maven-to-a-first-class-citizen/-->
<plugin>
[incubator-iotdb] 03/04: add apache rat for build/*.xml
Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch cherry-pick-build-module-from-0.8
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 6f8cf769f70d713177f95c1f1aa5d0d952cdedde
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Tue Jul 23 22:13:27 2019 +0800
add apache rat for build/*.xml
---
build/pom.xml | 20 ++++++++++++++++++++
build/src/main/resources/distribution.xml | 20 ++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/build/pom.xml b/build/pom.xml
index 7d34c07..604446d 100644
--- a/build/pom.xml
+++ b/build/pom.xml
@@ -1,4 +1,24 @@
<?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">
<parent>
<artifactId>root</artifactId>
diff --git a/build/src/main/resources/distribution.xml b/build/src/main/resources/distribution.xml
index aa23863..18f6b6e 100644
--- a/build/src/main/resources/distribution.xml
+++ b/build/src/main/resources/distribution.xml
@@ -1,4 +1,24 @@
<?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>release</id>
<formats>
[incubator-iotdb] 01/04: add build module
Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch cherry-pick-build-module-from-0.8
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 2da000ae05f3fc09172dd8aab4223760ab41a042
Author: qiaojialin <64...@qq.com>
AuthorDate: Tue Jul 23 21:10:38 2019 +0800
add build module
---
.gitignore | 2 --
build/pom.xml | 38 ++++++++++++++++++++
build/src/main/resources/distribution.xml | 60 +++++++++++++++++++++++++++++++
pom.xml | 1 +
4 files changed, 99 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 66819c0..891a4e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,7 +38,6 @@ derby-tsfile-db
# build generated
**/target/
-**/build/
# intermediately generated locally
**/logs/
@@ -77,7 +76,6 @@ grafana/logs/
### NetBeans ###
**/nbproject/private/
-**/build/
**/nbbuild/
**/dist/
**/nbdist/
diff --git a/build/pom.xml b/build/pom.xml
new file mode 100644
index 0000000..7d34c07
--- /dev/null
+++ b/build/pom.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+ <parent>
+ <artifactId>root</artifactId>
+ <groupId>org.apache.iotdb</groupId>
+ <version>0.8.0</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>build</artifactId>
+ <name>build</name>
+ <!-- FIXME change it to the project's website -->
+ <url>http://www.example.com</url>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <maven.compiler.source>1.7</maven.compiler.source>
+ <maven.compiler.target>1.7</maven.compiler.target>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/resources/distribution.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/build/src/main/resources/distribution.xml b/build/src/main/resources/distribution.xml
new file mode 100644
index 0000000..aa23863
--- /dev/null
+++ b/build/src/main/resources/distribution.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly>
+ <id>release</id>
+ <formats>
+ <format>tar.gz</format>
+ </formats>
+ <includeBaseDirectory>true</includeBaseDirectory>
+ <files>
+ <file>
+ <source>${maven.multiModuleProjectDirectory}/README.md</source>
+ </file>
+ <file>
+ <source>${maven.multiModuleProjectDirectory}/License</source>
+ </file>
+ <file>
+ <source>${maven.multiModuleProjectDirectory}/NOTICE</source>
+ </file>
+ <file>
+ <source>${maven.multiModuleProjectDirectory}/RELEASE_NOTES.md</source>
+ </file>
+ </files>
+ <fileSets>
+ <fileSet>
+ <directory>${maven.multiModuleProjectDirectory}/licenses</directory>
+ <outputDirectory>licenses</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>${maven.multiModuleProjectDirectory}/docs</directory>
+ <outputDirectory>docs</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>${maven.multiModuleProjectDirectory}/server/iotdb/conf</directory>
+ <outputDirectory>conf</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>${maven.multiModuleProjectDirectory}/server/iotdb/lib</directory>
+ <outputDirectory>lib</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>${maven.multiModuleProjectDirectory}/client/cli/lib</directory>
+ <outputDirectory>lib</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>${maven.multiModuleProjectDirectory}/server/iotdb/sbin</directory>
+ <outputDirectory>sbin</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>${maven.multiModuleProjectDirectory}/client/cli/sbin</directory>
+ <outputDirectory>sbin</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>${maven.multiModuleProjectDirectory}/server/iotdb/tools</directory>
+ <outputDirectory>tools</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>${maven.multiModuleProjectDirectory}/client/cli/tools</directory>
+ <outputDirectory>tools</outputDirectory>
+ </fileSet>
+ </fileSets>
+</assembly>
diff --git a/pom.xml b/pom.xml
index 04414a5..d12effb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -142,6 +142,7 @@
<module>example</module>
<module>grafana</module>
<module>spark-tsfile</module>
+ <module>build</module>
<!-- <module>hadoop</module> -->
</modules>
<build>