cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1343658 - in /cocoon/subprojects/cocoon-configuration-api/trunk: pom.xml src/site/ src/site/resources/ src/site/resources/images/ src/site/resources/images/external.png src/site/site.xml src/site/xdoc/ src/site/xdoc/index.xml
Date Tue, 29 May 2012 10:47:10 GMT
Author: ilgrosso
Date: Tue May 29 10:47:10 2012
New Revision: 1343658

URL: http://svn.apache.org/viewvc?rev=1343658&view=rev
Log:
Adding site generation to own subproject

Added:
    cocoon/subprojects/cocoon-configuration-api/trunk/src/site/
    cocoon/subprojects/cocoon-configuration-api/trunk/src/site/resources/
    cocoon/subprojects/cocoon-configuration-api/trunk/src/site/resources/images/
    cocoon/subprojects/cocoon-configuration-api/trunk/src/site/resources/images/external.png
  (with props)
    cocoon/subprojects/cocoon-configuration-api/trunk/src/site/site.xml   (with props)
    cocoon/subprojects/cocoon-configuration-api/trunk/src/site/xdoc/
    cocoon/subprojects/cocoon-configuration-api/trunk/src/site/xdoc/index.xml   (with props)
Modified:
    cocoon/subprojects/cocoon-configuration-api/trunk/pom.xml

Modified: cocoon/subprojects/cocoon-configuration-api/trunk/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/subprojects/cocoon-configuration-api/trunk/pom.xml?rev=1343658&r1=1343657&r2=1343658&view=diff
==============================================================================
--- cocoon/subprojects/cocoon-configuration-api/trunk/pom.xml (original)
+++ cocoon/subprojects/cocoon-configuration-api/trunk/pom.xml Tue May 29 10:47:10 2012
@@ -53,37 +53,77 @@
 
   <properties>
     <docs.name>Cocoon Configuration API</docs.name>
-    <docs.version>${docs.m.configuration-api.version}</docs.version>
+    <docs.version>1.0</docs.version>
     <docs.urlRelativizer>../../../../../</docs.urlRelativizer>    
   </properties>
 
-  <reporting>
+  <build>
+
     <plugins>
       <plugin>
-        <artifactId>maven-project-info-reports-plugin</artifactId>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>project-team</report>
-              <report>dependencies</report>
-              <report>license</report>
-              <report>summary</report>
-              <report>index</report>
-            </reports>
-          </reportSet>
-        </reportSets>
-      </plugin>
-      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-changes-plugin</artifactId>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>changes-report</report>
-            </reports>
-          </reportSet>
-        </reportSets>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.0</version>
+        <configuration>
+          <locales>en</locales>
+          <reportPlugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-project-info-reports-plugin</artifactId>
+              <version>2.4</version>
+              <configuration>
+                <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
+                <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+              </configuration>
+              <reportSets>
+                <reportSet>
+                  <reports>
+                    <report>dependencies</report>
+                    <report>license</report>
+                    <report>summary</report>
+                    <report>project-team</report>
+                  </reports>
+                </reportSet>
+              </reportSets>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-changes-plugin</artifactId>
+              <version>2.7.1</version>
+              <reportSets>
+                <reportSet>
+                  <reports>
+                    <report>changes-report</report>
+                  </reports>
+                </reportSet>
+              </reportSets>
+            </plugin>
+          </reportPlugins>
+        </configuration>
+        <executions>
+          <execution>
+            <id>attach-descriptor</id>
+            <goals>
+              <goal>attach-descriptor</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
     </plugins>
-  </reporting>
+    
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+      </resource>
+      <resource>
+        <directory>.</directory>
+        <targetPath>META-INF</targetPath>
+        <includes>
+          <include>LICENSE.txt</include>
+          <include>NOTICE.txt</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
 </project>

Added: cocoon/subprojects/cocoon-configuration-api/trunk/src/site/resources/images/external.png
URL: http://svn.apache.org/viewvc/cocoon/subprojects/cocoon-configuration-api/trunk/src/site/resources/images/external.png?rev=1343658&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/subprojects/cocoon-configuration-api/trunk/src/site/resources/images/external.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: cocoon/subprojects/cocoon-configuration-api/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/cocoon/subprojects/cocoon-configuration-api/trunk/src/site/site.xml?rev=1343658&view=auto
==============================================================================
--- cocoon/subprojects/cocoon-configuration-api/trunk/src/site/site.xml (added)
+++ cocoon/subprojects/cocoon-configuration-api/trunk/src/site/site.xml Tue May 29 10:47:10
2012
@@ -0,0 +1,38 @@
+<?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.
+-->
+<!-- $Id$ -->
+<project xmlns="http://maven.apache.org/DECORATION/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/DECORATION/1.1.0 http://maven.apache.org/xsd/decoration-1.1.0.xsd"
+         name="Cocoon">
+
+  <skin>
+    <groupId>org.apache.cocoon</groupId>
+    <artifactId>cocoon-thien-maven-site-skin</artifactId>
+    <version>1.0.1</version>
+  </skin>
+    
+  <body>
+    <menu name="Configuration API">
+      <item name="Introduction" href="./index.html"/>
+    </menu>
+
+    <menu ref="reports" inherit="bottom"/>
+  </body>
+</project>

Propchange: cocoon/subprojects/cocoon-configuration-api/trunk/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/subprojects/cocoon-configuration-api/trunk/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: cocoon/subprojects/cocoon-configuration-api/trunk/src/site/site.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cocoon/subprojects/cocoon-configuration-api/trunk/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/cocoon/subprojects/cocoon-configuration-api/trunk/src/site/xdoc/index.xml?rev=1343658&view=auto
==============================================================================
--- cocoon/subprojects/cocoon-configuration-api/trunk/src/site/xdoc/index.xml (added)
+++ cocoon/subprojects/cocoon-configuration-api/trunk/src/site/xdoc/index.xml Tue May 29 10:47:10
2012
@@ -0,0 +1,36 @@
+<?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.
+    --><document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/XDOC/2.0"
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd"><properties><title>Cocoon
Configuration API - Introduction</title><author email="cocoon-docs@apache.org">Apache
Cocoon Documentation Team</author></properties><body>
+         <div id="contentBody"><div id="bodyText"><h1 class="docTitle">Introduction</h1><p>The
Configuration API is a simple but powerful API for handling configuration
+issues inside your application. It provides a standard mechanism for getting
+configuration values inside your application code. The Configuration API is only
+the public API your should be built upon. Besides the API you will need an
+implementation of the API. Currently there is one implementation for using
+Spring: The <a href="../../../../../subprojects/configuration/1.0/spring-configurator/2.0/1304_1_1.html">Cocoon
Spring Configurator</a>.</p><section name="The Settings Object" style="background:none;padding:0;"/><p>The
Configuration API defines the <tt>Settings</tt> bean
+(<tt>org.apache.cocoon.configuration.Settings</tt>). You can use this bean to
+get configuration values for your application. Configuration values are stored
+in a key/value pair fashion (similar to the properties) and the settings object
+provides several methods to access this information.</p><p>Please note, that
this is just the client API your code should rely on. The
+Configurator API does in no way define how the actual configuration takes place!
+</p><section name="Utility classes" style="background:none;padding:0;"/><p>The
<tt>org.apache.cocoon.configuration.MutableSettings</tt> class is a
+default implementation of the settings object. For example, this class can be
+used as a mock object for unit testing.</p><p>The <tt>org.apache.cocoon.configuration.PropertyHelper</tt>
class contains
+various helper methods for dealing with properties and settings.</p><p>The <tt>org.apache.cocoon.configuration.PropertyProvider</tt>
interface is an
+interface that can be used by implementations of the Configuration API to allow
+custom code to be executed for configuring a settings object.</p></div></div>
+       </body></document>
\ No newline at end of file

Propchange: cocoon/subprojects/cocoon-configuration-api/trunk/src/site/xdoc/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/subprojects/cocoon-configuration-api/trunk/src/site/xdoc/index.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: cocoon/subprojects/cocoon-configuration-api/trunk/src/site/xdoc/index.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message