You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/10/26 15:26:38 UTC

svn commit: r1402505 - in /maven/plugins/trunk/maven-site-plugin/src/it/markdown-format: ./ pom.xml src/ src/site/ src/site/markdown/ src/site/markdown/index.md verify.groovy

Author: olamy
Date: Fri Oct 26 13:26:37 2012
New Revision: 1402505

URL: http://svn.apache.org/viewvc?rev=1402505&view=rev
Log:
[MSITE-661] support markdown format per default.
add simple it test.

Added:
    maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/
    maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/pom.xml   (with props)
    maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/src/
    maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/src/site/
    maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/src/site/markdown/
    maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/src/site/markdown/index.md
    maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/verify.groovy   (with props)

Added: maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/pom.xml?rev=1402505&view=auto
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/pom.xml (added)
+++ maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/pom.xml Fri Oct 26 13:26:37 2012
@@ -0,0 +1,61 @@
+<?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/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugins.site.its</groupId>
+  <artifactId>markdown-format</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+  <name>markdown-format</name>
+
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-site-plugin</artifactId>
+          <version>@project.version@</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.3.1</version>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>index</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+    </plugins>
+  </reporting>
+
+</project>

Propchange: maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/src/site/markdown/index.md
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/src/site/markdown/index.md?rev=1402505&view=auto
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/src/site/markdown/index.md (added)
+++ maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/src/site/markdown/index.md Fri Oct 26 13:26:37 2012
@@ -0,0 +1,22 @@
+<!---
+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.
+-->
+
+
+Markdown Format works
+---------------
\ No newline at end of file

Added: maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/verify.groovy?rev=1402505&view=auto
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/verify.groovy (added)
+++ maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/verify.groovy Fri Oct 26 13:26:37 2012
@@ -0,0 +1,25 @@
+
+/*
+ * 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.
+ */
+
+content = new File( basedir, 'target/site/index.html' ).text;
+
+assert content.contains( 'Markdown Format works' );
+
+return true;
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/verify.groovy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-site-plugin/src/it/markdown-format/verify.groovy
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision