Author: hboutemy Date: Thu Oct 13 07:07:08 2011 New Revision: 1182689 URL: http://svn.apache.org/viewvc?rev=1182689&view=rev Log: improved IT: made it more generic
Added: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/apt/index.apt.vm - copied, changed from r1182682, maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/apt/index.apt Removed: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/apt/index.apt Modified: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/pom.xml maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/site.xml Modified: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/pom.xml URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/pom.xml?rev=1182689&r1=1182688&r2=1182689&view=diff ============================================================================== --- maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/pom.xml (original) +++ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/pom.xml Thu Oct 13 07:07:08 2011 @@ -1,3 +1,20 @@ +<?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> @@ -8,15 +25,18 @@ </parent> <groupId>org.apache.maven.skins.its</groupId> - <artifactId>fluido</artifactId> + <artifactId>@project.artifactId@</artifactId> <version>1.0-SNAPSHOT</version> <packaging>jar</packaging> - <name>maven-fluido-skin IT</name> - <url>http://maven.apache.org/skins/maven-fluido-skin/</url> + <name>@project.artifactId@ IT</name> + <url>http://maven.apache.org/skins/@project.artifactId@/</url> <properties> - <fluidoVersion>@project.version@</fluidoVersion> + <skinName>@project.name@</skinName> + <skinGroupId>@project.groupId@</skinGroupId> + <skinArtifactId>@project.artifactId@</skinArtifactId> + <skinVersion>@project.version@</skinVersion> </properties> <dependencies> Copied: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/apt/index.apt.vm (from r1182682, maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/apt/index.apt) URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/apt/index.apt.vm?p2=maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/apt/index.apt.vm&p1=maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/apt/index.apt&r1=1182682&r2=1182689&rev=1182689&view=diff ============================================================================== --- maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/apt/index.apt (original) +++ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/apt/index.apt.vm Thu Oct 13 07:07:08 2011 @@ -1,9 +1,32 @@ - ------ - Title - ------ - Author - ------ - Date + ------ + Title + ------ + Author + ------ + Date + +${skinName} test + + This is a test for ${skinName}. + +* Usage + + To use this skin in your project, use the skin element of + {{{/doxia/doxia-sitetools/doxia-decoration-model/decoration.html}the <<<site.xml>>> site descriptor}}: + ++-----+ +<project name="xxx"> + ... + <skin> + <groupId>${skinGroupId}</groupId> + <artifactId>${skinArtifactId}</artifactId> + <version>${skinVersion}</version> + </skin> + ... +</project> ++-----+ + +Sample result of every content Paragraph 1, line 1. Paragraph 1, line 2. @@ -59,7 +82,10 @@ Verbatim text in a box +-------------------------------+ - --- instead of +-- suppresses the box around verbatim text. +--------------------------------- +Verbatim text + without box +--------------------------------- [figure] Figure caption Modified: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/site.xml URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/site.xml?rev=1182689&r1=1182688&r2=1182689&view=diff ============================================================================== --- maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/site.xml (original) +++ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/site/src/site/site.xml Thu Oct 13 07:07:08 2011 @@ -26,9 +26,9 @@ name="APT"> <skin> - <groupId>org.apache.maven.skins</groupId> - <artifactId>maven-fluido-skin</artifactId> - <version>${fluidoVersion}</version> + <groupId>${skinGroupId}</groupId> + <artifactId>${skinArtifactId}</artifactId> + <version>${skinVersion}</version> </skin> <publishDate format="yyyy-MM-dd" position="right" /> @@ -37,7 +37,7 @@ <body> <breadcrumbs> <item name="skins" href="/skins/"/> - <item name="fluido" href="/skins/fluido/"/> + <item name="fluido" href="/skins/${skinArtifact}/"/> </breadcrumbs> <menu name="Overview">