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 2013/02/19 12:23:31 UTC

svn commit: r1447678 - in /maven/skins/trunk/maven-fluido-skin/src/it/mskins-75: ./ pom.xml src/ src/site/ src/site/apt/ src/site/apt/index.apt.vm src/site/site.xml verify.groovy

Author: olamy
Date: Tue Feb 19 11:23:30 2013
New Revision: 1447678

URL: http://svn.apache.org/r1447678
Log:
missed to add it

Added:
    maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/
    maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/pom.xml   (with props)
    maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/
    maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/
    maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/apt/
    maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/apt/index.apt.vm   (with props)
    maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/site.xml   (with props)
    maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/verify.groovy   (with props)

Added: maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/pom.xml
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/pom.xml?rev=1447678&view=auto
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/pom.xml (added)
+++ maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/pom.xml Tue Feb 19 11:23:30 2013
@@ -0,0 +1,93 @@
+<?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>
+  <parent>
+    <groupId>org.apache.maven</groupId>
+    <artifactId>maven-parent</artifactId>
+    <version>21</version>
+  </parent>
+
+  <groupId>org.apache.maven.skins.its</groupId>
+  <artifactId>@project.artifactId@-mskins-75</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>jar</packaging>
+
+  <name>@project.name@ IT, MSKINS-75</name>
+  <url>http://maven.apache.org/skins/@project.artifactId@/mskins-75/</url>
+
+  <properties>
+    <skinName>@project.name@</skinName>
+    <skinDescription>@project.description@</skinDescription>
+    <skinGroupId>@project.groupId@</skinGroupId>
+    <skinArtifactId>@project.artifactId@</skinArtifactId>
+    <skinVersion>@project.version@</skinVersion>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.2</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.0</version>
+      </plugin>
+    </plugins>
+  </build>
+
+  <reporting>
+    <plugins>
+      <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>index</report>
+              <report>summary</report>
+              <report>license</report>
+              <report>project-team</report>
+              <report>scm</report>
+              <report>issue-tracking</report>
+              <report>mailing-list</report>
+              <report>dependencies</report>
+              <report>cim</report>
+              <report>plugin-management</report>
+              <report>plugins</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+    </plugins>
+  </reporting>
+
+</project>

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/apt/index.apt.vm?rev=1447678&view=auto
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/apt/index.apt.vm (added)
+++ maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/apt/index.apt.vm Tue Feb 19 11:23:30 2013
@@ -0,0 +1,18 @@
+ ------
+ ${project.name}
+ ------
+ Michael Koch
+ ------
+ 2013-02-17
+ ------
+
+${project.name}
+
+ This is a test for ${skinName} with Piwik web analytics tracking code.
+ ${skinDescription}
+ 
+ The Piwik tracking code is not visible on the page, look at the end of the page source to see it.
+
+* Actual configuration
+
+%{snippet|id=skin-custom-config|file=${project.basedir}/src/site/site.xml}

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/apt/index.apt.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/apt/index.apt.vm
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/site.xml?rev=1447678&view=auto
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/site.xml (added)
+++ maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/site.xml Tue Feb 19 11:23:30 2013
@@ -0,0 +1,48 @@
+<?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/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="${skinName}">
+
+  <skin>
+    <groupId>${skinGroupId}</groupId>
+    <artifactId>${skinArtifactId}</artifactId>
+    <version>${skinVersion}</version>
+  </skin>
+
+  <!-- START SNIPPET: skin-custom-config -->
+  <custom>
+    <fluidoSkin>
+        <piwik>
+            <piwikUrl>example.org/piwik</piwikUrl>
+            <idsite>1</idsite>
+        </piwik>
+    </fluidoSkin>
+  </custom>
+  <!-- END SNIPPET: skin-custom-config -->
+
+  <publishDate format="yyyy-MM-dd" position="right" />
+  <version position="right" />
+
+</project>

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/verify.groovy
URL: http://svn.apache.org/viewvc/maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/verify.groovy?rev=1447678&view=auto
==============================================================================
--- maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/verify.groovy (added)
+++ maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/verify.groovy Tue Feb 19 11:23:30 2013
@@ -0,0 +1,16 @@
+File index = new File( basedir, "target/site/index.html" )
+assert index.exists()
+assert 1 == index.getText().count( '''\
+<!-- Piwik -->
+    <script type="text/javascript">
+    var pkBaseURL = (("https:" == document.location.protocol) ? "https://example.org/piwik/" : "http://example.org/piwik/");
+    document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+    </script><script type="text/javascript">
+    try {
+    var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
+    piwikTracker.trackPageView();
+    piwikTracker.enableLinkTracking();
+    } catch( err ) {}
+    </script><noscript><p><img src="http://example.org/piwik/piwik.php?idsite=1" style="border:0" alt=""/></p></noscript>
+    <!-- End Piwik Tag -->
+''' )

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/verify.groovy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/skins/trunk/maven-fluido-skin/src/it/mskins-75/verify.groovy
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision