This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-htl-maven-plugin.git
commit cf1c33ab0dfaa8ad090898a2854b226c89ac6328 Author: Stefan Seifert <[email protected]> AuthorDate: Thu Mar 9 23:06:16 2017 +0000 enable maven plugin site generation git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1786253 13f79535-47bb-0310-9956-ffa450edef68 --- pom.xml | 28 ++++++++++++++++++++++++++++ src/site/markdown/index.md | 6 ++++++ src/site/site.xml | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+) diff --git a/pom.xml b/pom.xml index fd343d2..aa45b84 100644 --- a/pom.xml +++ b/pom.xml @@ -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> diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md new file mode 100644 index 0000000..1a4922e --- /dev/null +++ b/src/site/markdown/index.md @@ -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. diff --git a/src/site/site.xml b/src/site/site.xml new file mode 100644 index 0000000..9abab11 --- /dev/null +++ b/src/site/site.xml @@ -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> -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
