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

liujun pushed a commit to branch 2.7.x
in repository https://gitbox.apache.org/repos/asf/dubbo-spi-extensions.git


The following commit(s) were added to refs/heads/2.7.x by this push:
     new 30f2014  prepare for release
30f2014 is described below

commit 30f2014b498c74ec593f2c908758895a2ec501d3
Author: ken.lj <ken.lj...@gmail.com>
AuthorDate: Wed Jan 6 00:06:41 2021 +0800

    prepare for release
---
 .../dubbo-api-docs-examples/examples-api/pom.xml   |   7 +-
 .../examples-provider-sca/pom.xml                  |   5 +-
 .../examples-provider/pom.xml                      |   4 +
 dubbo-api-docs/dubbo-api-docs-examples/pom.xml     |   4 +
 dubbo-api-docs/pom.xml                             | 117 +++++++++++++++------
 5 files changed, 103 insertions(+), 34 deletions(-)

diff --git a/dubbo-api-docs/dubbo-api-docs-examples/examples-api/pom.xml 
b/dubbo-api-docs/dubbo-api-docs-examples/examples-api/pom.xml
index 961cb5c..ccd5cff 100644
--- a/dubbo-api-docs/dubbo-api-docs-examples/examples-api/pom.xml
+++ b/dubbo-api-docs/dubbo-api-docs-examples/examples-api/pom.xml
@@ -27,14 +27,15 @@
 
     <artifactId>examples-api</artifactId>
 
-    <dependencies>
+    <properties>
+        <skip_maven_deploy>true</skip_maven_deploy>
+    </properties>
 
+    <dependencies>
         <dependency>
             <groupId>org.apache.dubbo</groupId>
             <artifactId>dubbo-api-docs-annotations</artifactId>
         </dependency>
-        
     </dependencies>
 
-
 </project>
diff --git 
a/dubbo-api-docs/dubbo-api-docs-examples/examples-provider-sca/pom.xml 
b/dubbo-api-docs/dubbo-api-docs-examples/examples-provider-sca/pom.xml
index c1ff683..de8500c 100644
--- a/dubbo-api-docs/dubbo-api-docs-examples/examples-provider-sca/pom.xml
+++ b/dubbo-api-docs/dubbo-api-docs-examples/examples-provider-sca/pom.xml
@@ -27,8 +27,11 @@
 
     <artifactId>examples-provider-sca</artifactId>
 
-    <dependencies>
+    <properties>
+        <skip_maven_deploy>true</skip_maven_deploy>
+    </properties>
 
+    <dependencies>
         <dependency>
             <groupId>org.apache.dubbo</groupId>
             <artifactId>dubbo-api-docs-core</artifactId>
diff --git a/dubbo-api-docs/dubbo-api-docs-examples/examples-provider/pom.xml 
b/dubbo-api-docs/dubbo-api-docs-examples/examples-provider/pom.xml
index aa16cae..dd05f82 100644
--- a/dubbo-api-docs/dubbo-api-docs-examples/examples-provider/pom.xml
+++ b/dubbo-api-docs/dubbo-api-docs-examples/examples-provider/pom.xml
@@ -27,6 +27,10 @@
 
     <artifactId>examples-provider</artifactId>
 
+    <properties>
+        <skip_maven_deploy>true</skip_maven_deploy>
+    </properties>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.dubbo</groupId>
diff --git a/dubbo-api-docs/dubbo-api-docs-examples/pom.xml 
b/dubbo-api-docs/dubbo-api-docs-examples/pom.xml
index 1fe85e5..ddadcc8 100644
--- a/dubbo-api-docs/dubbo-api-docs-examples/pom.xml
+++ b/dubbo-api-docs/dubbo-api-docs-examples/pom.xml
@@ -31,6 +31,10 @@
     <packaging>pom</packaging>
     <name>${project.artifactId}</name>
     <description>Dubbo interface documentation examples</description>
+
+    <properties>
+        <skip_maven_deploy>true</skip_maven_deploy>
+    </properties>
     
     <modules>
         <module>examples-api</module>
diff --git a/dubbo-api-docs/pom.xml b/dubbo-api-docs/pom.xml
index 75e5de5..ed3449d 100644
--- a/dubbo-api-docs/pom.xml
+++ b/dubbo-api-docs/pom.xml
@@ -29,14 +29,68 @@
     <packaging>pom</packaging>
     <name>${project.artifactId}</name>
     <description>Dubbo interface documentation, testing tools</description>
+    <url>https://github.com/apache/dubbo</url>
+    <inceptionYear>2020</inceptionYear>
+    <licenses>
+        <license>
+            <name>Apache License, Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+
+    <scm>
+        <url>https://github.com/apache/dubbo</url>
+        
<connection>scm:git:https://github.com/apache/dubbo-spi-extensions.git</connection>
+        
<developerConnection>scm:git:https://github.com/apache/dubbo-spi-extensions.git</developerConnection>
+        <tag>HEAD</tag>
+    </scm>
+    <mailingLists>
+        <mailingList>
+            <name>Development List</name>
+            <subscribe>dev-subscr...@dubbo.apache.org</subscribe>
+            <unsubscribe>dev-unsubscr...@dubbo.apache.org</unsubscribe>
+            <post>d...@dubbo.apache.org</post>
+        </mailingList>
+        <mailingList>
+            <name>Commits List</name>
+            <subscribe>commits-subscr...@dubbo.apache.org</subscribe>
+            <unsubscribe>commits-unsubscr...@dubbo.apache.org</unsubscribe>
+            <post>commits@dubbo.apache.org</post>
+        </mailingList>
+        <mailingList>
+            <name>Issues List</name>
+            <subscribe>issues-subscr...@dubbo.apache.org</subscribe>
+            <unsubscribe>issues-unsubscr...@dubbo.apache.org</unsubscribe>
+            <post>iss...@dubbo.apache.org</post>
+        </mailingList>
+    </mailingLists>
+    <developers>
+        <developer>
+            <id>dubbo.io</id>
+            <name>The Dubbo Project Contributors</name>
+            <email>dev-subscr...@dubbo.apache.org</email>
+            <url>http://dubbo.apache.org/</url>
+        </developer>
+    </developers>
+
+    <organization>
+        <name>The Apache Software Foundation</name>
+        <url>http://www.apache.org/</url>
+    </organization>
+
+    <issueManagement>
+        <system>Github Issues</system>
+        <url>https://github.com/apache/dubbo-spi-extensions/issues</url>
+    </issueManagement>
+
     <properties>
-        <revision>2.7.8-SNAPSHOT</revision>
+        <revision>2.7.8</revision>
         <project.build.jdkVersion>1.8</project.build.jdkVersion>
         <argLine>-Dfile.encoding=UTF-8</argLine>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <skipJunitTest>true</skipJunitTest>
 
-        <skip_maven_deploy>true</skip_maven_deploy>
         <maven-flatten-version>1.1.0</maven-flatten-version>
 
         <spring-boot.version>2.3.4.RELEASE</spring-boot.version>
@@ -161,34 +215,6 @@
     <build>
         <plugins>
             <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>flatten-maven-plugin</artifactId>
-                <version>${maven-flatten-version}</version>
-                <configuration>
-                    <updatePomFile>true</updatePomFile>
-                    <flattenMode>resolveCiFriendliesOnly</flattenMode>
-                    <pomElements>
-                        <dependencies>expand</dependencies>
-                    </pomElements>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>flatten</id>
-                        <phase>process-resources</phase>
-                        <goals>
-                            <goal>flatten</goal>
-                        </goals>
-                    </execution>
-                    <execution>
-                        <id>flatten.clean</id>
-                        <phase>clean</phase>
-                        <goals>
-                            <goal>clean</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
                     <source>${project.build.jdkVersion}</source>
@@ -208,6 +234,15 @@
             </plugin>
 
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <version>2.8.2</version>
+                <configuration>
+                    <skip>${skip_maven_deploy}</skip>
+                </configuration>
+            </plugin>
+
+            <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
                     <skip>${skipJunitTest}</skip>
@@ -247,4 +282,26 @@
             </plugin>
         </plugins>
     </build>
+
+    <profiles>
+        <profile>
+            <id>release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>

Reply via email to