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 2020/03/30 00:29:07 UTC

[incubator-iotdb] branch site updated: add scm publish plugin

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

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


The following commit(s) were added to refs/heads/site by this push:
     new 0f5cfd1  add scm publish plugin
0f5cfd1 is described below

commit 0f5cfd16401aae29b96f171cd9f608ff47cd2fbb
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Mon Mar 30 08:28:47 2020 +0800

    add scm publish plugin
---
 site/pom.xml | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/site/pom.xml b/site/pom.xml
index 5f6ab6e..267853b 100644
--- a/site/pom.xml
+++ b/site/pom.xml
@@ -31,6 +31,14 @@
     <properties>
         <frontend-maven-plugin.version>1.9.1</frontend-maven-plugin.version>
     </properties>
+
+    <distributionManagement>
+        <site>
+            <id>apache.website</id>
+            <url>scm:git:https://gitbox.apache.org/repos/asf/incubator-iotdb-website.git</url>
+        </site>
+    </distributionManagement>
+
     <build>
         <plugins>
             <!-- copy source codes into vue required folders-->
@@ -300,7 +308,27 @@
                     </execution>
                 </executions>
             </plugin>
-
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-scm-publish-plugin</artifactId>
+                <configuration>
+                    <!-- mono-module doesn't require site:stage -->
+                    <content>${project.build.directory}/vue-source/src/.vuepress/dist</content>
+                    <!-- branch where to deploy -->
+                    <scmBranch>asf-site</scmBranch>
+                </configuration>
+            </plugin>
+<!--            <plugin>-->
+<!--                <groupId>org.simplify4u.plugins</groupId>-->
+<!--                <artifactId>sitemapxml-maven-plugin</artifactId>-->
+<!--                <executions>-->
+<!--                    <execution>-->
+<!--                        <goals>-->
+<!--                            <goal>gen</goal>-->
+<!--                        </goals>-->
+<!--                    </execution>-->
+<!--                </executions>-->
+<!--            </plugin>-->
         </plugins>
     </build>
 </project>