Modified: websites/staging/maven-doxia/trunk/content/developers/sink.html ============================================================================== --- websites/staging/maven-doxia/trunk/content/developers/sink.html (original) +++ websites/staging/maven-doxia/trunk/content/developers/sink.html Sat Nov 21 02:03:05 2015 @@ -1,250 +1,495 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2014-07-01 - | Rendered using Apache Maven Stylus Skin 1.5 + | Generated by Apache Maven Doxia 1.6 at 2015-11-21 + | Rendered using Apache Maven Fluido Skin 1.4 --> -<html xmlns="http://www.w3.org/1999/xhtml"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> - <title>Doxia - Doxia Developers Centre</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta name="author" content="Vincent Siveton" /> - <meta name="Date-Creation-yyyymmdd" content="20080302" /> - <meta name="Date-Revision-yyyymmdd" content="20140701" /> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - -<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> - + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="author" content="Vincent Siveton" /> + <meta name="Date-Creation-yyyymmdd" content="20080302" /> + <meta name="Date-Revision-yyyymmdd" content="20151121" /> + <meta http-equiv="Content-Language" content="en" /> + <title>Doxia – Doxia Developers Centre</title> + <link rel="stylesheet" href="../css/apache-maven-fluido-1.4.min.css" /> + <link rel="stylesheet" href="../css/site.css" /> + <link rel="stylesheet" href="../css/print.css" media="print" /> + + + <script type="text/javascript" src="../js/apache-maven-fluido-1.4.min.js"></script> + + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + <script type="text/javascript">_uacct = "UA-140879-1"; urchinTracker();</script> - </head> - <body class="composite"> - <div id="banner"> - <a href="../../" id="bannerLeft"> - <img src="../images/apache-maven-project-2.png" alt="" /> + + </head> + <body class="topBarDisabled"> + + + + + <div class="container-fluid"> + <div id="banner"> + <div class="pull-left"> + <a href="http://www.apache.org/" id="bannerLeft"> + <img src="../../images/apache-maven-project.png" alt="Apache Maven"/> </a> - <a href=".././" id="bannerRight"> - <img src="../images/maven-logo-2.gif" alt="" /> + </div> + <div class="pull-right"> <a href="../../" id="bannerRight"> + <img src="../../images/maven-logo-black-on-white.png" /> </a> - <div class="clear"> - <hr/> </div> - </div> - <div id="breadcrumbs"> + <div class="clear"><hr/></div> + </div> + + <div id="breadcrumbs"> + <ul class="breadcrumb"> + + + <li class=""> + <a href="http://www.apache.org/" class="externalLink" title="Apache"> + Apache</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="../../index.html" title="Maven"> + Maven</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="../index.html" title="Doxia"> + Doxia</a> + <span class="divider">/</span> + </li> + <li class="active ">Doxia Developers Centre</li> + + + + <li id="publishDate" class="pull-right">Last Published: 2015-11-21</li> - <div class="xleft"> - <a href="http://www.apache.org/" class="externalLink">Apache</a> - > - <a href="../../index.html">Maven</a> - > - <a href="../index.html">Doxia</a> - > - Doxia Developers Centre - </div> - <div class="xright"> - Last Published: 2014-07-01 - </div> - <div class="clear"> - <hr/> + </ul> </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - <h5>About Doxia</h5> - <ul> - <li class="none"> - <a href="../index.html">What is Doxia?</a> - </li> - <li class="none"> - <a href="../overview.html">Overview</a> - </li> - <li class="collapsed"> - <a href="../upgrading.html">Upgrading</a> + + + <div class="row-fluid"> + <div id="leftColumn" class="span2"> + <div class="well sidebar-nav"> + + + <ul class="nav nav-list"> + <li class="nav-header">About Doxia</li> + + <li> + + <a href="../index.html" title="What is Doxia?"> + <span class="none"></span> + What is Doxia?</a> + </li> + + <li> + + <a href="../overview.html" title="Overview"> + <span class="none"></span> + Overview</a> + </li> + + <li> + + <a href="../upgrading.html" title="Upgrading"> + <span class="icon-chevron-right"></span> + Upgrading</a> </li> - <li class="none"> - <a href="../downloads.html">Downloads</a> - </li> - <li class="none"> - <a href="../faq.html">FAQ</a> - </li> - </ul> - <h5>Documentation</h5> - <ul> - <li class="collapsed"> - <a href="../references/index.html">Format References</a> + + <li> + + <a href="../downloads.html" title="Downloads"> + <span class="none"></span> + Downloads</a> + </li> + + <li> + + <a href="../faq.html" title="FAQ"> + <span class="none"></span> + FAQ</a> + </li> + <li class="nav-header">Documentation</li> + + <li> + + <a href="../references/index.html" title="Format References"> + <span class="icon-chevron-right"></span> + Format References</a> </li> - <li class="none"> - <a href="../modules/index.html">Doxia Modules Guide</a> - </li> - <li class="none"> - <a href="../macros/index.html">Doxia Macros Guide</a> - </li> - <li class="none"> - <a href="../book/index.html">Writing Books</a> - </li> - <li class="none"> - <a href="../issues/index.html">Issues & Gotchas</a> - </li> - <li class="none"> - <a href="../resources.html">External Resources</a> - </li> - </ul> - <h5>Developer Docs</h5> - <ul> - <li class="expanded"> - <a href="../developers/index.html">Developer Centre</a> - <ul> - <li class="none"> - <a href="../developers/modules.html">Create a Doxia Module</a> - </li> - <li class="none"> - <a href="../developers/macros.html">Create a Doxia Macro</a> - </li> - <li class="none"> - <strong>Using the Sink API</strong> + + <li> + + <a href="../modules/index.html" title="Doxia Modules Guide"> + <span class="none"></span> + Doxia Modules Guide</a> + </li> + + <li> + + <a href="../macros/index.html" title="Doxia Macros Guide"> + <span class="none"></span> + Doxia Macros Guide</a> + </li> + + <li> + + <a href="../book/index.html" title="Writing Books"> + <span class="none"></span> + Writing Books</a> + </li> + + <li> + + <a href="../issues/index.html" title="Issues & Gotchas"> + <span class="none"></span> + Issues & Gotchas</a> + </li> + + <li> + + <a href="../resources.html" title="External Resources"> + <span class="none"></span> + External Resources</a> + </li> + <li class="nav-header">Developer Docs</li> + + <li> + + <a href="../developers/index.html" title="Developer Centre"> + <span class="icon-chevron-down"></span> + Developer Centre</a> + <ul class="nav nav-list"> + + <li> + + <a href="../developers/modules.html" title="Create a Doxia Module"> + <span class="none"></span> + Create a Doxia Module</a> + </li> + + <li> + + <a href="../developers/macros.html" title="Create a Doxia Macro"> + <span class="none"></span> + Create a Doxia Macro</a> + </li> + + <li class="active"> + + <a href="#"><span class="none"></span>Using the Sink API</a> </li> </ul> </li> - <li class="expanded"> - <a href="../doxia/index.html">Doxia 1.6</a> - <ul> - <li class="none"> - <a href="../doxia/index.html">Doxia base</a> - </li> - <li class="none"> - <a href="../doxia-sitetools/index.html">Doxia Sitetools</a> + + <li> + + <a href="../doxia/index.html" title="Doxia 1.6"> + <span class="icon-chevron-down"></span> + Doxia 1.6</a> + <ul class="nav nav-list"> + + <li> + + <a href="../doxia/index.html" title="Doxia base"> + <span class="none"></span> + Doxia base</a> + </li> + + <li> + + <a href="../doxia-sitetools/index.html" title="Doxia Sitetools"> + <span class="none"></span> + Doxia Sitetools</a> </li> </ul> </li> - <li class="expanded"> - <a href="../doxia/index.html">Doxia 1.5</a> - <ul> - <li class="none"> - <a href="../doxia-archives/doxia-1.5/index.html">Doxia base</a> + + <li> + + <a href="../doxia/index.html" title="Doxia 1.5"> + <span class="icon-chevron-down"></span> + Doxia 1.5</a> + <ul class="nav nav-list"> + + <li> + + <a href="../doxia-archives/doxia-1.5/index.html" title="Doxia base"> + <span class="none"></span> + Doxia base</a> </li> </ul> </li> - <li class="expanded"> - <a href="../doxia-archives/doxia-1.4/index.html">Doxia 1.4</a> - <ul> - <li class="none"> - <a href="../doxia-archives/doxia-1.4/index.html">Doxia base</a> - </li> - <li class="none"> - <a href="../doxia-sitetools-archives/doxia-sitetools-1.4/index.html">Doxia Sitetools</a> + + <li> + + <a href="../doxia-archives/doxia-1.4/index.html" title="Doxia 1.4"> + <span class="icon-chevron-down"></span> + Doxia 1.4</a> + <ul class="nav nav-list"> + + <li> + + <a href="../doxia-archives/doxia-1.4/index.html" title="Doxia base"> + <span class="none"></span> + Doxia base</a> + </li> + + <li> + + <a href="../doxia-sitetools-archives/doxia-sitetools-1.4/index.html" title="Doxia Sitetools"> + <span class="none"></span> + Doxia Sitetools</a> </li> </ul> </li> - <li class="expanded"> - <a href="../doxia-archives/doxia-1.3/index.html">Doxia 1.3</a> - <ul> - <li class="none"> - <a href="../doxia-archives/doxia-1.3/index.html">Doxia base</a> - </li> - <li class="none"> - <a href="../doxia-sitetools-archives/doxia-sitetools-1.3/index.html">Doxia Sitetools</a> + + <li> + + <a href="../doxia-archives/doxia-1.3/index.html" title="Doxia 1.3"> + <span class="icon-chevron-down"></span> + Doxia 1.3</a> + <ul class="nav nav-list"> + + <li> + + <a href="../doxia-archives/doxia-1.3/index.html" title="Doxia base"> + <span class="none"></span> + Doxia base</a> + </li> + + <li> + + <a href="../doxia-sitetools-archives/doxia-sitetools-1.3/index.html" title="Doxia Sitetools"> + <span class="none"></span> + Doxia Sitetools</a> </li> </ul> </li> - <li class="expanded"> - <a href="../doxia-archives/doxia-1.2/index.html">Doxia 1.2</a> - <ul> - <li class="none"> - <a href="../doxia-archives/doxia-1.2/index.html">Doxia base</a> - </li> - <li class="none"> - <a href="../doxia-sitetools-archives/doxia-sitetools-1.2/index.html">Doxia Sitetools</a> + + <li> + + <a href="../doxia-archives/doxia-1.2/index.html" title="Doxia 1.2"> + <span class="icon-chevron-down"></span> + Doxia 1.2</a> + <ul class="nav nav-list"> + + <li> + + <a href="../doxia-archives/doxia-1.2/index.html" title="Doxia base"> + <span class="none"></span> + Doxia base</a> + </li> + + <li> + + <a href="../doxia-sitetools-archives/doxia-sitetools-1.2/index.html" title="Doxia Sitetools"> + <span class="none"></span> + Doxia Sitetools</a> </li> </ul> </li> - <li class="none"> - <a href="../doxia-tools/index.html">Doxia Tools</a> - </li> - <li class="none"> - <a href="../doxia-ide.html">Doxia IDE</a> - </li> - </ul> - <h5>Project Documentation</h5> - <ul> - <li class="collapsed"> - <a href="../project-info.html">Project Information</a> + + <li> + + <a href="../doxia-tools/index.html" title="Doxia Tools"> + <span class="none"></span> + Doxia Tools</a> + </li> + + <li> + + <a href="../doxia-ide.html" title="Doxia IDE"> + <span class="none"></span> + Doxia IDE</a> + </li> + <li class="nav-header">Project Documentation</li> + + <li> + + <a href="../project-info.html" title="Project Information"> + <span class="icon-chevron-right"></span> + Project Information</a> </li> - </ul> - <h5>Maven Projects</h5> - <ul> - <li class="none"> - <a href="../../ant-tasks/index.html">Ant Tasks</a> - </li> - <li class="none"> - <a href="../../archetype/index.html">Archetype</a> - </li> - <li class="none"> - <a href="../index.html">Doxia</a> - </li> - <li class="none"> - <a href="../../jxr/index.html">JXR</a> - </li> - <li class="none"> - <a href="../../maven-1.x/index.html">Maven 1.x</a> - </li> - <li class="none"> - <a href="../../index.html">Maven 2 & 3</a> - </li> - <li class="none"> - <a href="../../pom/index.html">Parent POMs</a> - </li> - <li class="none"> - <a href="../../plugins/index.html">Plugins</a> - </li> - <li class="none"> - <a href="../../plugin-tools/index.html">Plugin Tools</a> - </li> - <li class="none"> - <a href="../../scm/index.html">SCM</a> - </li> - <li class="none"> - <a href="../../shared/index.html">Shared Components</a> - </li> - <li class="none"> - <a href="../../skins/index.html">Skins</a> - </li> - <li class="none"> - <a href="../../surefire/index.html">Surefire</a> - </li> - <li class="none"> - <a href="../../wagon/index.html">Wagon</a> - </li> - </ul> - <h5>ASF</h5> - <ul> - <li class="none"> - <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"/> - </a> - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <!-- 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. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/apt- format.html --><div class="section"> -<h2>Using the Doxia Sink API<a name="Using_the_Doxia_Sink_API"></a></h2> + <li class="nav-header">Maven Projects</li> + + <li> + + <a href="../../ant-tasks/index.html" title="Ant Tasks"> + <span class="none"></span> + Ant Tasks</a> + </li> + + <li> + + <a href="../../archetype/index.html" title="Archetype"> + <span class="none"></span> + Archetype</a> + </li> + + <li> + + <a href="../index.html" title="Doxia"> + <span class="none"></span> + Doxia</a> + </li> + + <li> + + <a href="../../jxr/index.html" title="JXR"> + <span class="none"></span> + JXR</a> + </li> + + <li> + + <a href="../../ref/current" title="Maven"> + <span class="none"></span> + Maven</a> + </li> + + <li> + + <a href="../../pom/index.html" title="Parent POMs"> + <span class="none"></span> + Parent POMs</a> + </li> + + <li> + + <a href="../../plugins/index.html" title="Plugins"> + <span class="none"></span> + Plugins</a> + </li> + + <li> + + <a href="../../plugin-testing/index.html" title="Plugin Testing"> + <span class="none"></span> + Plugin Testing</a> + </li> + + <li> + + <a href="../../plugin-tools/index.html" title="Plugin Tools"> + <span class="none"></span> + Plugin Tools</a> + </li> + + <li> + + <a href="../../apache-resource-bundles/index.html" title="Resource Bundles"> + <span class="none"></span> + Resource Bundles</a> + </li> + + <li> + + <a href="../../scm/index.html" title="SCM"> + <span class="none"></span> + SCM</a> + </li> + + <li> + + <a href="../../shared/index.html" title="Shared Components"> + <span class="none"></span> + Shared Components</a> + </li> + + <li> + + <a href="../../skins/index.html" title="Skins"> + <span class="none"></span> + Skins</a> + </li> + + <li> + + <a href="../../surefire/index.html" title="Surefire"> + <span class="none"></span> + Surefire</a> + </li> + + <li> + + <a href="../../wagon/index.html" title="Wagon"> + <span class="none"></span> + Wagon</a> + </li> + <li class="nav-header">ASF</li> + + <li> + + <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"> + <span class="none"></span> + How Apache Works</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/" class="externalLink" title="Foundation"> + <span class="none"></span> + Foundation</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"> + <span class="none"></span> + Sponsoring Apache</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"> + <span class="none"></span> + Thanks</a> + </li> + </ul> + + + <form id="search-form" action="https://www.google.com/search" method="get" > + + <input value="https://maven.apache.org/doxia" name="sitesearch" type="hidden"/> + <input class="search-query" name="q" id="query" type="text" /> +</form> +<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=search-form"></script> + + <hr /> + + <div id="poweredBy"> + + <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> + + + <div class="g-plusone" data-href="http://maven.apache.org/doxia/" data-size="tall" ></div> + + <div class="clear"></div> + <div class="clear"></div> + <div class="clear"></div> + <div class="clear"></div> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + </div> + </div> + </div> + + + <div id="bodyColumn" class="span10" > + + <!-- 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. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/references/ apt-format.html --><div class="section"> +<h2><a name="Using_the_Doxia_Sink_API"></a>Using the Doxia Sink API</h2> <ul> <li><a href="#Transforming_documents">Transforming documents</a></li> <li><a href="#Generating_documents">Generating documents</a></li> @@ -255,8 +500,7 @@ <div class="section"> <h3><a name="Transforming_documents">Transforming documents</a></h3> <p>Doxia can be used to transform an arbitrary input document to any supported output format. The following snippet shows how to use a Doxia <i>Parser</i> to transform an apt file to html:</p> -<div class="source"> -<pre> File userDir = new File( System.getProperty ( "user.dir" ) ); +<div class="source"><pre class="prettyprint linenums"> File userDir = new File( System.getProperty ( "user.dir" ) ); File inputFile = new File( userDir, "test.apt" ); File outputFile = new File( userDir, "test.html" ); @@ -274,8 +518,7 @@ <div class="section"> <h3><a name="Generating_documents">Generating documents</a></h3> <p>The snippet below gives a simple example of how to generate a document using the Doxia Sink API.</p> -<div class="source"> -<pre> /** +<div class="source"><pre class="prettyprint linenums"> /** * Generate a simple document and emit it * into the specified sink. The sink is flushed but not closed. * @@ -325,8 +568,7 @@ <div class="section"> <h3><a name="Passing_attributes_to_Sink_events">Passing attributes to Sink events</a></h3> <p>With Doxia 1.1 a number of methods have been added to the Sink API that allow to pass a set of attributes to many sink events. A typical use case would be:</p> -<div class="source"> -<pre>SinkEventAttributeSet atts = new SinkEventAttributeSet(); +<div class="source"><pre class="prettyprint linenums">SinkEventAttributeSet atts = new SinkEventAttributeSet(); atts.addAttribute( SinkEventAttributes.ALIGN, "center" ); sink.paragraph( atts );</pre></div> @@ -334,15 +576,13 @@ sink.paragraph( atts );</pre></div> <div class="section"> <h3><a name="Avoid_sink.rawText">Avoid sink.rawText!</a></h3> <p>In <b>Doxia 1.0</b> it was a common practice to use sink.rawText() to generate elements that were not supported by the Sink API. For example, the following snippet could be used to generate a styled HTML <div> block:</p> -<div class="source"> -<pre>sink.RawText( "<div style=\"cool\">" ); +<div class="source"><pre class="prettyprint linenums">sink.RawText( "<div style=\"cool\">" ); sink.text( "A text with a cool style." ); sink.rawText( "</div>" );</pre></div> <p>This has a major drawback however: it only works if the receiving Sink is a HTML Sink. In other words, the above method will not work for target documents in any other format than HTML (think of the FO Sink to generate a pdf, or a LaTeX sink,...).</p> <p>In <b>Doxia 1.1</b> a new method unknown() was added to the Sink API that can be used to emit an arbitrary event without making special assumptions about the receiving Sink. Depending on the parameters, a Sink may decide whether or not to process the event, emit it as raw text, as a comment, log it, etc.</p> <p>The correct way to generate the above <div> block is now:</p> -<div class="source"> -<pre>SinkEventAttributeSet atts = new SinkEventAttributeSet(); +<div class="source"><pre class="prettyprint linenums">SinkEventAttributeSet atts = new SinkEventAttributeSet(); atts.addAttribute( SinkEventAttributes.STYLE, "cool" ); sink.unknown( "div", new Object[]{new Integer( HtmlMarkup.TAG_TYPE_START )}, atts ); @@ -353,8 +593,7 @@ sink.unknown( "div", new Objec <div class="section"> <h3><a name="How_to_inject_javascript_code_into_HTML">How to inject javascript code into HTML</a></h3> <p>Related to the above, here is the correct way of injecting a javascript snippet into a Sink:</p> -<div class="source"> -<pre>// the javascript code is emitted within a commented CDATA section +<div class="source"><pre class="prettyprint linenums">// the javascript code is emitted within a commented CDATA section // so we have to start with a newline and comment the CDATA closing in the end // note that the sink will replace the newline by the system EOL String javascriptCode = "\n function javascriptFunction() {...} \n //"; @@ -372,22 +611,24 @@ sink.unknown( "script", new Ob <li><a href="../macros/index.html">Doxia Macros Guide</a></li> <li><a href="../doxia/apidocs/index.html">Doxia API Reference</a></li> <li><a href="../doxia-sitetools/apidocs/index.html">Doxia Sitetools API Reference</a></li></ul></div></div> - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright"> - © 2005-2014 - The Apache Software Foundation - - - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>. - Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation. - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> + </div> + </div> + </div> + + <hr/> + + <footer> + <div class="container-fluid"> + <div class="row-fluid"> + <p >Copyright © 2005–2015 + <a href="http://www.apache.org/">The Apache Software Foundation</a>. + All rights reserved. + + </p> + </div> + + + </div> + </footer> + </body> </html>
Modified: websites/staging/maven-doxia/trunk/content/distribution-management.html ============================================================================== --- websites/staging/maven-doxia/trunk/content/distribution-management.html (original) +++ websites/staging/maven-doxia/trunk/content/distribution-management.html Sat Nov 21 02:03:05 2015 @@ -1,305 +1,596 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html> <!-- - | Generated by Apache Maven Doxia at 2014-07-01 - | Rendered using Apache Maven Stylus Skin 1.5 + | Generated by Apache Maven Doxia 1.6 at 2015-11-21 + | Rendered using Apache Maven Fluido Skin 1.4 --> -<html xmlns="http://www.w3.org/1999/xhtml"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> - <title>Doxia - Project Distribution Management</title> - <style type="text/css" media="all"> - @import url("./css/maven-base.css"); - @import url("./css/maven-theme.css"); - @import url("./css/site.css"); - </style> - <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" /> - <meta name="Date-Revision-yyyymmdd" content="20140701" /> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - -<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> - + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="Date-Revision-yyyymmdd" content="20151121" /> + <meta http-equiv="Content-Language" content="en" /> + <title>Doxia – Project Distribution Management</title> + <link rel="stylesheet" href="./css/apache-maven-fluido-1.4.min.css" /> + <link rel="stylesheet" href="./css/site.css" /> + <link rel="stylesheet" href="./css/print.css" media="print" /> + + + <script type="text/javascript" src="./js/apache-maven-fluido-1.4.min.js"></script> + + + +<script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script> + + <script type="text/javascript">_uacct = "UA-140879-1"; urchinTracker();</script> - </head> - <body class="composite"> - <div id="banner"> - <a href="../" id="bannerLeft"> - <img src="images/apache-maven-project-2.png" alt="" /> + + </head> + <body class="topBarDisabled"> + + + + + <div class="container-fluid"> + <div id="banner"> + <div class="pull-left"> + <a href="http://www.apache.org/" id="bannerLeft"> + <img src="../images/apache-maven-project.png" alt="Apache Maven"/> </a> - <a href="./" id="bannerRight"> - <img src="images/maven-logo-2.gif" alt="" /> + </div> + <div class="pull-right"> <a href="../" id="bannerRight"> + <img src="../images/maven-logo-black-on-white.png" /> </a> - <div class="clear"> - <hr/> </div> - </div> - <div id="breadcrumbs"> + <div class="clear"><hr/></div> + </div> + + <div id="breadcrumbs"> + <ul class="breadcrumb"> + + + <li class=""> + <a href="http://www.apache.org/" class="externalLink" title="Apache"> + Apache</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="../index.html" title="Maven"> + Maven</a> + <span class="divider">/</span> + </li> + <li class=""> + <a href="index.html" title="Doxia"> + Doxia</a> + <span class="divider">/</span> + </li> + <li class="active ">Project Distribution Management</li> + + + + <li id="publishDate" class="pull-right">Last Published: 2015-11-21</li> - <div class="xleft"> - <a href="http://www.apache.org/" class="externalLink">Apache</a> - > - <a href="../index.html">Maven</a> - > - <a href="index.html">Doxia</a> - > - Project Distribution Management - </div> - <div class="xright"> - Last Published: 2014-07-01 - </div> - <div class="clear"> - <hr/> + </ul> </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - <h5>About Doxia</h5> - <ul> - <li class="none"> - <a href="index.html">What is Doxia?</a> - </li> - <li class="none"> - <a href="overview.html">Overview</a> - </li> - <li class="collapsed"> - <a href="upgrading.html">Upgrading</a> + + + <div class="row-fluid"> + <div id="leftColumn" class="span2"> + <div class="well sidebar-nav"> + + + <ul class="nav nav-list"> + <li class="nav-header">About Doxia</li> + + <li> + + <a href="index.html" title="What is Doxia?"> + <span class="none"></span> + What is Doxia?</a> + </li> + + <li> + + <a href="overview.html" title="Overview"> + <span class="none"></span> + Overview</a> + </li> + + <li> + + <a href="upgrading.html" title="Upgrading"> + <span class="icon-chevron-right"></span> + Upgrading</a> </li> - <li class="none"> - <a href="downloads.html">Downloads</a> - </li> - <li class="none"> - <a href="faq.html">FAQ</a> - </li> - </ul> - <h5>Documentation</h5> - <ul> - <li class="collapsed"> - <a href="references/index.html">Format References</a> + + <li> + + <a href="downloads.html" title="Downloads"> + <span class="none"></span> + Downloads</a> + </li> + + <li> + + <a href="faq.html" title="FAQ"> + <span class="none"></span> + FAQ</a> + </li> + <li class="nav-header">Documentation</li> + + <li> + + <a href="references/index.html" title="Format References"> + <span class="icon-chevron-right"></span> + Format References</a> </li> - <li class="none"> - <a href="modules/index.html">Doxia Modules Guide</a> - </li> - <li class="none"> - <a href="macros/index.html">Doxia Macros Guide</a> - </li> - <li class="none"> - <a href="book/index.html">Writing Books</a> - </li> - <li class="none"> - <a href="issues/index.html">Issues & Gotchas</a> - </li> - <li class="none"> - <a href="resources.html">External Resources</a> - </li> - </ul> - <h5>Developer Docs</h5> - <ul> - <li class="collapsed"> - <a href="developers/index.html">Developer Centre</a> + + <li> + + <a href="modules/index.html" title="Doxia Modules Guide"> + <span class="none"></span> + Doxia Modules Guide</a> + </li> + + <li> + + <a href="macros/index.html" title="Doxia Macros Guide"> + <span class="none"></span> + Doxia Macros Guide</a> + </li> + + <li> + + <a href="book/index.html" title="Writing Books"> + <span class="none"></span> + Writing Books</a> + </li> + + <li> + + <a href="issues/index.html" title="Issues & Gotchas"> + <span class="none"></span> + Issues & Gotchas</a> + </li> + + <li> + + <a href="resources.html" title="External Resources"> + <span class="none"></span> + External Resources</a> + </li> + <li class="nav-header">Developer Docs</li> + + <li> + + <a href="developers/index.html" title="Developer Centre"> + <span class="icon-chevron-right"></span> + Developer Centre</a> </li> - <li class="expanded"> - <a href="doxia/index.html">Doxia 1.6</a> - <ul> - <li class="none"> - <a href="doxia/index.html">Doxia base</a> - </li> - <li class="none"> - <a href="doxia-sitetools/index.html">Doxia Sitetools</a> + + <li> + + <a href="doxia/index.html" title="Doxia 1.6"> + <span class="icon-chevron-down"></span> + Doxia 1.6</a> + <ul class="nav nav-list"> + + <li> + + <a href="doxia/index.html" title="Doxia base"> + <span class="none"></span> + Doxia base</a> + </li> + + <li> + + <a href="doxia-sitetools/index.html" title="Doxia Sitetools"> + <span class="none"></span> + Doxia Sitetools</a> </li> </ul> </li> - <li class="expanded"> - <a href="doxia/index.html">Doxia 1.5</a> - <ul> - <li class="none"> - <a href="doxia-archives/doxia-1.5/index.html">Doxia base</a> + + <li> + + <a href="doxia/index.html" title="Doxia 1.5"> + <span class="icon-chevron-down"></span> + Doxia 1.5</a> + <ul class="nav nav-list"> + + <li> + + <a href="doxia-archives/doxia-1.5/index.html" title="Doxia base"> + <span class="none"></span> + Doxia base</a> </li> </ul> </li> - <li class="expanded"> - <a href="doxia-archives/doxia-1.4/index.html">Doxia 1.4</a> - <ul> - <li class="none"> - <a href="doxia-archives/doxia-1.4/index.html">Doxia base</a> - </li> - <li class="none"> - <a href="doxia-sitetools-archives/doxia-sitetools-1.4/index.html">Doxia Sitetools</a> + + <li> + + <a href="doxia-archives/doxia-1.4/index.html" title="Doxia 1.4"> + <span class="icon-chevron-down"></span> + Doxia 1.4</a> + <ul class="nav nav-list"> + + <li> + + <a href="doxia-archives/doxia-1.4/index.html" title="Doxia base"> + <span class="none"></span> + Doxia base</a> + </li> + + <li> + + <a href="doxia-sitetools-archives/doxia-sitetools-1.4/index.html" title="Doxia Sitetools"> + <span class="none"></span> + Doxia Sitetools</a> </li> </ul> </li> - <li class="expanded"> - <a href="doxia-archives/doxia-1.3/index.html">Doxia 1.3</a> - <ul> - <li class="none"> - <a href="doxia-archives/doxia-1.3/index.html">Doxia base</a> - </li> - <li class="none"> - <a href="doxia-sitetools-archives/doxia-sitetools-1.3/index.html">Doxia Sitetools</a> + + <li> + + <a href="doxia-archives/doxia-1.3/index.html" title="Doxia 1.3"> + <span class="icon-chevron-down"></span> + Doxia 1.3</a> + <ul class="nav nav-list"> + + <li> + + <a href="doxia-archives/doxia-1.3/index.html" title="Doxia base"> + <span class="none"></span> + Doxia base</a> + </li> + + <li> + + <a href="doxia-sitetools-archives/doxia-sitetools-1.3/index.html" title="Doxia Sitetools"> + <span class="none"></span> + Doxia Sitetools</a> </li> </ul> </li> - <li class="expanded"> - <a href="doxia-archives/doxia-1.2/index.html">Doxia 1.2</a> - <ul> - <li class="none"> - <a href="doxia-archives/doxia-1.2/index.html">Doxia base</a> - </li> - <li class="none"> - <a href="doxia-sitetools-archives/doxia-sitetools-1.2/index.html">Doxia Sitetools</a> + + <li> + + <a href="doxia-archives/doxia-1.2/index.html" title="Doxia 1.2"> + <span class="icon-chevron-down"></span> + Doxia 1.2</a> + <ul class="nav nav-list"> + + <li> + + <a href="doxia-archives/doxia-1.2/index.html" title="Doxia base"> + <span class="none"></span> + Doxia base</a> + </li> + + <li> + + <a href="doxia-sitetools-archives/doxia-sitetools-1.2/index.html" title="Doxia Sitetools"> + <span class="none"></span> + Doxia Sitetools</a> </li> </ul> </li> - <li class="none"> - <a href="doxia-tools/index.html">Doxia Tools</a> - </li> - <li class="none"> - <a href="doxia-ide.html">Doxia IDE</a> - </li> - </ul> - <h5>Project Documentation</h5> - <ul> - <li class="expanded"> - <a href="project-info.html">Project Information</a> - <ul> - <li class="none"> - <a href="integration.html">Continuous Integration</a> - </li> - <li class="none"> - <a href="issue-tracking.html">Issue Tracking</a> - </li> - <li class="none"> - <a href="license.html">Project License</a> - </li> - <li class="none"> - <a href="mail-lists.html">Mailing Lists</a> - </li> - <li class="none"> - <a href="team-list.html">Project Team</a> - </li> - <li class="none"> - <a href="source-repository.html">Source Repository</a> - </li> - <li class="none"> - <a href="project-summary.html">Project Summary</a> - </li> - <li class="none"> - <a href="index.html">About</a> - </li> - <li class="none"> - <a href="dependency-info.html">Dependency Information</a> - </li> - <li class="none"> - <a href="dependency-management.html">Dependency Management</a> - </li> - <li class="none"> - <a href="dependencies.html">Dependencies</a> - </li> - <li class="none"> - <a href="plugin-management.html">Plugin Management</a> - </li> - <li class="none"> - <a href="plugins.html">Project Plugins</a> - </li> - <li class="none"> - <strong>Distribution Management</strong> + + <li> + + <a href="doxia-tools/index.html" title="Doxia Tools"> + <span class="none"></span> + Doxia Tools</a> + </li> + + <li> + + <a href="doxia-ide.html" title="Doxia IDE"> + <span class="none"></span> + Doxia IDE</a> + </li> + <li class="nav-header">Project Documentation</li> + + <li> + + <a href="project-info.html" title="Project Information"> + <span class="icon-chevron-down"></span> + Project Information</a> + <ul class="nav nav-list"> + + <li> + + <a href="integration.html" title="Continuous Integration"> + <span class="none"></span> + Continuous Integration</a> + </li> + + <li> + + <a href="issue-tracking.html" title="Issue Tracking"> + <span class="none"></span> + Issue Tracking</a> + </li> + + <li> + + <a href="license.html" title="Project License"> + <span class="none"></span> + Project License</a> + </li> + + <li> + + <a href="mail-lists.html" title="Mailing Lists"> + <span class="none"></span> + Mailing Lists</a> + </li> + + <li> + + <a href="team-list.html" title="Project Team"> + <span class="none"></span> + Project Team</a> + </li> + + <li> + + <a href="source-repository.html" title="Source Repository"> + <span class="none"></span> + Source Repository</a> + </li> + + <li> + + <a href="project-summary.html" title="Project Summary"> + <span class="none"></span> + Project Summary</a> + </li> + + <li> + + <a href="index.html" title="About"> + <span class="none"></span> + About</a> + </li> + + <li> + + <a href="dependency-info.html" title="Dependency Information"> + <span class="none"></span> + Dependency Information</a> + </li> + + <li> + + <a href="dependency-management.html" title="Dependency Management"> + <span class="none"></span> + Dependency Management</a> + </li> + + <li> + + <a href="dependency-convergence.html" title="Dependency Convergence"> + <span class="none"></span> + Dependency Convergence</a> + </li> + + <li> + + <a href="plugin-management.html" title="Plugin Management"> + <span class="none"></span> + Plugin Management</a> + </li> + + <li> + + <a href="plugins.html" title="Project Plugins"> + <span class="none"></span> + Project Plugins</a> + </li> + + <li class="active"> + + <a href="#"><span class="none"></span>Distribution Management</a> </li> </ul> </li> - </ul> - <h5>Maven Projects</h5> - <ul> - <li class="none"> - <a href="../ant-tasks/index.html">Ant Tasks</a> - </li> - <li class="none"> - <a href="../archetype/index.html">Archetype</a> - </li> - <li class="none"> - <a href="index.html">Doxia</a> - </li> - <li class="none"> - <a href="../jxr/index.html">JXR</a> - </li> - <li class="none"> - <a href="../maven-1.x/index.html">Maven 1.x</a> - </li> - <li class="none"> - <a href="../index.html">Maven 2 & 3</a> - </li> - <li class="none"> - <a href="../pom/index.html">Parent POMs</a> - </li> - <li class="none"> - <a href="../plugins/index.html">Plugins</a> - </li> - <li class="none"> - <a href="../plugin-tools/index.html">Plugin Tools</a> - </li> - <li class="none"> - <a href="../scm/index.html">SCM</a> - </li> - <li class="none"> - <a href="../shared/index.html">Shared Components</a> - </li> - <li class="none"> - <a href="../skins/index.html">Skins</a> - </li> - <li class="none"> - <a href="../surefire/index.html">Surefire</a> - </li> - <li class="none"> - <a href="../wagon/index.html">Wagon</a> - </li> - </ul> - <h5>ASF</h5> - <ul> - <li class="none"> - <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a> - </li> - <li class="none"> - <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="./images/logos/maven-feather.png"/> - </a> - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <div class="section"> -<h2>Overview<a name="Overview"></a></h2><a name="Overview"></a> + <li class="nav-header">Maven Projects</li> + + <li> + + <a href="../ant-tasks/index.html" title="Ant Tasks"> + <span class="none"></span> + Ant Tasks</a> + </li> + + <li> + + <a href="../archetype/index.html" title="Archetype"> + <span class="none"></span> + Archetype</a> + </li> + + <li> + + <a href="index.html" title="Doxia"> + <span class="none"></span> + Doxia</a> + </li> + + <li> + + <a href="../jxr/index.html" title="JXR"> + <span class="none"></span> + JXR</a> + </li> + + <li> + + <a href="../ref/current" title="Maven"> + <span class="none"></span> + Maven</a> + </li> + + <li> + + <a href="../pom/index.html" title="Parent POMs"> + <span class="none"></span> + Parent POMs</a> + </li> + + <li> + + <a href="../plugins/index.html" title="Plugins"> + <span class="none"></span> + Plugins</a> + </li> + + <li> + + <a href="../plugin-testing/index.html" title="Plugin Testing"> + <span class="none"></span> + Plugin Testing</a> + </li> + + <li> + + <a href="../plugin-tools/index.html" title="Plugin Tools"> + <span class="none"></span> + Plugin Tools</a> + </li> + + <li> + + <a href="../apache-resource-bundles/index.html" title="Resource Bundles"> + <span class="none"></span> + Resource Bundles</a> + </li> + + <li> + + <a href="../scm/index.html" title="SCM"> + <span class="none"></span> + SCM</a> + </li> + + <li> + + <a href="../shared/index.html" title="Shared Components"> + <span class="none"></span> + Shared Components</a> + </li> + + <li> + + <a href="../skins/index.html" title="Skins"> + <span class="none"></span> + Skins</a> + </li> + + <li> + + <a href="../surefire/index.html" title="Surefire"> + <span class="none"></span> + Surefire</a> + </li> + + <li> + + <a href="../wagon/index.html" title="Wagon"> + <span class="none"></span> + Wagon</a> + </li> + <li class="nav-header">ASF</li> + + <li> + + <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works"> + <span class="none"></span> + How Apache Works</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/" class="externalLink" title="Foundation"> + <span class="none"></span> + Foundation</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache"> + <span class="none"></span> + Sponsoring Apache</a> + </li> + + <li> + + <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"> + <span class="none"></span> + Thanks</a> + </li> + </ul> + + + <form id="search-form" action="https://www.google.com/search" method="get" > + + <input value="https://maven.apache.org/doxia" name="sitesearch" type="hidden"/> + <input class="search-query" name="q" id="query" type="text" /> +</form> +<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=search-form"></script> + + <hr /> + + <div id="poweredBy"> + + <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> + + + <div class="g-plusone" data-href="http://maven.apache.org/doxia/" data-size="tall" ></div> + + <div class="clear"></div> + <div class="clear"></div> + <div class="clear"></div> + <div class="clear"></div> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /> + </a> + </div> + </div> + </div> + + + <div id="bodyColumn" class="span10" > + + <div class="section"> +<h2><a name="Overview"></a>Overview</h2><a name="Overview"></a> <p>The following is the distribution management information used by this project.</p> <div class="section"> -<h3>Repository - apache.releases.https<a name="Repository_-_apache.releases.https"></a></h3><a name="Repository_-_apache.releases.https"></a><a class="externalLink" href="https://repository.apache.org/service/local/staging/deploy/maven2">https://repository.apache.org/service/local/staging/deploy/maven2</a></div> +<h3><a name="Repository_-_apache.releases.https"></a>Repository - apache.releases.https</h3><a name="Repository_-_apache.releases.https"></a><a class="externalLink" href="https://repository.apache.org/service/local/staging/deploy/maven2">https://repository.apache.org/service/local/staging/deploy/maven2</a></div> <div class="section"> -<h3>Snapshot Repository - apache.snapshots.https<a name="Snapshot_Repository_-_apache.snapshots.https"></a></h3><a name="Snapshot_Repository_-_apache.snapshots.https"></a><a class="externalLink" href="https://repository.apache.org/content/repositories/snapshots">https://repository.apache.org/content/repositories/snapshots</a></div> +<h3><a name="Snapshot_Repository_-_apache.snapshots.https"></a>Snapshot Repository - apache.snapshots.https</h3><a name="Snapshot_Repository_-_apache.snapshots.https"></a><a class="externalLink" href="https://repository.apache.org/content/repositories/snapshots">https://repository.apache.org/content/repositories/snapshots</a></div> <div class="section"> -<h3>Site - apache.website<a name="Site_-_apache.website"></a></h3><a name="Site_-_apache.website"></a> +<h3><a name="Site_-_apache.website"></a>Site - apache.website</h3><a name="Site_-_apache.website"></a> <p>scp://people.apache.org/www/maven.apache.org/doxia/</p></div></div> - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright"> - © 2005-2014 - The Apache Software Foundation - - - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>. - Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation. - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> + </div> + </div> + </div> + + <hr/> + + <footer> + <div class="container-fluid"> + <div class="row-fluid"> + <p >Copyright © 2005–2015 + <a href="http://www.apache.org/">The Apache Software Foundation</a>. + All rights reserved. + + </p> + </div> + + + </div> + </footer> + </body> </html>