You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2014/11/29 12:26:47 UTC
[1/2] [text] Tweak site build
Repository: commons-text
Updated Branches:
refs/heads/master 8fe55d48a -> 3e1dfab23
Tweak site build
Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/76226bc2
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/76226bc2
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/76226bc2
Branch: refs/heads/master
Commit: 76226bc2276b64bbc92e8fea59641db30fae04e0
Parents: 8fe55d4
Author: Benedikt Ritter <br...@apache.org>
Authored: Sat Nov 29 12:25:36 2014 +0100
Committer: Benedikt Ritter <br...@apache.org>
Committed: Sat Nov 29 12:25:36 2014 +0100
----------------------------------------------------------------------
pom.xml | 48 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 47 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-text/blob/76226bc2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0b1e219..0d4195f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -102,7 +102,7 @@
<commons.jira.id>SANDBOX</commons.jira.id>
<commons.jira.pid>12317115</commons.jira.pid>
- <commons.site.path>commons-text</commons.site.path>
+ <commons.site.path>text</commons.site.path>
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/sandbox/commons-text</commons.scmPubUrl>
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
</properties>
@@ -246,4 +246,50 @@
</plugins>
</reporting>
+ <profiles>
+ <profile>
+ <id>setup-checkout</id>
+ <activation>
+ <file>
+ <missing>site-content</missing>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>prepare-checkout</id>
+ <phase>pre-site</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <exec executable="svn">
+ <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
+ </exec>
+
+ <exec executable="svn">
+ <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" />
+ </exec>
+
+ <pathconvert pathsep=" " property="dirs">
+ <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" />
+ </pathconvert>
+ <exec executable="svn">
+ <arg line="update --set-depth infinity ${dirs}" />
+ </exec>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
[2/2] [text] Add site-content directory to gitignore
Posted by br...@apache.org.
Add site-content directory to gitignore
Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/3e1dfab2
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/3e1dfab2
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/3e1dfab2
Branch: refs/heads/master
Commit: 3e1dfab235c20e69341e0cabb77b8414f7ebbd15
Parents: 76226bc
Author: Benedikt Ritter <br...@apache.org>
Authored: Sat Nov 29 12:26:29 2014 +0100
Committer: Benedikt Ritter <br...@apache.org>
Committed: Sat Nov 29 12:26:29 2014 +0100
----------------------------------------------------------------------
.gitignore | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-text/blob/3e1dfab2/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index dc0d833..c2b8af5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
target/
+site-content