oltu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1462067 - in /oltu/trunk: site/ site/deploySite.sh site/pom.xml site/src/ site/src/site/site.xml src/
Date Thu, 28 Mar 2013 12:14:23 GMT
Author: simonetripodi
Date: Thu Mar 28 12:14:23 2013
New Revision: 1462067

URL: http://svn.apache.org/r1462067
Log:
[OLTU-91] #comment main site moved as a separate module #resolve

Added:
    oltu/trunk/site/   (with props)
    oltu/trunk/site/deploySite.sh
      - copied, changed from r1460987, oltu/trunk/deploySite.sh
    oltu/trunk/site/pom.xml   (with props)
    oltu/trunk/site/src/
      - copied from r1460987, oltu/trunk/src/
Removed:
    oltu/trunk/src/
Modified:
    oltu/trunk/site/src/site/site.xml

Propchange: oltu/trunk/site/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Mar 28 12:14:23 2013
@@ -0,0 +1,2 @@
+site-publish
+target

Copied: oltu/trunk/site/deploySite.sh (from r1460987, oltu/trunk/deploySite.sh)
URL: http://svn.apache.org/viewvc/oltu/trunk/site/deploySite.sh?p2=oltu/trunk/site/deploySite.sh&p1=oltu/trunk/deploySite.sh&r1=1460987&r2=1462067&rev=1462067&view=diff
==============================================================================
--- oltu/trunk/deploySite.sh (original)
+++ oltu/trunk/site/deploySite.sh Thu Mar 28 12:14:23 2013
@@ -19,4 +19,4 @@
 # under the License.
 #
 
-mvn -P site clean site-deploy scm-publish:publish-scm $@
+mvn clean site-deploy -Dusername=$1 -Dpassword=$2

Added: oltu/trunk/site/pom.xml
URL: http://svn.apache.org/viewvc/oltu/trunk/site/pom.xml?rev=1462067&view=auto
==============================================================================
--- oltu/trunk/site/pom.xml (added)
+++ oltu/trunk/site/pom.xml Thu Mar 28 12:14:23 2013
@@ -0,0 +1,171 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ | Licensed to the Apache Software Foundation (ASF) under one
+ | or more contributor license agreements.  See the NOTICE file
+ | distributed with this work for additional information
+ | regarding copyright ownership.  The ASF licenses this file
+ | to you under the Apache License, Version 2.0 (the
+ | "License"); you may not use this file except in compliance
+ | with the License.  You may obtain a copy of the License at
+ |
+ |   http://www.apache.org/licenses/LICENSE-2.0
+ |
+ | Unless required by applicable law or agreed to in writing,
+ | software distributed under the License is distributed on an
+ | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ | KIND, either express or implied.  See the License for the
+ | specific language governing permissions and limitations
+ | under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.oltu</groupId>
+    <artifactId>org.apache.oltu.parent</artifactId>
+    <version>1-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>org.apache.oltu.site</artifactId>
+  <version>1-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <name>Apache Oltu</name>
+
+  <properties>
+    <svnUrl>https://svn.apache.org/repos/asf/oltu/site/</svnUrl>
+    <checkoutDirectory>site-publish</checkoutDirectory>
+  </properties>
+
+  <distributionManagement>
+    <site>
+      <id>apache.website.svnpub</id>
+      <url>scm:svn:${svnUrl}</url>
+    </site>
+  </distributionManagement>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-doap-plugin</artifactId>
+        <configuration>
+          <artifact>
+            <groupId>${project.parent.groupId}</groupId>
+            <artifactId>${project.parent.artifactId}</artifactId>
+            <version>${project.parent.version}</version>
+          </artifact>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <configuration>
+          <locales>en</locales>
+          <skipDeploy>true</skipDeploy>
+        </configuration>
+        <executions>
+          <execution>
+            <id>attach-descriptor</id>
+            <goals>
+              <goal>attach-descriptor</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>stage-for-scm-publish</id>
+            <phase>post-site</phase>
+            <goals>
+              <goal>stage</goal>
+            </goals>
+            <configuration>
+              <skipDeploy>false</skipDeploy>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-scm-publish-plugin</artifactId>
+        <inherited>false</inherited>
+        <configuration>
+          <checkinComment>Oltu main site deployment</checkinComment>
+          <ignorePathsToDelete>
+            <ignorePathToDelete>oauth2**</ignorePathToDelete>
+          </ignorePathsToDelete>
+          <checkoutDirectory>${checkoutDirectory}</checkoutDirectory>
+        </configuration>
+        <executions>
+          <execution>
+            <id>scm-publish</id>
+            <phase>site-deploy</phase>
+            <goals>
+              <goal>publish-scm</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Apache Snapshot Repository</name>
+      <url>http://repository.apache.org/snapshots</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
+
+  <profiles>
+    <profile>
+      <id>setup-checkout</id>
+      <activation>
+        <file>
+          <missing>site-publish</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 ${svnUrl} ${checkoutDirectory}"
/>
+                    </exec>
+
+                    <exec executable="svn">
+                      <arg line="update --set-depth exclude ${checkoutDirectory}/oauth2"
/>
+                    </exec>
+
+                    <pathconvert pathsep=" " property="dirs">
+                      <dirset dir="${checkoutDirectory}" includes="*" />
+                    </pathconvert>
+                    <exec executable="svn">
+                      <arg line="update --set-depth infinity ${dirs}" />
+                    </exec>
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
+</project>

Propchange: oltu/trunk/site/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: oltu/trunk/site/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: oltu/trunk/site/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: oltu/trunk/site/src/site/site.xml
URL: http://svn.apache.org/viewvc/oltu/trunk/site/src/site/site.xml?rev=1462067&r1=1460987&r2=1462067&view=diff
==============================================================================
--- oltu/trunk/site/src/site/site.xml (original)
+++ oltu/trunk/site/src/site/site.xml Thu Mar 28 12:14:23 2013
@@ -40,6 +40,10 @@
   <version position="left" />
 
   <body>
+    <head>
+      <link rel="meta" title="DOAP" href="./doap_org.apache.oltu.parent.rdf" type="application/rdf+xml"
/>
+    </head>
+
     <menu name="${project.name}">
       <item href="./index.html" name="Overview" />
       <item href="https://cwiki.apache.org/confluence/display/OLTU/Documentation" name="Documentation"
/>
@@ -59,14 +63,6 @@
 
     <menu ref="modules" />
 
-    <menu name="ASF">
-      <item name="How Apache Works" href="http://www.apache.org/foundation/how-it-works.html"
/>
-      <item name="Foundation" href="http://www.apache.org/foundation/" />
-      <item name="Sponsoring Apache" href="http://www.apache.org/foundation/sponsorship.html"
/>
-      <item name="Thanks" href="http://www.apache.org/foundation/thanks.html" />
-      <item name="Apache Incubator" href="http://incubator.apache.org/" />
-    </menu>
-
     <footer>
       <div class="row span16">Apache Oltu, Apache, the Apache feather logo, and the
Apache Oltu project logos are trademarks of The Apache Software Foundation.
       All other marks mentioned may be trademarks or registered trademarks of their respective
owners.</div>



Mime
View raw message