sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sseif...@apache.org
Subject svn commit: r1786253 - in /sling/trunk/tooling/maven/htl-maven-plugin: pom.xml src/site/ src/site/markdown/ src/site/markdown/index.md src/site/site.xml
Date Thu, 09 Mar 2017 23:06:16 GMT
Author: sseifert
Date: Thu Mar  9 23:06:16 2017
New Revision: 1786253

URL: http://svn.apache.org/viewvc?rev=1786253&view=rev
Log:
enable maven plugin site generation

Added:
    sling/trunk/tooling/maven/htl-maven-plugin/src/site/
    sling/trunk/tooling/maven/htl-maven-plugin/src/site/markdown/
    sling/trunk/tooling/maven/htl-maven-plugin/src/site/markdown/index.md
    sling/trunk/tooling/maven/htl-maven-plugin/src/site/site.xml   (with props)
Modified:
    sling/trunk/tooling/maven/htl-maven-plugin/pom.xml

Modified: sling/trunk/tooling/maven/htl-maven-plugin/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/maven/htl-maven-plugin/pom.xml?rev=1786253&r1=1786252&r2=1786253&view=diff
==============================================================================
--- sling/trunk/tooling/maven/htl-maven-plugin/pom.xml (original)
+++ sling/trunk/tooling/maven/htl-maven-plugin/pom.xml Thu Mar  9 23:06:16 2017
@@ -37,9 +37,18 @@
         <url>http://svn.apache.org/viewvc/sling/trunk/tooling/maven/htl-maven-plugin</url>
     </scm>
 
+    <!-- Support for publishing the mvn site. -->
+    <distributionManagement>
+        <site>
+            <id>apache.website</id>
+            <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/sling/content/components/${maven.site.path}</url>
+        </site>
+    </distributionManagement>
+
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <maven.version>3.3.3</maven.version>
+        <maven.site.path>${project.artifactId}-archives/${project.artifactId}-LATEST</maven.site.path>
     </properties>
 
     <dependencies>
@@ -169,6 +178,25 @@
                     </excludes>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-scm-publish-plugin</artifactId>
+                <version>1.1</version>
+                <configuration>
+                    <checkoutDirectory>${user.home}/maven-sites/${maven.site.path}</checkoutDirectory>
+                    <tryUpdate>true</tryUpdate>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
+
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-plugin-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </reporting>
+
 </project>

Added: sling/trunk/tooling/maven/htl-maven-plugin/src/site/markdown/index.md
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/maven/htl-maven-plugin/src/site/markdown/index.md?rev=1786253&view=auto
==============================================================================
--- sling/trunk/tooling/maven/htl-maven-plugin/src/site/markdown/index.md (added)
+++ sling/trunk/tooling/maven/htl-maven-plugin/src/site/markdown/index.md Thu Mar  9 23:06:16
2017
@@ -0,0 +1,6 @@
+HTL Maven Plugin
+================
+
+The Apache Sling HTL Maven Plugin provides support for validating HTML Template Language
scripts from projects.
+
+See [Goals](plugin-info.html) for a list of supported goals.

Added: sling/trunk/tooling/maven/htl-maven-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/maven/htl-maven-plugin/src/site/site.xml?rev=1786253&view=auto
==============================================================================
--- sling/trunk/tooling/maven/htl-maven-plugin/src/site/site.xml (added)
+++ sling/trunk/tooling/maven/htl-maven-plugin/src/site/site.xml Thu Mar  9 23:06:16 2017
@@ -0,0 +1,35 @@
+<?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>
+  <skin>
+    <groupId>org.apache.maven.skins</groupId>
+    <artifactId>maven-fluido-skin</artifactId>
+    <version>1.6</version>
+  </skin>
+  <body>
+    <menu name="Overview">
+      <item name="Introduction" href="index.html"/>
+      <item name="Goals" href="plugin-info.html"/>
+    </menu>
+    <menu ref="reports"/>
+  </body>
+</project>

Propchange: sling/trunk/tooling/maven/htl-maven-plugin/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/trunk/tooling/maven/htl-maven-plugin/src/site/site.xml
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Thu Mar  9 23:06:16 2017
@@ -0,0 +1 @@
+LastChangedDate LastChangedRevision LastChangedBy HeadURL Id Author

Propchange: sling/trunk/tooling/maven/htl-maven-plugin/src/site/site.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message