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/11/09 08:47:41 UTC

[iotdb] branch support_skip_download_docs created (now d5d4e56)

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

hxd pushed a change to branch support_skip_download_docs
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at d5d4e56  support skipping downloading docs from github

This branch includes the following new commits:

     new d5d4e56  support skipping downloading docs from github

The 1 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.



[iotdb] 01/01: support skipping downloading docs from github

Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit d5d4e566500115c865e93c866e85c093a6455abe
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Mon Nov 9 16:40:53 2020 +0800

    support skipping downloading docs from github
---
 site/pom.xml | 98 +++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 54 insertions(+), 44 deletions(-)

diff --git a/site/pom.xml b/site/pom.xml
index 9d2bb03..7035546 100644
--- a/site/pom.xml
+++ b/site/pom.xml
@@ -188,50 +188,6 @@
                     </execution>
                 </executions>
             </plugin>
-            <!-- download lagecy docs from iotdb repo -->
-            <plugin>
-                <groupId>com.googlecode.maven-download-plugin</groupId>
-                <artifactId>download-maven-plugin</artifactId>
-                <version>1.3.0</version>
-                <executions>
-                    <execution>
-                        <id>get-0.10-docs</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>wget</goal>
-                        </goals>
-                        <configuration>
-                            <url>https://github.com/apache/iotdb/archive/rel/0.10.zip</url>
-                            <outputDirectory>${project.build.directory}/download</outputDirectory>
-                            <outputFileName>0.10.x.zip</outputFileName>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>get-0.9-docs</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>wget</goal>
-                        </goals>
-                        <configuration>
-                            <url>https://github.com/apache/iotdb/archive/rel/0.9.zip</url>
-                            <outputDirectory>${project.build.directory}/download</outputDirectory>
-                            <outputFileName>0.9.x.zip</outputFileName>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>get-0.8-docs</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>wget</goal>
-                        </goals>
-                        <configuration>
-                            <url>https://github.com/apache/iotdb/archive/rel/0.8.zip</url>
-                            <outputDirectory>${project.build.directory}/download</outputDirectory>
-                            <outputFileName>0.8.x.zip</outputFileName>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
             <!-- unpack lagecy docs from the zip files-->
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
@@ -425,4 +381,58 @@
             </plugin>
         </plugins>
     </build>
+    <profiles>
+        <profile>
+            <id>download-from-github</id>
+            <build>
+                <plugins>
+                    <!-- download lagecy docs from iotdb repo -->
+                    <plugin>
+                        <groupId>com.googlecode.maven-download-plugin</groupId>
+                        <artifactId>download-maven-plugin</artifactId>
+                        <version>1.3.0</version>
+                        <executions>
+                            <execution>
+                                <id>get-0.10-docs</id>
+                                <phase>generate-sources</phase>
+                                <goals>
+                                    <goal>wget</goal>
+                                </goals>
+                                <configuration>
+                                    <url>https://github.com/apache/iotdb/archive/rel/0.10.zip</url>
+                                    <outputDirectory>${project.build.directory}/download</outputDirectory>
+                                    <outputFileName>0.10.x.zip</outputFileName>
+                                </configuration>
+                            </execution>
+                            <execution>
+                                <id>get-0.9-docs</id>
+                                <phase>generate-sources</phase>
+                                <goals>
+                                    <goal>wget</goal>
+                                </goals>
+                                <configuration>
+                                    <url>https://github.com/apache/iotdb/archive/rel/0.9.zip</url>
+                                    <outputDirectory>${project.build.directory}/download</outputDirectory>
+                                    <outputFileName>0.9.x.zip</outputFileName>
+                                </configuration>
+                            </execution>
+                            <execution>
+                                <id>get-0.8-docs</id>
+                                <phase>generate-sources</phase>
+                                <goals>
+                                    <goal>wget</goal>
+                                </goals>
+                                <configuration>
+                                    <url>https://github.com/apache/iotdb/archive/rel/0.8.zip</url>
+                                    <outputDirectory>${project.build.directory}/download</outputDirectory>
+                                    <outputFileName>0.8.x.zip</outputFileName>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+
+    </profiles>
 </project>