This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch cherry_pick_rel0.8
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit e4b8f0b5a70f3a1048b23088acae568ae5cad594
Author: Julian Feinauer <[email protected]>
AuthorDate: Fri Jul 26 17:44:06 2019 +0800

    Changed artefactId and incubating in release artefact.
---
 pom.xml | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 79 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3e54a41..807a62a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,8 +27,8 @@
         <version>21</version>
     </parent>
     <groupId>org.apache.iotdb</groupId>
-    <artifactId>incubating-iotdb-parent</artifactId>
-    <version>0.9.0-SNAPSHOT</version>
+    <artifactId>iotdb-parent</artifactId>
+    <version>0.8.1-SNAPSHOT</version>
     <packaging>pom</packaging>
     <name>Apache IoTDB (incubating) Project Parent POM</name>
     <description>This is the top level project that builds, packages the 
tsfile, iotdb engine, jdbc, and integration libs.</description>
@@ -42,7 +42,7 @@
         
<connection>scm:git:https://github.com/apache/incubator-iotdb.git</connection>
         
<developerConnection>scm:git:https://github.com/apache/incubator-iotdb.git</developerConnection>
         <url>https://github.com/apache/incubator-iotdb</url>
-        <tag>HEAD</tag>
+        <tag>rel/0.8</tag>
     </scm>
     <!-- Properties Management -->
     <properties>
@@ -210,14 +210,15 @@
                             <!--Generated by Apache Release -->
                             <exclude>local-snapshots-dir/**</exclude>
                             <!--IoTDB data files-->
-                            <exclude>**/data/**</exclude>
-                            <exclude>**/logs/**</exclude>
+                            <exclude>iotdb/data/**</exclude>
+                            <exclude>iotdb/logs/**</exclude>
                             <exclude>src/test/resources/*.json</exclude>
                             <!-- for tsfile module -->
                             <!-- if `mvn clean` is not executed and `mvn test` 
is interrupted, then perTestInputData may be not deleted -->
                             
<exclude>src/test/resources/perTestInputData</exclude>
                             <exclude>src/test/resources/*.json</exclude>
-                            <exclude>NOTICE*</exclude>
+                            <exclude>NOTICE-binary</exclude>
+                            <exclude>LICENSE-binary</exclude>
                         </excludes>
                     </configuration>
                 </plugin>
@@ -368,6 +369,19 @@
               Check if all files contain Apache headers in them.
               Ignore this plugin, we use license-maven-plugin to check apache 
header.
             -->
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>license-check</id>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>check</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
             <!--use `mvn cobertura:cobertura` -->
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
@@ -570,5 +584,64 @@
                 </plugins>
             </build>
         </profile>
+        <!-- Make sure the source assembly has the right name (includes 
"incubating") -->
+        <profile>
+            <id>apache-release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>source-release-assembly</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>single</goal>
+                                </goals>
+                                <!-- heads up: combine.self in the following 
is highlighted
+                                    as an error in Eclipse's xml editor view.
+                                    Just ignore that.
+                                    See  
https://issues.apache.org/jira/browse/MNG-5454  sigh.
+                                 -->
+                                <configuration combine.self="append">
+                                    
<finalName>apache-iotdb-${project.version}-incubating</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>
+                        <version>1.8</version>
+                        <executions>
+                            <execution>
+                                <id>sign-source-release</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>files</goal>
+                                </goals>
+                                <configuration>
+                                    <algorithms>
+                                        <algorithm>SHA-512</algorithm>
+                                    </algorithms>
+                                    <fileSets>
+                                        <fileSet>
+                                            
<directory>${project.build.directory}</directory>
+                                            <includes>
+                                                
<include>apache-iotdb-${project.version}-incubating-source-release.zip</include>
+                                            </includes>
+                                        </fileSet>
+                                    </fileSets>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>

Reply via email to