Author: simonetripodi Date: Sun Nov 6 14:09:06 2011 New Revision: 1198374 URL: http://svn.apache.org/viewvc?rev=1198374&view=rev Log: added an IT to show topbar functionalities
Added: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/pom.xml (with props) maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/apt/ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/apt/index.apt.vm (with props) maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/resources/ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/resources/images/ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/site.xml (with props) Added: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/pom.xml URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/pom.xml?rev=1198374&view=auto ============================================================================== --- maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/pom.xml (added) +++ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/pom.xml Sun Nov 6 14:09:06 2011 @@ -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@-topbar</artifactId> + <version>1.0-SNAPSHOT</version> + <packaging>jar</packaging> + + <name>@project.artifactId@ IT</name> + <url>http://maven.apache.org/skins/@project.artifactId@/sample/</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/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/pom.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/pom.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/apt/index.apt.vm URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/apt/index.apt.vm?rev=1198374&view=auto ============================================================================== --- maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/apt/index.apt.vm (added) +++ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/apt/index.apt.vm Sun Nov 6 14:09:06 2011 @@ -0,0 +1,167 @@ + ------ + ${skinName} test + ------ + Hervé Boutemy + ------ + 2011-10-15 + ------ + +${skinName} test + + This is a test for ${skinName}. + ${skinDescription} + +* 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> ++-----+ + + The skin supports different layouts, enabling/disabling the left sidebar menu and the topbar menu. + Users have just play with flags in the <<<custom/fluidoSkin>>> element in <<<site.xml>>>: + ++-----+ +<project name="xxx"> + ... + <custom> + <fluidoSkin> + <topBarEnabled>true</topBarEnabled> + <sideBarEnabled>false</sideBarEnabled> + </fluidoSkin> + </custom> + ... +</project> ++-----+ + + That allows users having 4 skins in only 1! + + [[1]] sidebar only; + + [[2]] topbar only; + + [[3]] both side/top bars; + + [[4]] none at all. + + Default skin setting is the option <<1>>. + +Sample content + + Paragraph 1, line 1. + Paragraph 1, line 2. + + Paragraph 2, line 1. + Paragraph 2, line 2. + +Section title + +* Sub-section title + +** Sub-sub-section title + +*** Sub-sub-sub-section title + +**** Sub-sub-sub-sub-section title + + * List item 1. + + * List item 2. + + Paragraph contained in list item 2. + + * Sub-list item 1. + + * Sub-list item 2. + + * List item 3. + Force end of list: + + [] + ++------------------------------------------+ +Verbatim text not contained in list item 3 ++------------------------------------------+ + + [[1]] Numbered item 1. + + [[A]] Numbered item A. + + [[B]] Numbered item B. + + [[2]] Numbered item 2. + + List numbering schemes: [[1]], [[a]], [[A]], [[i]], [[I]]. + + [Defined term 1] of definition list. + + [Defined term 2] of definition list. + ++-------------------------------+ +Verbatim text + in a box ++-------------------------------+ + +--------------------------------- +Verbatim text + without box +--------------------------------- + +[figure] Figure caption + +*----------*--------------+----------------: +| Centered | Left-aligned | Right-aligned | +| cell 1,1 | cell 1,2 | cell 1,3 | +*----------*--------------+----------------: +| cell 2,1 | cell 2,2 | cell 2,3 | +*----------*--------------+----------------: +Table caption + + No grid, no caption: + +*-----*------* + cell | cell +*-----*------* + cell | cell +*-----*------* + +*---------*---------* +|| header || header | +*---------*---------* +| cell | cell | +*---------*---------* + + Horizontal line: + +======================================================================= + + <Italic> font. <<Bold>> font. <<<Monospaced>>> font. + + {Anchor}. Link to {{Anchor}}. + Link to {{{Anchor}showing alternate text}}. + Link to {{{http://www.pixware.fr}Pixware home page}}. + Link to {{{https://www.pixware.fr}Secure Pixware home page}}. + Link to {{{file:///tmp}Your temporary directory}}. + Link to {{{ftp://ftp.apache.org}FTP file}}. + Link to {{{mailto:dev at maven dot apache dot org}Maven dev ML}}. + + Force line\ + break. + + Non\ breaking\ space. + + Escaped special characters: \~, \=, \-, \+, \*, \[, \], \<, \>, \{, \}, \\. + + Copyright symbol: \251, \xA9, \u00a9. + +~~Commented out. Propchange: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/apt/index.apt.vm ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/apt/index.apt.vm ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/apt/index.apt.vm ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/site.xml URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/site.xml?rev=1198374&view=auto ============================================================================== --- maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/site.xml (added) +++ maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/site.xml Sun Nov 6 14:09:06 2011 @@ -0,0 +1,58 @@ +<?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> + + <custom> + <fluidoSkin> + <topBarEnabled>true</topBarEnabled> + <sideBarEnabled>false</sideBarEnabled> + </fluidoSkin> + </custom> + + <publishDate format="yyyy-MM-dd" position="right" /> + <version position="right" /> + + <body> + <breadcrumbs> + <item name="skins" href="/skins/"/> + <item name="${skinArtifactId}" href="/skins/${skinArtifactId}/"/> + </breadcrumbs> + + <menu name="Overview"> + <item name="Introduction" href="index.html"/> + </menu> + + <menu ref="reports"/> + + </body> + +</project> \ No newline at end of file Propchange: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/site.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/site.xml ------------------------------------------------------------------------------ svn:keywords = Date Revision Author HeadURL Id Propchange: maven/sandbox/trunk/skin/maven-fluido-skin/src/it/topbar/src/site/site.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml