<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>doxia-dev@maven.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/"/>
<id>http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/</id>
<updated>2009-12-09T16:29:45Z</updated>
<entry>
<title>Re: Question about APT and Applets</title>
<author><name>Lukas Theussl &lt;ltheussl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200910.mbox/%3c4AD4979F.4050606@apache.org%3e"/>
<id>urn:uuid:%3c4AD4979F-4050606@apache-org%3e</id>
<updated>2009-10-13T15:07:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Not possible with apt, use xdoc.

-Lukas


Michael Remijan wrote:
&gt; When generating my project website, I'm using APT and I need to include an Applet on
the page.  I have not been able to find any examples of doing this.  Anyone know how to do
it?
&gt; 


</pre>
</div>
</content>
</entry>
<entry>
<title>Question about APT and Applets</title>
<author><name>Michael Remijan &lt;mjremijan@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200910.mbox/%3c89942.59164.qm@web34407.mail.mud.yahoo.com%3e"/>
<id>urn:uuid:%3c89942-59164-qm@web34407-mail-mud-yahoo-com%3e</id>
<updated>2009-10-13T14:44:45Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
When generating my project website, I'm using APT and I need to include an Applet on the page.
 I have not been able to find any examples of doing this.  Anyone know how to do it?


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r805576 - in /maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src: 	main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java 	test/java/org/apache/maven/doxia/module/xdoc/XdocParserTest.java</title>
<author><name>Lukas Theussl &lt;ltheussl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200908.mbox/%3c4A8D010C.7080505@apache.org%3e"/>
<id>urn:uuid:%3c4A8D010C-7080505@apache-org%3e</id>
<updated>2009-08-20T07:53:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>


Vincent Siveton wrote:
&gt; Hi Lukas,
&gt; 
&gt; 2009/8/19 Lukas Theussl &lt;ltheussl@apache.org&gt;:
&gt;&gt; IIUC, according to the xdoc schema it is perfectly legal to specify a
&gt;&gt; &lt;title&gt; in both &lt;properties&gt; and &lt;head&gt;, so throwing an Exception
is not the
&gt;&gt; right solution IMO. I would prefer one of the following two alternatives:
&gt; 
&gt; Yes both are legal, but the doc doesn't specify which one is the
&gt; "official" title of a xdoc.

properties/title is required by the xsd and should have priority, head/title is 
only there for compatibility with xhtml, but it is optional.

&gt; 
&gt;&gt; 1) define and document which title gets used if both are specified and emit
&gt;&gt; a warning that the other is ignored
&gt; 
&gt; I was thinking about this idea but due to the parser impl, it will be
&gt; always head/title which emits a warn due to the exception actually.
&gt; 
&gt; IMHO head/title should be the right title, properties/title is more
&gt; for backward compatibility reasons. WDYT?

The other way round IMO. The properties/title is a required element, while 
head/title is optional, and properties comes before head, so simply emit a warning 
when a second title is encountered.

-Lukas

&gt; 
&gt; Cheers,
&gt; 
&gt; Vincent
&gt; 


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r805576 - in /maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src:	main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java	test/java/org/apache/maven/doxia/module/xdoc/XdocParserTest.java</title>
<author><name>Vincent Siveton &lt;vsiveton@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200908.mbox/%3c9ae367340908190217s7038f288seeed85a9480311ef@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340908190217s7038f288seeed85a9480311ef@mail-gmail-com%3e</id>
<updated>2009-08-19T09:17:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Lukas,

2009/8/19 Lukas Theussl &lt;ltheussl@apache.org&gt;:
&gt; IIUC, according to the xdoc schema it is perfectly legal to specify a
&gt; &lt;title&gt; in both &lt;properties&gt; and &lt;head&gt;, so throwing an Exception is
not the
&gt; right solution IMO. I would prefer one of the following two alternatives:

Yes both are legal, but the doc doesn't specify which one is the
"official" title of a xdoc.

&gt; 1) define and document which title gets used if both are specified and emit
&gt; a warning that the other is ignored

I was thinking about this idea but due to the parser impl, it will be
always head/title which emits a warn due to the exception actually.

IMHO head/title should be the right title, properties/title is more
for backward compatibility reasons. WDYT?

Cheers,

Vincent


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r805576 - in /maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src: main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java test/java/org/apache/maven/doxia/module/xdoc/XdocParserTest.java</title>
<author><name>Lukas Theussl &lt;ltheussl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200908.mbox/%3c4A8BAAC7.9000609@apache.org%3e"/>
<id>urn:uuid:%3c4A8BAAC7-9000609@apache-org%3e</id>
<updated>2009-08-19T07:33:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi Vincent,

[I'm back! :) ]

IIUC, according to the xdoc schema it is perfectly legal to specify a &lt;title&gt; in 
both &lt;properties&gt; and &lt;head&gt;, so throwing an Exception is not the right solution

IMO. I would prefer one of the following two alternatives:

1) define and document which title gets used if both are specified and emit a 
warning that the other is ignored

2) if a second title is encountered, emit it as an (unkown) meta event


I think 1) is good enough since specifying two titles is not logical (even if 
legal) and should be fixed in the source document.

-Lukas


vsiveton@apache.org wrote:
&gt; Author: vsiveton
&gt; Date: Tue Aug 18 21:04:23 2009
&gt; New Revision: 805576
&gt; 
&gt; URL: http://svn.apache.org/viewvc?rev=805576&amp;view=rev
&gt; Log:
&gt; DOXIA-359: Xdoc parser doesnt make the difference for &lt;title/&gt;
&gt; 
&gt; o added an exception when 2 &lt;title/&gt; are defined in &lt;properties/&gt; and also
in &lt;head/&gt;
&gt; 
&gt; Modified:
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocParserTest.java
&gt; 
&gt; Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java?rev=805576&amp;r1=805575&amp;r2=805576&amp;view=diff
&gt; ==============================================================================
&gt; --- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
(original)
&gt; +++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
Tue Aug 18 21:04:23 2009
&gt; @@ -69,6 +69,9 @@
&gt;      /** Indicates that we're inside &amp;lt;properties&amp;gt; or &amp;lt;head&amp;gt;.*/
&gt;      private boolean inHead;
&gt;  
&gt; +    /** Indicates that &amp;lt;title&amp;gt; was called from &amp;lt;properties&amp;gt;
or &amp;lt;head&amp;gt;.*/
&gt; +    private boolean hasTitle;
&gt; +
&gt;      /** {@inheritDoc} */
&gt;      public void parse( Reader source, Sink sink )
&gt;          throws ParseException
&gt; @@ -94,6 +97,8 @@
&gt;          //setIgnorableWhitespace( true );
&gt;  
&gt;          super.parse( tmp, sink );
&gt; +
&gt; +        this.hasTitle = false;
&gt;      }
&gt;  
&gt;      /** {@inheritDoc} */
&gt; @@ -120,7 +125,13 @@
&gt;          }
&gt;          else if ( parser.getName().equals( TITLE.toString() ) )
&gt;          {
&gt; +            if ( hasTitle )
&gt; +            {
&gt; +                throw new XmlPullParserException( "&lt;title/&gt; should be defined
in &lt;properties/&gt; or in &lt;head/&gt;, "
&gt; +                    + "not both." );
&gt; +            }
&gt;              sink.title( attribs );
&gt; +            this.hasTitle = true;
&gt;          }
&gt;          else if ( parser.getName().equals( AUTHOR_TAG.toString() ) )
&gt;          {
&gt; 
&gt; Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocParserTest.java
&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocParserTest.java?rev=805576&amp;r1=805575&amp;r2=805576&amp;view=diff
&gt; ==============================================================================
&gt; --- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocParserTest.java
(original)
&gt; +++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocParserTest.java
Tue Aug 18 21:04:23 2009
&gt; @@ -189,6 +189,20 @@
&gt;          assertEquals( "body", ( (SinkEventElement) it.next() ).getName() );
&gt;          assertEquals( "body_", ( (SinkEventElement) it.next() ).getName() );
&gt;          assertFalse( it.hasNext() );
&gt; +
&gt; +        text = "&lt;document&gt;"
&gt; +                + "&lt;properties&gt;&lt;title&gt;title&lt;/title&gt;"
&gt; +                + "&lt;author email=\"a@b.c\"&gt;John Doe&lt;/author&gt;&lt;/properties&gt;"
&gt; +                + "&lt;head&gt;&lt;title&gt;title&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/document&gt;";
&gt; +        try
&gt; +        {
&gt; +            parser.parse( text, sink );
&gt; +            assertTrue( false );
&gt; +        }
&gt; +        catch ( ParseException e )
&gt; +        {
&gt; +            assertTrue( true );
&gt; +        }
&gt;      }
&gt;  
&gt;      /** @throws Exception  */
&gt; 
&gt; 
&gt; 


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r799837 - in /maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/validation:	LinkValidatorManager.java OnlineHTTPLinkValidator.java</title>
<author><name>Vincent Siveton &lt;vincent.siveton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200908.mbox/%3c9ae367340908020341w153bcecld217798b27e1de62@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340908020341w153bcecld217798b27e1de62@mail-gmail-com%3e</id>
<updated>2009-08-02T10:41:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Dennis,

2009/8/2 Dennis Lundberg &lt;dennisl@apache.org&gt;:
&gt; These are logically not necessary, but are put in there for performance
&gt; reasons. Only if the logger is in debug mode (in this case) will the 3
&gt; String objects it uses actually be created by the JVM. Otherwise no
&gt; objects will be created, resulting in slightly enhanced
&gt; performance/memory usage. At least if used in heavy loops.

Definitely agree for the performance, it was why I added them in the
past r709693 :)

In this revision, I added some message objects for logging but agree I
removed some unwanted checks.

Cheers,

Vincent


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r799837 - in /maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/validation: LinkValidatorManager.java OnlineHTTPLinkValidator.java</title>
<author><name>Dennis Lundberg &lt;dennisl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200908.mbox/%3c4A753DBC.3070300@apache.org%3e"/>
<id>urn:uuid:%3c4A753DBC-3070300@apache-org%3e</id>
<updated>2009-08-02T07:18:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Vincent,

Is there a special reason for removing the level.checking for logging
statements, like the one below? You removed a bunch of these.

if ( LOG.isDebugEnabled() )
{
    LOG.debug( "Will use method : [" + bean.getMethod() + "]" );
}

These are logically not necessary, but are put in there for performance
reasons. Only if the logger is in debug mode (in this case) will the 3
String objects it uses actually be created by the JVM. Otherwise no
objects will be created, resulting in slightly enhanced
performance/memory usage. At least if used in heavy loops.



vsiveton@apache.org wrote:
&gt; Author: vsiveton
&gt; Date: Sat Aug  1 11:17:23 2009
&gt; New Revision: 799837
&gt; 
&gt; URL: http://svn.apache.org/viewvc?rev=799837&amp;view=rev
&gt; Log:
&gt; o added timeout and httpClientsParameters
&gt; o improved log call
&gt; 
&gt; Modified:
&gt;     maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/validation/LinkValidatorManager.java
&gt;     maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/validation/OnlineHTTPLinkValidator.java
&gt; 
&gt; Modified: maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/validation/LinkValidatorManager.java
&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/validation/LinkValidatorManager.java?rev=799837&amp;r1=799836&amp;r2=799837&amp;view=diff
&gt; ==============================================================================
&gt; --- maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/validation/LinkValidatorManager.java
(original)
&gt; +++ maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/validation/LinkValidatorManager.java
Sat Aug  1 11:17:23 2009
&gt; @@ -34,6 +34,7 @@
&gt;  import java.io.ObjectInputStream;
&gt;  import java.io.ObjectOutputStream;
&gt;  import java.io.Serializable;
&gt; +import java.net.URI;
&gt;  import java.util.HashMap;
&gt;  import java.util.Iterator;
&gt;  import java.util.LinkedList;
&gt; @@ -404,6 +405,17 @@
&gt;              return link.indexOf( pattern ) != -1;
&gt;          }
&gt;  
&gt; +        URI uri = URI.create( link );
&gt; +
&gt; +        if ( uri.getScheme() != null &amp;&amp; !pattern.startsWith( uri.getScheme()
) )
&gt; +        {
&gt; +            return true;
&gt; +        }
&gt; +
&gt; +        if ( pattern.matches( "\\*+/?.*" ) &amp;&amp; !link.startsWith( "/" ) &amp;&amp;
!link.startsWith( "./" ) )
&gt; +        {
&gt; +            link = "./" + link;
&gt; +        }
&gt;          String diff = StringUtils.difference( link, pattern );
&gt;          if ( diff.startsWith( "/" ) )
&gt;          {
&gt; 
&gt; Modified: maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/validation/OnlineHTTPLinkValidator.java
&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/validation/OnlineHTTPLinkValidator.java?rev=799837&amp;r1=799836&amp;r2=799837&amp;view=diff
&gt; ==============================================================================
&gt; --- maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/validation/OnlineHTTPLinkValidator.java
(original)
&gt; +++ maven/doxia/doxia-tools/trunk/doxia-linkcheck/src/main/java/org/apache/maven/doxia/linkcheck/validation/OnlineHTTPLinkValidator.java
Sat Aug  1 11:17:23 2009
&gt; @@ -22,6 +22,8 @@
&gt;  import java.io.IOException;
&gt;  
&gt;  import java.net.URL;
&gt; +import java.util.Iterator;
&gt; +import java.util.Map;
&gt;  
&gt;  import org.apache.commons.httpclient.Credentials;
&gt;  import org.apache.commons.httpclient.Header;
&gt; @@ -38,6 +40,8 @@
&gt;  import org.apache.commons.httpclient.auth.AuthScope;
&gt;  import org.apache.commons.httpclient.methods.GetMethod;
&gt;  import org.apache.commons.httpclient.methods.HeadMethod;
&gt; +import org.apache.commons.httpclient.params.HttpClientParams;
&gt; +import org.apache.commons.httpclient.params.HttpMethodParams;
&gt;  
&gt;  import org.apache.commons.logging.Log;
&gt;  import org.apache.commons.logging.LogFactory;
&gt; @@ -45,7 +49,6 @@
&gt;  import org.apache.maven.doxia.linkcheck.model.LinkcheckFileResult;
&gt;  import org.codehaus.plexus.util.StringUtils;
&gt;  
&gt; -
&gt;  /**
&gt;   * Checks links which are normal URLs
&gt;   *
&gt; @@ -54,7 +57,8 @@
&gt;   * @author &lt;a href="mailto:vincent.siveton@gmail.com"&gt;Vincent Siveton&lt;/a&gt;
&gt;   * @version $Id$
&gt;   */
&gt; -public final class OnlineHTTPLinkValidator extends HTTPLinkValidator
&gt; +public final class OnlineHTTPLinkValidator
&gt; +    extends HTTPLinkValidator
&gt;  {
&gt;      /** Log for debug output. */
&gt;      private static final Log LOG = LogFactory.getLog( OnlineHTTPLinkValidator.class
);
&gt; @@ -97,10 +101,7 @@
&gt;              bean = new HttpBean();
&gt;          }
&gt;  
&gt; -        if ( LOG.isDebugEnabled() )
&gt; -        {
&gt; -            LOG.debug( "Will use method : [" + bean.getMethod() + "]" );
&gt; -        }
&gt; +        LOG.debug( "Will use method : [" + bean.getMethod() + "]" );
&gt;  
&gt;          this.http = bean;
&gt;  
&gt; @@ -135,42 +136,50 @@
&gt;              initHttpClient();
&gt;          }
&gt;  
&gt; -        String link = lvi.getLink();
&gt; +        if ( this.http.getHttpClientParameters() != null )
&gt; +        {
&gt; +            for ( Iterator it = this.http.getHttpClientParameters().entrySet().iterator();
it.hasNext(); )
&gt; +            {
&gt; +                Map.Entry entry = (Map.Entry) it.next();
&gt; +
&gt; +                if ( entry.getValue() != null )
&gt; +                {
&gt; +                    System.setProperty( entry.getKey().toString(), entry.getValue().toString()
);
&gt; +                }
&gt; +            }
&gt; +        }
&gt;  
&gt; +        // Some web servers don't allow the default user-agent sent by httpClient
&gt; +        System.setProperty( HttpMethodParams.USER_AGENT, "Mozilla/4.0 (compatible; MSIE
6.0; Windows NT 5.0)" );
&gt; +
&gt; +        String link = lvi.getLink();
&gt;          try
&gt;          {
&gt;              if ( link.startsWith( "/" ) )
&gt;              {
&gt;                  if ( getBaseURL() == null )
&gt;                  {
&gt; -                    if ( LOG.isWarnEnabled() )
&gt; -                    {
&gt; +                    LOG.warn( "Cannot check link [" + link + "] in page [" + lvi.getSource()
&gt; +                        + "], as no base URL has been set!" );
&gt;  
&gt; -                        LOG.warn( "Cannot check link [" + link + "] in page [" + lvi.getSource()
&gt; -                            + "], as no base URL has been set!" );
&gt; -                    }
&gt;                      return new LinkValidationResult( LinkcheckFileResult.WARNING_LEVEL,
false,
&gt; -                            "No base URL specified" );
&gt; +                                                     "No base URL specified" );
&gt;                  }
&gt;  
&gt;                  link = getBaseURL() + link;
&gt;              }
&gt;  
&gt;              HttpMethod hm = null;
&gt; -
&gt;              try
&gt;              {
&gt;                  hm = checkLink( link, 0 );
&gt;              }
&gt;              catch ( Throwable t )
&gt;              {
&gt; -                if ( LOG.isDebugEnabled() )
&gt; -                {
&gt; -                    LOG.debug( "Received: [" + t + "] for [" + link + "] in page ["
+ lvi.getSource() + "]", t );
&gt; -                }
&gt; +                LOG.debug( "Received: [" + t + "] for [" + link + "] in page [" + lvi.getSource()
+ "]", t );
&gt;  
&gt; -                return new LinkValidationResult( LinkcheckFileResult.ERROR_LEVEL, false,
t.getClass().getName() + " : "
&gt; -                                + t.getMessage() );
&gt; +                return new LinkValidationResult( LinkcheckFileResult.ERROR_LEVEL, false,
t.getClass().getName()
&gt; +                    + " : " + t.getMessage() );
&gt;              }
&gt;  
&gt;              if ( hm == null )
&gt; @@ -182,116 +191,114 @@
&gt;              if ( hm.getStatusCode() == HttpStatus.SC_OK )
&gt;              {
&gt;                  return new HTTPLinkValidationResult( LinkcheckFileResult.VALID_LEVEL,
true, hm.getStatusCode(),
&gt; -                                                 hm.getStatusText() );
&gt; -        }
&gt; +                                                     hm.getStatusText() );
&gt; +            }
&gt;  
&gt; -        // If there's a redirection ... add a warning
&gt; -        if ( hm.getStatusCode() == HttpStatus.SC_MOVED_PERMANENTLY
&gt; -                        || hm.getStatusCode() == HttpStatus.SC_MOVED_TEMPORARILY
&gt; -                        || hm.getStatusCode() == HttpStatus.SC_TEMPORARY_REDIRECT )
&gt; -        {
&gt; -            if ( LOG.isWarnEnabled() )
&gt; +            String msg =
&gt; +                "Received: [" + hm.getStatusCode() + "] for [" + link + "] in page ["
+ lvi.getSource() + "]";
&gt; +            // If there's a redirection ... add a warning
&gt; +            if ( hm.getStatusCode() == HttpStatus.SC_MOVED_PERMANENTLY
&gt; +                || hm.getStatusCode() == HttpStatus.SC_MOVED_TEMPORARILY
&gt; +                || hm.getStatusCode() == HttpStatus.SC_TEMPORARY_REDIRECT )
&gt;              {
&gt; -                LOG.warn( "Received: [" + hm.getStatusCode() + "] for [" + link + "]
in page [" + lvi.getSource()
&gt; -                        + "]" );
&gt; -                }
&gt; +                LOG.warn( msg );
&gt;  
&gt;                  return new HTTPLinkValidationResult( LinkcheckFileResult.WARNING_LEVEL,
true, hm.getStatusCode(),
&gt;                                                       hm.getStatusText() );
&gt;              }
&gt;  
&gt; -            if ( LOG.isDebugEnabled() )
&gt; -            {
&gt; -                LOG.debug( "Received: [" + hm.getStatusCode() + "] for [" + link + "]
in page [" + lvi.getSource()
&gt; -                    + "]" );
&gt; -            }
&gt; +            LOG.debug( msg );
&gt;  
&gt;              return new HTTPLinkValidationResult( LinkcheckFileResult.ERROR_LEVEL, false,
hm.getStatusCode(),
&gt;                                                   hm.getStatusText() );
&gt; -
&gt;          }
&gt;          catch ( Throwable t )
&gt;          {
&gt; +            String msg = "Received: [" + t + "] for [" + link + "] in page [" + lvi.getSource()
+ "]";
&gt;              if ( LOG.isDebugEnabled() )
&gt;              {
&gt; -                LOG.debug( "Received: [" + t + "] for [" + link + "] in page [" + lvi.getSource()
+ "]", t );
&gt; +                LOG.debug( msg, t );
&gt;              }
&gt;              else
&gt;              {
&gt; -                LOG.error( "Received: [" + t + "] for [" + link + "] in page [" + lvi.getSource()
+ "]" );
&gt; +                LOG.error( msg );
&gt;              }
&gt;  
&gt;              return new LinkValidationResult( LinkcheckFileResult.ERROR_LEVEL, false,
t.getMessage() );
&gt;          }
&gt; +        finally
&gt; +        {
&gt; +            System.getProperties().remove( HttpMethodParams.USER_AGENT );
&gt; +
&gt; +            if ( this.http.getHttpClientParameters() != null )
&gt; +            {
&gt; +                for ( Iterator it = this.http.getHttpClientParameters().entrySet().iterator();
it.hasNext(); )
&gt; +                {
&gt; +                    Map.Entry entry = (Map.Entry) it.next();
&gt; +
&gt; +                    if ( entry.getValue() != null )
&gt; +                    {
&gt; +                        System.getProperties().remove( entry.getKey().toString() );
&gt; +                    }
&gt; +                }
&gt; +            }
&gt; +        }
&gt;      }
&gt;  
&gt;      /** Initialize the HttpClient. */
&gt;      private void initHttpClient()
&gt;      {
&gt; -        if ( LOG.isDebugEnabled() )
&gt; -        {
&gt; -            LOG.debug( "A new HttpClient instance is needed ..." );
&gt; -        }
&gt; -
&gt; -        // Some web servers don't allow the default user-agent sent by httpClient
&gt; -        System.setProperty( "httpclient.useragent", "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.0)" );
&gt; +        LOG.debug( "A new HttpClient instance is needed ..." );
&gt;  
&gt;          this.cl = new HttpClient( new MultiThreadedHttpConnectionManager() );
&gt;  
&gt; +        // Default params
&gt; +        if ( this.http.getTimeout() != 0 )
&gt; +        {
&gt; +            this.cl.getHttpConnectionManager().getParams().setConnectionTimeout( this.http.getTimeout()
);
&gt; +            this.cl.getHttpConnectionManager().getParams().setSoTimeout( this.http.getTimeout()
);
&gt; +        }
&gt; +        this.cl.getParams().setBooleanParameter( HttpClientParams.ALLOW_CIRCULAR_REDIRECTS,
true );
&gt; +
&gt;          HostConfiguration hc = new HostConfiguration();
&gt;  
&gt;          HttpState state = new HttpState();
&gt; -
&gt;          if ( StringUtils.isNotEmpty( this.http.getProxyHost() ) )
&gt;          {
&gt;              hc.setProxy( this.http.getProxyHost(), this.http.getProxyPort() );
&gt;  
&gt; -            if ( LOG.isDebugEnabled() )
&gt; -            {
&gt; -                LOG.debug( "Proxy Host:" + this.http.getProxyHost() );
&gt; -                LOG.debug( "Proxy Port:" + this.http.getProxyPort() );
&gt; -            }
&gt; +            LOG.debug( "Proxy Host:" + this.http.getProxyHost() );
&gt; +            LOG.debug( "Proxy Port:" + this.http.getProxyPort() );
&gt;  
&gt;              if ( StringUtils.isNotEmpty( this.http.getProxyUser() ) &amp;&amp; this.http.getProxyPassword()
!= null )
&gt;              {
&gt; -                if ( LOG.isDebugEnabled() )
&gt; -                {
&gt; -                    LOG.debug( "Proxy User:" + this.http.getProxyUser() );
&gt; -                }
&gt; +                LOG.debug( "Proxy User:" + this.http.getProxyUser() );
&gt;  
&gt;                  Credentials credentials;
&gt; -
&gt;                  if ( StringUtils.isNotEmpty( this.http.getProxyNtlmHost() ) )
&gt;                  {
&gt; -                    credentials = new NTCredentials( this.http.getProxyUser(), this.http.getProxyPassword(),
this.http
&gt; -                        .getProxyNtlmHost(), this.http.getProxyNtlmDomain() );
&gt; +                    credentials =
&gt; +                        new NTCredentials( this.http.getProxyUser(), this.http.getProxyPassword(),
&gt; +                                           this.http.getProxyNtlmHost(), this.http.getProxyNtlmDomain()
);
&gt;                  }
&gt;                  else
&gt;                  {
&gt; -                    credentials = new UsernamePasswordCredentials( this.http.getProxyUser(),
this.http
&gt; -                        .getProxyPassword() );
&gt; +                    credentials =
&gt; +                        new UsernamePasswordCredentials( this.http.getProxyUser(), this.http.getProxyPassword()
);
&gt;                  }
&gt;  
&gt;                  state.setProxyCredentials( AuthScope.ANY, credentials );
&gt;              }
&gt; -
&gt;          }
&gt;          else
&gt;          {
&gt; -            if ( LOG.isDebugEnabled() )
&gt; -            {
&gt; -                LOG.debug( "Not using a proxy" );
&gt; -            }
&gt; +            LOG.debug( "Not using a proxy" );
&gt;          }
&gt;  
&gt;          this.cl.setHostConfiguration( hc );
&gt; -
&gt;          this.cl.setState( state );
&gt;  
&gt; -        if ( LOG.isDebugEnabled() )
&gt; -        {
&gt; -            LOG.debug( "New HttpClient instance created." );
&gt; -        }
&gt; +        LOG.debug( "New HttpClient instance created." );
&gt;      }
&gt;  
&gt;      /**
&gt; @@ -305,13 +312,29 @@
&gt;      private HttpMethod checkLink( String link, int nbRedirect )
&gt;          throws IOException
&gt;      {
&gt; -        if ( nbRedirect &gt; MAX_NB_REDIRECT )
&gt; +        int max = MAX_NB_REDIRECT;
&gt; +        if ( this.http.getHttpClientParameters() != null
&gt; +            &amp;&amp; this.http.getHttpClientParameters().get( HttpClientParams.MAX_REDIRECTS
) != null )
&gt;          {
&gt; -            throw new HttpException( "Maximum number of redirections (" + MAX_NB_REDIRECT
+ ") exceeded" );
&gt; +            try
&gt; +            {
&gt; +                max =
&gt; +                    Integer.valueOf(
&gt; +                                     this.http.getHttpClientParameters().get( HttpClientParams.MAX_REDIRECTS
)
&gt; +                                              .toString() ).intValue();
&gt; +            }
&gt; +            catch ( NumberFormatException e )
&gt; +            {
&gt; +                LOG.warn( "HttpClient parameter '" + HttpClientParams.MAX_REDIRECTS
&gt; +                    + "' is not a number. Ignoring" );
&gt; +            }
&gt; +        }
&gt; +        if ( nbRedirect &gt; max )
&gt; +        {
&gt; +            throw new HttpException( "Maximum number of redirections (" + max + ") exceeded"
);
&gt;          }
&gt;  
&gt;          HttpMethod hm;
&gt; -
&gt;          if ( HEAD_METHOD.equalsIgnoreCase( this.http.getMethod() ) )
&gt;          {
&gt;              hm = new HeadMethod( link );
&gt; @@ -322,17 +345,15 @@
&gt;          }
&gt;          else
&gt;          {
&gt; -            if ( LOG.isErrorEnabled() )
&gt; -            {
&gt; -                LOG.error( "Unsupported method: " + this.http.getMethod() + ", using
'get'." );
&gt; -            }
&gt; +            LOG.error( "Unsupported method: " + this.http.getMethod() + ", using 'get'."
);
&gt;              hm = new GetMethod( link );
&gt;          }
&gt;  
&gt; +        // Default
&gt; +        hm.setFollowRedirects( this.http.isFollowRedirects() );
&gt; +
&gt;          try
&gt;          {
&gt; -            hm.setFollowRedirects( this.http.isFollowRedirects() );
&gt; -
&gt;              URL url = new URL( link );
&gt;  
&gt;              cl.getHostConfiguration().setHost( url.getHost(), url.getPort(), url.getProtocol()
);
&gt; @@ -340,28 +361,23 @@
&gt;              cl.executeMethod( hm );
&gt;  
&gt;              StatusLine sl = hm.getStatusLine();
&gt; -
&gt;              if ( sl == null )
&gt;              {
&gt; -                if ( LOG.isErrorEnabled() )
&gt; -                {
&gt; -                    LOG.error( "Unknown error validating link : " + link );
&gt; -                }
&gt; +                LOG.error( "Unknown error validating link : " + link );
&gt; +
&gt;                  return null;
&gt;              }
&gt;  
&gt;              if ( hm.getStatusCode() == HttpStatus.SC_MOVED_PERMANENTLY
&gt; -                            || hm.getStatusCode() == HttpStatus.SC_MOVED_TEMPORARILY
&gt; -                            || hm.getStatusCode() == HttpStatus.SC_TEMPORARY_REDIRECT
)
&gt; +                || hm.getStatusCode() == HttpStatus.SC_MOVED_TEMPORARILY
&gt; +                || hm.getStatusCode() == HttpStatus.SC_TEMPORARY_REDIRECT )
&gt;              {
&gt;                  Header locationHeader = hm.getResponseHeader( "location" );
&gt;  
&gt;                  if ( locationHeader == null )
&gt;                  {
&gt; -                    if ( LOG.isErrorEnabled() )
&gt; -                    {
&gt; -                        LOG.error( "Site sent redirect, but did not set Location header"
);
&gt; -                    }
&gt; +                    LOG.error( "Site sent redirect, but did not set Location header"
);
&gt; +
&gt;                      return hm;
&gt;                  }
&gt;  
&gt; @@ -376,7 +392,7 @@
&gt;  
&gt;                          newLink =
&gt;                              oldUrl.getProtocol() + "://" + oldUrl.getHost()
&gt; -                                            + ( oldUrl.getPort() &gt; 0 ? ":" + oldUrl.getPort()
: "" ) + newLink;
&gt; +                                + ( oldUrl.getPort() &gt; 0 ? ":" + oldUrl.getPort()
: "" ) + newLink;
&gt;                      }
&gt;                      else
&gt;                      {
&gt; @@ -386,10 +402,7 @@
&gt;  
&gt;                  HttpMethod oldHm = hm;
&gt;  
&gt; -                if ( LOG.isDebugEnabled() )
&gt; -                {
&gt; -                    LOG.debug( "[" + link + "] is redirected to [" + newLink + "]" );
&gt; -                }
&gt; +                LOG.debug( "[" + link + "] is redirected to [" + newLink + "]" );
&gt;  
&gt;                  oldHm.releaseConnection();
&gt;  
&gt; 
&gt; 
&gt; 


-- 
Dennis Lundberg


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r776294 - in /maven/doxia/doxia/trunk: 	doxia-core/src/main/java/org/apache/maven/doxia/parser/ doxia-core/src/main/java/org/apache/maven/doxia/util/ 	doxia-core/src/test/java/org/apache/maven/doxia/util/ doxia-modules/doxia-module-xdoc</title>
<author><name>Dennis Lundberg &lt;dennisl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200905.mbox/%3c4A16D198.90901@apache.org%3e"/>
<id>urn:uuid:%3c4A16D198-90901@apache-org%3e</id>
<updated>2009-05-22T16:23:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Vincent Siveton wrote:
&gt; Hi Dennis,
&gt; 
&gt; 2009/5/19 Dennis Lundberg &lt;dennisl@apache.org&gt;:
&gt;&gt; Hi Vincent
&gt;&gt;
&gt;&gt; Can you please add back HtmlTools.unescapeHtml( String ), add a
&gt;&gt; @deprecated note for it and have it redirect to the new method?
&gt; 
&gt; I don't think it will be useful since it is a new method in 1.1.1 and
&gt; 1.1.1 has no release...

My bad, I thought it was the method that was introduced back in the
1.0-alphas.

&gt; 
&gt; Cheers,
&gt; 
&gt; Vincent
&gt; 


-- 
Dennis Lundberg


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r776294 - in /maven/doxia/doxia/trunk: doxia-core/src/main/java/org/apache/maven/doxia/parser/ doxia-core/src/main/java/org/apache/maven/doxia/util/ doxia-core/src/test/java/org/apache/maven/doxia/util/ doxia-modules/doxia-module-xdoc/src/m...</title>
<author><name>Lukas Theussl &lt;ltheussl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200905.mbox/%3c4A13DC2C.4050003@apache.org%3e"/>
<id>urn:uuid:%3c4A13DC2C-4050003@apache-org%3e</id>
<updated>2009-05-20T10:32:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi Dennis,

As Vincent said, this method was only added in 1.1.1.

OTOH, I have run clirr on the whole doxia codebase and after fixing a few issues, 
we are completely compatible with 1.1 now.

Only in doxia-maven-plugin I had to exclude some classes because clirr doesn't 
take into account the manipulations by the shade plugin, but absolutely nothing 
has changed there between 1.1 and 1.1.1. If anybody knows a better way to handle 
that, let me know.

Cheers,
-Lukas


Dennis Lundberg wrote:
&gt; Hi Vincent
&gt; 
&gt; Can you please add back HtmlTools.unescapeHtml( String ), add a
&gt; @deprecated note for it and have it redirect to the new method?
&gt; 
&gt; This is a public method of a public helper class in Doxia core. I don't
&gt; know if it used outside of Doxia, but we shouldn't just rename it for a
&gt; point release.
&gt; 
&gt; vsiveton@apache.org wrote:
&gt;&gt; Author: vsiveton
&gt;&gt; Date: Tue May 19 12:36:02 2009
&gt;&gt; New Revision: 776294
&gt;&gt;
&gt;&gt; URL: http://svn.apache.org/viewvc?rev=776294&amp;view=rev
&gt;&gt; Log:
&gt;&gt; o refactor unescapeHtml to unescapeHTML for consistency reason
&gt;&gt;
&gt;&gt; Modified:
&gt;&gt;     maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
&gt;&gt;     maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java
&gt;&gt;     maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/util/HtmlToolsTest.java
&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
&gt;&gt;
&gt;&gt; Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
&gt;&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java?rev=776294&amp;r1=776293&amp;r2=776294&amp;view=diff
&gt;&gt; ==============================================================================
&gt;&gt; --- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
(original)
&gt;&gt; +++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
Tue May 19 12:36:02 2009
&gt;&gt; @@ -395,7 +395,7 @@
&gt;&gt;              // TODO: the MXParser doesn't actually handle correctly surrogate char,
ie
&gt;&gt;              // if orignalText = "&amp;#x1d7ef;", text = "\ud7ef"
&gt;&gt;  
&gt;&gt; -            String unescaped = HtmlTools.unescapeHtml( text );
&gt;&gt; +            String unescaped = HtmlTools.unescapeHTML( text );
&gt;&gt;  
&gt;&gt;              // TODO: StringEscapeUtils.unescapeHtml returns unknown entities as
is,
&gt;&gt;              // they should be handled as one character as well
&gt;&gt;
&gt;&gt; Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java
&gt;&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java?rev=776294&amp;r1=776293&amp;r2=776294&amp;view=diff
&gt;&gt; ==============================================================================
&gt;&gt; --- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java
(original)
&gt;&gt; +++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java
Tue May 19 12:36:02 2009
&gt;&gt; @@ -207,7 +207,7 @@
&gt;&gt;       * @return a new unescaped &lt;code&gt;String&lt;/code&gt;, &lt;code&gt;null&lt;/code&gt;
if null string input.
&gt;&gt;       * @since 1.1.1.
&gt;&gt;       */
&gt;&gt; -    public static String unescapeHtml( String text )
&gt;&gt; +    public static String unescapeHTML( String text )
&gt;&gt;      {
&gt;&gt;          if ( text == null )
&gt;&gt;          {
&gt;&gt;
&gt;&gt; Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/util/HtmlToolsTest.java
&gt;&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/util/HtmlToolsTest.java?rev=776294&amp;r1=776293&amp;r2=776294&amp;view=diff
&gt;&gt; ==============================================================================
&gt;&gt; --- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/util/HtmlToolsTest.java
(original)
&gt;&gt; +++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/util/HtmlToolsTest.java
Tue May 19 12:36:02 2009
&gt;&gt; @@ -56,22 +56,22 @@
&gt;&gt;       */
&gt;&gt;      public void testUnescapeHTML()
&gt;&gt;      {
&gt;&gt; -        assertNull( HtmlTools.unescapeHtml( null ) );
&gt;&gt; -        assertEquals( "", HtmlTools.unescapeHtml( "" ) );
&gt;&gt; -        assertEquals( "&lt;", HtmlTools.unescapeHtml( "&amp;lt;" ) );
&gt;&gt; -        assertEquals( "&gt;", HtmlTools.unescapeHtml( "&amp;gt;" ) );
&gt;&gt; -        assertEquals( "&amp;", HtmlTools.unescapeHtml( "&amp;amp;" ) );
&gt;&gt; -        assertEquals( "\"", HtmlTools.unescapeHtml( "&amp;quot;" ) );
&gt;&gt; -        assertEquals( "&amp;amp;", HtmlTools.unescapeHtml( "&amp;amp;amp;" ) );
&gt;&gt; -        assertEquals( "&amp;lt;Fran&amp;ccedil;ais&amp;gt;", HtmlTools.unescapeHtml(
"&amp;amp;lt;Fran&amp;amp;ccedil;ais&amp;amp;gt;" ) );
&gt;&gt; -        assertEquals( "\u0159", HtmlTools.unescapeHtml( "&amp;#x159;" ) );
&gt;&gt; -        assertEquals( "\uD808\uDF45", HtmlTools.unescapeHtml( "&amp;#x12345;" )
);
&gt;&gt; -        assertEquals( "\uD835\uDFED", HtmlTools.unescapeHtml( "&amp;#x1d7ed;" )
);
&gt;&gt; -        assertEquals( "\uD808\uDF45\uD835\uDFED", HtmlTools.unescapeHtml( "&amp;#x12345;&amp;#x1d7ed;"
) );
&gt;&gt; +        assertNull( HtmlTools.unescapeHTML( null ) );
&gt;&gt; +        assertEquals( "", HtmlTools.unescapeHTML( "" ) );
&gt;&gt; +        assertEquals( "&lt;", HtmlTools.unescapeHTML( "&amp;lt;" ) );
&gt;&gt; +        assertEquals( "&gt;", HtmlTools.unescapeHTML( "&amp;gt;" ) );
&gt;&gt; +        assertEquals( "&amp;", HtmlTools.unescapeHTML( "&amp;amp;" ) );
&gt;&gt; +        assertEquals( "\"", HtmlTools.unescapeHTML( "&amp;quot;" ) );
&gt;&gt; +        assertEquals( "&amp;amp;", HtmlTools.unescapeHTML( "&amp;amp;amp;" ) );
&gt;&gt; +        assertEquals( "&amp;lt;Fran&amp;ccedil;ais&amp;gt;", HtmlTools.unescapeHTML(
"&amp;amp;lt;Fran&amp;amp;ccedil;ais&amp;amp;gt;" ) );
&gt;&gt; +        assertEquals( "\u0159", HtmlTools.unescapeHTML( "&amp;#x159;" ) );
&gt;&gt; +        assertEquals( "\uD808\uDF45", HtmlTools.unescapeHTML( "&amp;#x12345;" )
);
&gt;&gt; +        assertEquals( "\uD835\uDFED", HtmlTools.unescapeHTML( "&amp;#x1d7ed;" )
);
&gt;&gt; +        assertEquals( "\uD808\uDF45\uD835\uDFED", HtmlTools.unescapeHTML( "&amp;#x12345;&amp;#x1d7ed;"
) );
&gt;&gt;  
&gt;&gt;          try
&gt;&gt;          {
&gt;&gt; -            HtmlTools.unescapeHtml( "test &amp;#x1d7ed test" );
&gt;&gt; +            HtmlTools.unescapeHTML( "test &amp;#x1d7ed test" );
&gt;&gt;              assertTrue( false );
&gt;&gt;          }
&gt;&gt;          catch ( IllegalArgumentException e )
&gt;&gt;
&gt;&gt; Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
&gt;&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java?rev=776294&amp;r1=776293&amp;r2=776294&amp;view=diff
&gt;&gt; ==============================================================================
&gt;&gt; --- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
(original)
&gt;&gt; +++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
Tue May 19 12:36:02 2009
&gt;&gt; @@ -185,7 +185,7 @@
&gt;&gt;  
&gt;&gt;              sink.sectionTitle( Sink.SECTION_LEVEL_1, attribs );
&gt;&gt;  
&gt;&gt; -            sink.text( HtmlTools.unescapeHtml( parser.getAttributeValue( null, Attribute.NAME.toString()
) ) );
&gt;&gt; +            sink.text( HtmlTools.unescapeHTML( parser.getAttributeValue( null, Attribute.NAME.toString()
) ) );
&gt;&gt;  
&gt;&gt;              sink.sectionTitle1_();
&gt;&gt;          }
&gt;&gt; @@ -204,7 +204,7 @@
&gt;&gt;  
&gt;&gt;              sink.sectionTitle( Sink.SECTION_LEVEL_2, attribs );
&gt;&gt;  
&gt;&gt; -            sink.text( HtmlTools.unescapeHtml( parser.getAttributeValue( null, Attribute.NAME.toString()
) ) );
&gt;&gt; +            sink.text( HtmlTools.unescapeHTML( parser.getAttributeValue( null, Attribute.NAME.toString()
) ) );
&gt;&gt;  
&gt;&gt;              sink.sectionTitle2_();
&gt;&gt;          }
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt; 
&gt; 


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r776294 - in /maven/doxia/doxia/trunk:	doxia-core/src/main/java/org/apache/maven/doxia/parser/ doxia-core/src/main/java/org/apache/maven/doxia/util/	doxia-core/src/test/java/org/apache/maven/doxia/util/ doxia-modules/doxia-module-xdoc</title>
<author><name>Vincent Siveton &lt;vincent.siveton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200905.mbox/%3c9ae367340905191233h4e42bd1bib4620f7fa69efaed@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340905191233h4e42bd1bib4620f7fa69efaed@mail-gmail-com%3e</id>
<updated>2009-05-19T19:33:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Dennis,

2009/5/19 Dennis Lundberg &lt;dennisl@apache.org&gt;:
&gt; Hi Vincent
&gt;
&gt; Can you please add back HtmlTools.unescapeHtml( String ), add a
&gt; @deprecated note for it and have it redirect to the new method?

I don't think it will be useful since it is a new method in 1.1.1 and
1.1.1 has no release...

Cheers,

Vincent


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r776294 - in /maven/doxia/doxia/trunk: doxia-core/src/main/java/org/apache/maven/doxia/parser/ doxia-core/src/main/java/org/apache/maven/doxia/util/ doxia-core/src/test/java/org/apache/maven/doxia/util/ doxia-modules/doxia-module-xdoc/src/m...</title>
<author><name>Dennis Lundberg &lt;dennisl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200905.mbox/%3c4A130154.1080807@apache.org%3e"/>
<id>urn:uuid:%3c4A130154-1080807@apache-org%3e</id>
<updated>2009-05-19T18:58:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Vincent

Can you please add back HtmlTools.unescapeHtml( String ), add a
@deprecated note for it and have it redirect to the new method?

This is a public method of a public helper class in Doxia core. I don't
know if it used outside of Doxia, but we shouldn't just rename it for a
point release.

vsiveton@apache.org wrote:
&gt; Author: vsiveton
&gt; Date: Tue May 19 12:36:02 2009
&gt; New Revision: 776294
&gt; 
&gt; URL: http://svn.apache.org/viewvc?rev=776294&amp;view=rev
&gt; Log:
&gt; o refactor unescapeHtml to unescapeHTML for consistency reason
&gt; 
&gt; Modified:
&gt;     maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
&gt;     maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java
&gt;     maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/util/HtmlToolsTest.java
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
&gt; 
&gt; Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java?rev=776294&amp;r1=776293&amp;r2=776294&amp;view=diff
&gt; ==============================================================================
&gt; --- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
(original)
&gt; +++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
Tue May 19 12:36:02 2009
&gt; @@ -395,7 +395,7 @@
&gt;              // TODO: the MXParser doesn't actually handle correctly surrogate char,
ie
&gt;              // if orignalText = "&amp;#x1d7ef;", text = "\ud7ef"
&gt;  
&gt; -            String unescaped = HtmlTools.unescapeHtml( text );
&gt; +            String unescaped = HtmlTools.unescapeHTML( text );
&gt;  
&gt;              // TODO: StringEscapeUtils.unescapeHtml returns unknown entities as is,
&gt;              // they should be handled as one character as well
&gt; 
&gt; Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java
&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java?rev=776294&amp;r1=776293&amp;r2=776294&amp;view=diff
&gt; ==============================================================================
&gt; --- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java
(original)
&gt; +++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/HtmlTools.java
Tue May 19 12:36:02 2009
&gt; @@ -207,7 +207,7 @@
&gt;       * @return a new unescaped &lt;code&gt;String&lt;/code&gt;, &lt;code&gt;null&lt;/code&gt;
if null string input.
&gt;       * @since 1.1.1.
&gt;       */
&gt; -    public static String unescapeHtml( String text )
&gt; +    public static String unescapeHTML( String text )
&gt;      {
&gt;          if ( text == null )
&gt;          {
&gt; 
&gt; Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/util/HtmlToolsTest.java
&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/util/HtmlToolsTest.java?rev=776294&amp;r1=776293&amp;r2=776294&amp;view=diff
&gt; ==============================================================================
&gt; --- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/util/HtmlToolsTest.java
(original)
&gt; +++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/util/HtmlToolsTest.java
Tue May 19 12:36:02 2009
&gt; @@ -56,22 +56,22 @@
&gt;       */
&gt;      public void testUnescapeHTML()
&gt;      {
&gt; -        assertNull( HtmlTools.unescapeHtml( null ) );
&gt; -        assertEquals( "", HtmlTools.unescapeHtml( "" ) );
&gt; -        assertEquals( "&lt;", HtmlTools.unescapeHtml( "&amp;lt;" ) );
&gt; -        assertEquals( "&gt;", HtmlTools.unescapeHtml( "&amp;gt;" ) );
&gt; -        assertEquals( "&amp;", HtmlTools.unescapeHtml( "&amp;amp;" ) );
&gt; -        assertEquals( "\"", HtmlTools.unescapeHtml( "&amp;quot;" ) );
&gt; -        assertEquals( "&amp;amp;", HtmlTools.unescapeHtml( "&amp;amp;amp;" ) );
&gt; -        assertEquals( "&amp;lt;Fran&amp;ccedil;ais&amp;gt;", HtmlTools.unescapeHtml(
"&amp;amp;lt;Fran&amp;amp;ccedil;ais&amp;amp;gt;" ) );
&gt; -        assertEquals( "\u0159", HtmlTools.unescapeHtml( "&amp;#x159;" ) );
&gt; -        assertEquals( "\uD808\uDF45", HtmlTools.unescapeHtml( "&amp;#x12345;" ) );
&gt; -        assertEquals( "\uD835\uDFED", HtmlTools.unescapeHtml( "&amp;#x1d7ed;" ) );
&gt; -        assertEquals( "\uD808\uDF45\uD835\uDFED", HtmlTools.unescapeHtml( "&amp;#x12345;&amp;#x1d7ed;"
) );
&gt; +        assertNull( HtmlTools.unescapeHTML( null ) );
&gt; +        assertEquals( "", HtmlTools.unescapeHTML( "" ) );
&gt; +        assertEquals( "&lt;", HtmlTools.unescapeHTML( "&amp;lt;" ) );
&gt; +        assertEquals( "&gt;", HtmlTools.unescapeHTML( "&amp;gt;" ) );
&gt; +        assertEquals( "&amp;", HtmlTools.unescapeHTML( "&amp;amp;" ) );
&gt; +        assertEquals( "\"", HtmlTools.unescapeHTML( "&amp;quot;" ) );
&gt; +        assertEquals( "&amp;amp;", HtmlTools.unescapeHTML( "&amp;amp;amp;" ) );
&gt; +        assertEquals( "&amp;lt;Fran&amp;ccedil;ais&amp;gt;", HtmlTools.unescapeHTML(
"&amp;amp;lt;Fran&amp;amp;ccedil;ais&amp;amp;gt;" ) );
&gt; +        assertEquals( "\u0159", HtmlTools.unescapeHTML( "&amp;#x159;" ) );
&gt; +        assertEquals( "\uD808\uDF45", HtmlTools.unescapeHTML( "&amp;#x12345;" ) );
&gt; +        assertEquals( "\uD835\uDFED", HtmlTools.unescapeHTML( "&amp;#x1d7ed;" ) );
&gt; +        assertEquals( "\uD808\uDF45\uD835\uDFED", HtmlTools.unescapeHTML( "&amp;#x12345;&amp;#x1d7ed;"
) );
&gt;  
&gt;          try
&gt;          {
&gt; -            HtmlTools.unescapeHtml( "test &amp;#x1d7ed test" );
&gt; +            HtmlTools.unescapeHTML( "test &amp;#x1d7ed test" );
&gt;              assertTrue( false );
&gt;          }
&gt;          catch ( IllegalArgumentException e )
&gt; 
&gt; Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java?rev=776294&amp;r1=776293&amp;r2=776294&amp;view=diff
&gt; ==============================================================================
&gt; --- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
(original)
&gt; +++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocParser.java
Tue May 19 12:36:02 2009
&gt; @@ -185,7 +185,7 @@
&gt;  
&gt;              sink.sectionTitle( Sink.SECTION_LEVEL_1, attribs );
&gt;  
&gt; -            sink.text( HtmlTools.unescapeHtml( parser.getAttributeValue( null, Attribute.NAME.toString()
) ) );
&gt; +            sink.text( HtmlTools.unescapeHTML( parser.getAttributeValue( null, Attribute.NAME.toString()
) ) );
&gt;  
&gt;              sink.sectionTitle1_();
&gt;          }
&gt; @@ -204,7 +204,7 @@
&gt;  
&gt;              sink.sectionTitle( Sink.SECTION_LEVEL_2, attribs );
&gt;  
&gt; -            sink.text( HtmlTools.unescapeHtml( parser.getAttributeValue( null, Attribute.NAME.toString()
) ) );
&gt; +            sink.text( HtmlTools.unescapeHTML( parser.getAttributeValue( null, Attribute.NAME.toString()
) ) );
&gt;  
&gt;              sink.sectionTitle2_();
&gt;          }
&gt; 
&gt; 
&gt; 


-- 
Dennis Lundberg


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r769769 - in /maven/doxia/doxia/trunk: ./ doxia-book/ doxia-core/ doxia-logging-api/ doxia-maven-plugin/ doxia-modules/ doxia-modules/doxia-module-apt/ doxia-modules/doxia-module-confluence/ doxia-modules/doxia-module-docbook-simple/ doxia-...</title>
<author><name>Lukas Theussl &lt;ltheussl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200905.mbox/%3c4A0BFB73.70009@apache.org%3e"/>
<id>urn:uuid:%3c4A0BFB73-70009@apache-org%3e</id>
<updated>2009-05-14T11:07:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

It worked without hiccups this time. That's my favorite problem-solving-strategy: 
just sit and wait until it goes away! :)

Thanks for the pointers anyway!

-Lukas

PS just in case: the vote is open on the maven-dev list


Dennis Lundberg wrote:
&gt; Just wait a few minutes and the run 'mvn release:prepare' one more time.
&gt; It will pick up from where it stopped.
&gt; 
&gt; Lukas Theussl wrote:
&gt;&gt; I keep getting this error when running release:prepare:
&gt;&gt;
&gt;&gt;
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [ERROR] BUILD FAILURE
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [INFO] Unable to tag SCM
&gt;&gt; Provider message:
&gt;&gt; The svn tag command failed.
&gt;&gt; Command output:
&gt;&gt; svn: Commit failed (details follow):
&gt;&gt; svn: The specified baseline is not the latest baseline, so it may not be
&gt;&gt; checked out.
&gt;&gt;
&gt;&gt;
&gt;&gt; Raphael has reported the same problem with the archetype-plugin [1]. I
&gt;&gt; have also found some hints that it might be due to lagging sync of the
&gt;&gt; eu svn mirror so I switched back to https://svn.apache.org/ but still
&gt;&gt; get the same error.
&gt;&gt;
&gt;&gt; Anybody has some more hints? I'm giving up for now...
&gt;&gt;
&gt;&gt; -Lukas
&gt;&gt;
&gt;&gt;
&gt;&gt; [1] http://www.mail-archive.com/dev@maven.apache.org/msg80254.html
&gt;&gt;
&gt;&gt;
&gt;&gt; ltheussl@apache.org wrote:
&gt;&gt;&gt; Author: ltheussl
&gt;&gt;&gt; Date: Wed Apr 29 12:18:58 2009
&gt;&gt;&gt; New Revision: 769769
&gt;&gt;&gt;
&gt;&gt;&gt; URL: http://svn.apache.org/viewvc?rev=769769&amp;view=rev
&gt;&gt;&gt; Log:
&gt;&gt;&gt; Undo again, sigh...
&gt;&gt;&gt;
&gt;&gt;&gt; Modified:
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-book/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-core/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-logging-api/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/pom.xml
&gt;&gt;&gt;    
&gt;&gt;&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-docbook-simple/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-fml/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-latex/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-twiki/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-sink-api/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/doxia-test-docs/pom.xml
&gt;&gt;&gt;     maven/doxia/doxia/trunk/pom.xml
&gt;&gt;&gt;
&gt;&gt; [snip]
&gt;&gt;
&gt; 
&gt; 


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: entities: text or rawText?</title>
<author><name>Lukas Theussl &lt;ltheussl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200905.mbox/%3c4A0AB2BB.5030403@apache.org%3e"/>
<id>urn:uuid:%3c4A0AB2BB-5030403@apache-org%3e</id>
<updated>2009-05-13T11:44:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

For reference: the XhtmlBaseParser in Doxia 1.1.1 emits entities as text, except 
if they are not recognized (ie haven't been declared), then they are emitted as 
unknown events.

-Lukas


Vincent Siveton wrote:
&gt; Hi Lukas,
&gt; 
&gt; 2009/5/4 Lukas Theussl &lt;ltheussl@apache.org&gt;:
&gt;&gt; Vincent,
&gt;&gt;
&gt;&gt; I'm trying to understand some of the issues we have with entities in the
&gt;&gt; XmlParser. Is there a special reason why entities are emitted as rawText and
&gt;&gt; not text?
&gt; 
&gt; The text used by XhtmlBaseParser#handleEntity() could contain
&gt; predefined entities [1] and numeric code entities (ie &amp;AElig; will
&gt; become &amp;#198; by XmlPullParser)
&gt; XhtmlBaseSink#text() escapes chars and XhtmlBaseSink#rawText() not.
&gt; 
&gt; So using rawText() is to be sure to not escape text with entities.
&gt; 
&gt;&gt; I think they should be emitted as text:
&gt;&gt;
&gt;&gt; First, custom entities can be used to simply define some replacement text
&gt;&gt; inside documents (eg &lt;!ENTITY version "1.0"&gt;).
&gt;&gt;
&gt;&gt; Second, the resulting events should be consumable by all sinks, not just
&gt;&gt; x(ht)ml based ones. Consider for instance the text "&amp;amp;&amp;AElig;" (where
&gt;&gt; AElig is defined as &lt;!ENTITY AElig  "&amp;#198;"&gt;). Currently it is emitted
by
&gt;&gt; the XhtmlBaseParser as one text event "&amp;" and one rawText event "&amp;#198;".
&gt;&gt; This means that eg the Latex Sink will produce wrong output (the AElig
&gt;&gt; should be converted to "\AE" in latex).
&gt;&gt;
&gt;&gt; IMO the resolved entity should be emitted in a format-independent way, eg as
&gt;&gt; one (unicode?) character, just like &amp;amp; is emitted as one character above.
&gt;&gt; The consuming sink then has to transform that into a format-specific
&gt;&gt; representation.
&gt; 
&gt; It could be another implementation.
&gt; XhtmlBaseParser#handleEntity() could unescape xml and call only sink.text()
&gt; 
&gt; Cheers,
&gt; 
&gt; Vincent
&gt; 
&gt; [1] http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-predefined-ent
&gt; 


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: entities: text or rawText?</title>
<author><name>Vincent Siveton &lt;vincent.siveton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200905.mbox/%3c9ae367340905040357v2d2dd2fapfd5200289c723f09@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340905040357v2d2dd2fapfd5200289c723f09@mail-gmail-com%3e</id>
<updated>2009-05-04T10:57:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Lukas,

2009/5/4 Lukas Theussl &lt;ltheussl@apache.org&gt;:
&gt;
&gt; Vincent,
&gt;
&gt; I'm trying to understand some of the issues we have with entities in the
&gt; XmlParser. Is there a special reason why entities are emitted as rawText and
&gt; not text?

The text used by XhtmlBaseParser#handleEntity() could contain
predefined entities [1] and numeric code entities (ie &amp;AElig; will
become &amp;#198; by XmlPullParser)
XhtmlBaseSink#text() escapes chars and XhtmlBaseSink#rawText() not.

So using rawText() is to be sure to not escape text with entities.

&gt; I think they should be emitted as text:
&gt;
&gt; First, custom entities can be used to simply define some replacement text
&gt; inside documents (eg &lt;!ENTITY version "1.0"&gt;).
&gt;
&gt; Second, the resulting events should be consumable by all sinks, not just
&gt; x(ht)ml based ones. Consider for instance the text "&amp;amp;&amp;AElig;" (where
&gt; AElig is defined as &lt;!ENTITY AElig  "&amp;#198;"&gt;). Currently it is emitted by
&gt; the XhtmlBaseParser as one text event "&amp;" and one rawText event "&amp;#198;".
&gt; This means that eg the Latex Sink will produce wrong output (the AElig
&gt; should be converted to "\AE" in latex).
&gt;
&gt; IMO the resolved entity should be emitted in a format-independent way, eg as
&gt; one (unicode?) character, just like &amp;amp; is emitted as one character above.
&gt; The consuming sink then has to transform that into a format-specific
&gt; representation.

It could be another implementation.
XhtmlBaseParser#handleEntity() could unescape xml and call only sink.text()

Cheers,

Vincent

[1] http://www.w3.org/TR/2004/REC-xml11-20040204/#sec-predefined-ent


</pre>
</div>
</content>
</entry>
<entry>
<title>entities: text or rawText?</title>
<author><name>Lukas Theussl &lt;ltheussl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200905.mbox/%3c49FEB9B5.2090507@apache.org%3e"/>
<id>urn:uuid:%3c49FEB9B5-2090507@apache-org%3e</id>
<updated>2009-05-04T09:47:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Vincent,

I'm trying to understand some of the issues we have with entities in the 
XmlParser. Is there a special reason why entities are emitted as rawText and not text?

I think they should be emitted as text:

First, custom entities can be used to simply define some replacement text inside 
documents (eg &lt;!ENTITY version "1.0"&gt;).

Second, the resulting events should be consumable by all sinks, not just x(ht)ml 
based ones. Consider for instance the text "&amp;amp;&amp;AElig;" (where AElig is defined

as &lt;!ENTITY AElig  "&amp;#198;"&gt;). Currently it is emitted by the XhtmlBaseParser as

one text event "&amp;" and one rawText event "&amp;#198;". This means that eg the Latex 
Sink will produce wrong output (the AElig should be converted to "\AE" in latex).

IMO the resolved entity should be emitted in a format-independent way, eg as one 
(unicode?) character, just like &amp;amp; is emitted as one character above. The 
consuming sink then has to transform that into a format-specific representation.

WDYT?
-Lukas




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r769769 - in /maven/doxia/doxia/trunk: ./ doxia-book/ doxia-core/ doxia-logging-api/ doxia-maven-plugin/ doxia-modules/ doxia-modules/doxia-module-apt/ doxia-modules/doxia-module-confluence/ doxia-modules/doxia-module-docbook-simple/ doxia-...</title>
<author><name>Dennis Lundberg &lt;dennisl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200905.mbox/%3c49FCAB30.6080902@apache.org%3e"/>
<id>urn:uuid:%3c49FCAB30-6080902@apache-org%3e</id>
<updated>2009-05-02T20:21:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Just wait a few minutes and the run 'mvn release:prepare' one more time.
It will pick up from where it stopped.

Lukas Theussl wrote:
&gt; 
&gt; I keep getting this error when running release:prepare:
&gt; 
&gt; 
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [ERROR] BUILD FAILURE
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [INFO] Unable to tag SCM
&gt; Provider message:
&gt; The svn tag command failed.
&gt; Command output:
&gt; svn: Commit failed (details follow):
&gt; svn: The specified baseline is not the latest baseline, so it may not be
&gt; checked out.
&gt; 
&gt; 
&gt; Raphael has reported the same problem with the archetype-plugin [1]. I
&gt; have also found some hints that it might be due to lagging sync of the
&gt; eu svn mirror so I switched back to https://svn.apache.org/ but still
&gt; get the same error.
&gt; 
&gt; Anybody has some more hints? I'm giving up for now...
&gt; 
&gt; -Lukas
&gt; 
&gt; 
&gt; [1] http://www.mail-archive.com/dev@maven.apache.org/msg80254.html
&gt; 
&gt; 
&gt; ltheussl@apache.org wrote:
&gt;&gt; Author: ltheussl
&gt;&gt; Date: Wed Apr 29 12:18:58 2009
&gt;&gt; New Revision: 769769
&gt;&gt;
&gt;&gt; URL: http://svn.apache.org/viewvc?rev=769769&amp;view=rev
&gt;&gt; Log:
&gt;&gt; Undo again, sigh...
&gt;&gt;
&gt;&gt; Modified:
&gt;&gt;     maven/doxia/doxia/trunk/doxia-book/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-core/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-logging-api/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/pom.xml
&gt;&gt;    
&gt;&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-docbook-simple/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-fml/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-latex/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-twiki/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-modules/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-sink-api/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/doxia-test-docs/pom.xml
&gt;&gt;     maven/doxia/doxia/trunk/pom.xml
&gt;&gt;
&gt; 
&gt; [snip]
&gt; 


-- 
Dennis Lundberg


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r769769 - in /maven/doxia/doxia/trunk: ./ doxia-book/ doxia-core/ doxia-logging-api/ doxia-maven-plugin/ doxia-modules/ doxia-modules/doxia-module-apt/ doxia-modules/doxia-module-confluence/ doxia-modules/doxia-module-docbook-simple/ doxia-...</title>
<author><name>Benjamin Bentmann &lt;benjamin.bentmann@udo.edu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200904.mbox/%3c49F8C3DB.4070601@udo.edu%3e"/>
<id>urn:uuid:%3c49F8C3DB-4070601@udo-edu%3e</id>
<updated>2009-04-29T21:17:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Lukas Theussl wrote:

&gt; Raphael has reported the same problem with the archetype-plugin [1]. I 
&gt; have also found some hints that it might be due to lagging sync of the 
&gt; eu svn mirror so I switched back to https://svn.apache.org/ but still 
&gt; get the same error.

AFAIK, since recently svn.apache.org is resolved using geo DNS [0] so 
you likely still get the EU mirror with the lagging problem.

&gt; Anybody has some more hints? I'm giving up for now...

I haven't tried with SVN but if you relocate your working copy to 
eris.apache.org, i.e. use the machine name rather the service name, you 
should enforce the master instead of harmonia. That's at least what I 
see from tracert.


Benjamin


[0] 
http://mail-archives.apache.org/mod_mbox/www-infrastructure-dev/200904.mbox/%3C4239a4320904011536x5726d0eraae7065967ac1b77@mail.gmail.com%3E


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r769769 - in /maven/doxia/doxia/trunk: ./ doxia-book/	doxia-core/ doxia-logging-api/ doxia-maven-plugin/ doxia-modules/	doxia-modules/doxia-module-apt/ doxia-modules/doxia-module-confluence/	doxia-modules/doxia-module-docbook-simple/</title>
<author><name>Vincent Siveton &lt;vincent.siveton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200904.mbox/%3c9ae367340904290553s71b5faf7md64b002ff2b79628@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340904290553s71b5faf7md64b002ff2b79628@mail-gmail-com%3e</id>
<updated>2009-04-29T12:53:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Be sure to do a svn update before running maven
BTW you could always reprepare the process.

Cheers,

Vincent

2009/4/29, Lukas Theussl &lt;ltheussl@apache.org&gt;:
&gt;
&gt;  I keep getting this error when running release:prepare:
&gt;
&gt;
&gt;  [INFO]
&gt; ------------------------------------------------------------------------
&gt;  [ERROR] BUILD FAILURE
&gt;  [INFO]
&gt; ------------------------------------------------------------------------
&gt;  [INFO] Unable to tag SCM
&gt;  Provider message:
&gt;  The svn tag command failed.
&gt;  Command output:
&gt;  svn: Commit failed (details follow):
&gt;  svn: The specified baseline is not the latest baseline, so it may not be
&gt; checked out.
&gt;
&gt;
&gt;  Raphael has reported the same problem with the archetype-plugin [1]. I have
&gt; also found some hints that it might be due to lagging sync of the eu svn
&gt; mirror so I switched back to https://svn.apache.org/ but still get the same
&gt; error.
&gt;
&gt;  Anybody has some more hints? I'm giving up for now...
&gt;
&gt;  -Lukas
&gt;
&gt;
&gt;  [1]
&gt; http://www.mail-archive.com/dev@maven.apache.org/msg80254.html
&gt;
&gt;
&gt;
&gt;  ltheussl@apache.org wrote:
&gt;
&gt; &gt; Author: ltheussl
&gt; &gt; Date: Wed Apr 29 12:18:58 2009
&gt; &gt; New Revision: 769769
&gt; &gt;
&gt; &gt; URL: http://svn.apache.org/viewvc?rev=769769&amp;view=rev
&gt; &gt; Log:
&gt; &gt; Undo again, sigh...
&gt; &gt;
&gt; &gt; Modified:
&gt; &gt;    maven/doxia/doxia/trunk/doxia-book/pom.xml
&gt; &gt;    maven/doxia/doxia/trunk/doxia-core/pom.xml
&gt; &gt;    maven/doxia/doxia/trunk/doxia-logging-api/pom.xml
&gt; &gt;    maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
&gt; &gt;
&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/pom.xml
&gt; &gt;
&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/pom.xml
&gt; &gt;
&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-docbook-simple/pom.xml
&gt; &gt;
&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-fml/pom.xml
&gt; &gt;
&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/pom.xml
&gt; &gt;
&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/pom.xml
&gt; &gt;
&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-latex/pom.xml
&gt; &gt;
&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/pom.xml
&gt; &gt;
&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-twiki/pom.xml
&gt; &gt;
&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/pom.xml
&gt; &gt;
&gt; maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/pom.xml
&gt; &gt;    maven/doxia/doxia/trunk/doxia-modules/pom.xml
&gt; &gt;    maven/doxia/doxia/trunk/doxia-sink-api/pom.xml
&gt; &gt;    maven/doxia/doxia/trunk/doxia-test-docs/pom.xml
&gt; &gt;    maven/doxia/doxia/trunk/pom.xml
&gt; &gt;
&gt; &gt;
&gt;
&gt;  [snip]
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r769769 - in /maven/doxia/doxia/trunk: ./ doxia-book/ doxia-core/ doxia-logging-api/ doxia-maven-plugin/ doxia-modules/ doxia-modules/doxia-module-apt/ doxia-modules/doxia-module-confluence/ doxia-modules/doxia-module-docbook-simple/ doxia-...</title>
<author><name>Lukas Theussl &lt;ltheussl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200904.mbox/%3c49F8485F.8020200@apache.org%3e"/>
<id>urn:uuid:%3c49F8485F-8020200@apache-org%3e</id>
<updated>2009-04-29T12:30:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

I keep getting this error when running release:prepare:


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: The specified baseline is not the latest baseline, so it may not be checked out.


Raphael has reported the same problem with the archetype-plugin [1]. I have also 
found some hints that it might be due to lagging sync of the eu svn mirror so I 
switched back to https://svn.apache.org/ but still get the same error.

Anybody has some more hints? I'm giving up for now...

-Lukas


[1] http://www.mail-archive.com/dev@maven.apache.org/msg80254.html


ltheussl@apache.org wrote:
&gt; Author: ltheussl
&gt; Date: Wed Apr 29 12:18:58 2009
&gt; New Revision: 769769
&gt; 
&gt; URL: http://svn.apache.org/viewvc?rev=769769&amp;view=rev
&gt; Log:
&gt; Undo again, sigh...
&gt; 
&gt; Modified:
&gt;     maven/doxia/doxia/trunk/doxia-book/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-core/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-logging-api/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-apt/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-docbook-simple/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-fml/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-latex/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-rtf/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-twiki/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-modules/doxia-module-xhtml/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-modules/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-sink-api/pom.xml
&gt;     maven/doxia/doxia/trunk/doxia-test-docs/pom.xml
&gt;     maven/doxia/doxia/trunk/pom.xml
&gt; 

[snip]


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: surefire forkMode setting</title>
<author><name>Vincent Siveton &lt;vincent.siveton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200904.mbox/%3c9ae367340904030340x17c93581ic2bdac94a4cb291b@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340904030340x17c93581ic2bdac94a4cb291b@mail-gmail-com%3e</id>
<updated>2009-04-03T10:40:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Go ahead.

Cheers,

Vincent

2009/4/3 Lukas Theussl &lt;ltheussl@apache.org&gt;:
&gt;
&gt; Hi,
&gt;
&gt; Is there any reason why we have this setting in the doxia parent pom:
&gt;
&gt;        &lt;plugin&gt;
&gt;          &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
&gt;          &lt;configuration&gt;
&gt;            &lt;forkMode&gt;never&lt;/forkMode&gt;
&gt;          &lt;/configuration&gt;
&gt;        &lt;/plugin&gt;
&gt;
&gt;
&gt;
&gt; I just noticed that this is the cause of cobertura reporting 0% coverage
&gt; everywhere, see eg [1] (this is the same as reported at [2]). Leaving the
&gt; forkMode at once (the default), cobertura works correctly. Any objections to
&gt; remove that part?
&gt;
&gt; -Lukas
&gt;
&gt;
&gt; [1] http://maven.apache.org/doxia/doxia/doxia-core/cobertura/index.html
&gt; [2] http://jira.codehaus.org/browse/MCOBERTURA-70
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>surefire forkMode setting</title>
<author><name>Lukas Theussl &lt;ltheussl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200904.mbox/%3c49D5B751.2020906@apache.org%3e"/>
<id>urn:uuid:%3c49D5B751-2020906@apache-org%3e</id>
<updated>2009-04-03T07:14:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

Is there any reason why we have this setting in the doxia parent pom:

         &lt;plugin&gt;
           &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
           &lt;configuration&gt;
             &lt;forkMode&gt;never&lt;/forkMode&gt;
           &lt;/configuration&gt;
         &lt;/plugin&gt;



I just noticed that this is the cause of cobertura reporting 0% coverage 
everywhere, see eg [1] (this is the same as reported at [2]). Leaving the forkMode 
at once (the default), cobertura works correctly. Any objections to remove that part?

-Lukas


[1] http://maven.apache.org/doxia/doxia/doxia-core/cobertura/index.html
[2] http://jira.codehaus.org/browse/MCOBERTURA-70


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Merging with XWiki and WikiModel</title>
<author><name>Vincent Massol &lt;vincent@massol.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200903.mbox/%3c636AD670-AC66-4739-BCAD-1C761FB80891@massol.net%3e"/>
<id>urn:uuid:%3c636AD670-AC66-4739-BCAD-1C761FB80891@massol-net%3e</id>
<updated>2009-03-08T20:22:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Herve,

On Mar 8, 2009, at 2:53 PM, Hervé BOUTEMY wrote:

&gt; Vincent,
&gt;
&gt; After our discussion on IRC, I perfectly understand how we could  
&gt; benefit from
&gt; convergence in the domain of document parsing and rendering, with the
&gt; advantage of not only more developpers, but more users too, then  
&gt; more tests.

yep.

Regarding tests we have more than 900 unit tests overall for the XWiki  
Rendering engine. This is absolutely needed because parsing/rendering  
seems an easy task but it's really complex when you tackle edge cases.  
We would never have been able to code a strong bi-directional wiki &lt;-- 
 &gt; XHTML conversion without these tests.

&gt; Vincent Siveton did a great job with an Eclipse plugin that was  
&gt; integrated in
&gt; m2eclipse, but:
&gt; - this is only Eclipse-centric, how about other IDE's?
&gt; - it would still need a lot of work to continue improve it (it  
&gt; actually helps
&gt; me a lot when editing pages, no show-stopper bugs: only minor things)
&gt;&gt;   - our brand new GWT-based WYSIWYG editor
&gt; Is there something in XWiki to help editing pages that are on local  
&gt; disk (and
&gt; stored in svn)?

There's a Storage interface. Currently we have one implementation for  
Hibernate and another for JCR. It's possible to add one SVN but nobody  
has been working on this.
Re local disk, I guess the JCR implementation could be used for that.

&gt; Would this GWT-based WYSIWYG editor help here? Or is it only
&gt; web-centric?

The WYSIWYG editor is a web-based editor of course but it takes its  
content from any XHTML content (which can be generated by the XWiki  
Rendering from any source).

Thanks
-Vincent

&gt; Regards,
&gt;
&gt; Hervé
&gt;
&gt; Le lundi 02 février 2009, Vincent Massol a écrit :
&gt;&gt; Hi there,
&gt;&gt;
&gt;&gt; On Jan 31, 2009, at 12:04 AM, Vincent Siveton wrote:
&gt;&gt;&gt; Hi Jason,
&gt;&gt;&gt;
&gt;&gt;&gt; 2009/1/29 Jason van Zyl &lt;jason@maven.org&gt;:
&gt;&gt;&gt;&gt; Howdy,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I've been looking at reporting in Maven 3.x and I've been following
&gt;&gt;&gt;&gt; the work
&gt;&gt;&gt;&gt; that Vincent Massol has been doing over at XWiki where he has made
&gt;&gt;&gt;&gt; some
&gt;&gt;&gt;&gt; attempts at melding Doxia, the XWiki rendering engine, and
&gt;&gt;&gt;&gt; WikiModel. You
&gt;&gt;&gt;&gt; can see the proposal here:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; http://dev.xwiki.org/xwiki/bin/view/Design/RenderingEngineConvergence
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I am looking to remove the Doxia dependency from Maven 3.x so that
&gt;&gt;&gt;&gt; reporting
&gt;&gt;&gt;&gt; is removed from core and just becomes another set of components.
&gt;&gt;&gt;&gt; Having
&gt;&gt;&gt;
&gt;&gt;&gt; I definitely agree to decouple Maven from Doxia, or conversely :)
&gt;&gt;&gt; We actually have a lot of problems due to this coupling, see  
&gt;&gt;&gt; MNG-3402.
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Doxia coupled to Maven is not very nice so in the next couple
&gt;&gt;&gt;&gt; releases of
&gt;&gt;&gt;&gt; the Maven 3.x alphas the hard dependency on Doxia will be removed.
&gt;&gt;&gt;&gt; This will
&gt;&gt;&gt;&gt; open the door for anyone who wants to add a different mechanism.
&gt;&gt;&gt;&gt; Doxia
&gt;&gt;&gt;&gt; reports will still work, I'm not planning on removing the
&gt;&gt;&gt;&gt; functionality just
&gt;&gt;&gt;&gt; unbinding it from the core. But that opens the door for something
&gt;&gt;&gt;&gt; new!
&gt;&gt;&gt;
&gt;&gt;&gt; Some questions to clarify what you have in mind:
&gt;&gt;&gt; - how do you plan to integrate reporting concretely to Maven 3?
&gt;&gt;&gt; - what about the backward compatibility in the reporting plugins?
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; What I personally think the best path would be is to help what
&gt;&gt;&gt;&gt; Vincent has
&gt;&gt;&gt;&gt; started. There are really only three people here who work on Doxia,
&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt; releases are very slow in coming and I think you would immediately
&gt;&gt;&gt;&gt; double or
&gt;&gt;&gt;
&gt;&gt;&gt; Agree but we work when we have time :)
&gt;&gt;&gt; @Dennis: what are your availabilities to release the version 1.0?
&gt;&gt;&gt; After this release, 1.1 could be out, IMHO all stuffs are there.
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; triple the size of the team merging with the XWiki folks and
&gt;&gt;&gt;&gt; getting the
&gt;&gt;&gt;&gt; WikiModel developer as well. This is what the XWiki folks do all
&gt;&gt;&gt;&gt; the time
&gt;&gt;&gt;&gt; and I think you would get some more velocity in the progress of the
&gt;&gt;&gt;&gt; project
&gt;&gt;&gt;&gt; as a whole. Vincent is using Plexus for his stuff so it's not that
&gt;&gt;&gt;&gt; wildly
&gt;&gt;&gt;&gt; different but I think you would get more visibility over there and
&gt;&gt;&gt;&gt; a higher
&gt;&gt;&gt;
&gt;&gt;&gt; The xwiki proposal seems to move the Doxia code to the xwiki  
&gt;&gt;&gt; umbrella,
&gt;&gt;&gt; so do you plan to do it?
&gt;&gt;&gt;
&gt;&gt;&gt; @Vincent, could you clarify why a fork is not possible for you?
&gt;&gt;
&gt;&gt; Let me explain the point of view of the xwiki community (I hope I'm
&gt;&gt; summarizing it well here):
&gt;&gt;
&gt;&gt; * XWiki is not a wiki. It's a platform offering wiki components to
&gt;&gt; develop any type of content-centric web application based on the wiki
&gt;&gt; paradigm.
&gt;&gt;
&gt;&gt; * We've started reorganizing ourselves to implement this vision back
&gt;&gt; in 2007. We've started by decoupling our monolithic code into modules
&gt;&gt; and components (using Plexus).
&gt;&gt;
&gt;&gt; * We're not finding that there are some important pieces that we want
&gt;&gt; to make top level projects, independent of the other xwiki modules/
&gt;&gt; components. For the moment we have identified 2 pieces:
&gt;&gt;   - the rendering engine
&gt;&gt;   - our brand new GWT-based WYSIWYG editor
&gt;&gt;
&gt;&gt; * We could propose these under new projects at the ASF for example.
&gt;&gt; These are the reasons preventing us from doing so right now:
&gt;&gt;   - we'd like to promote the XWiki project name as the place where to
&gt;&gt; get wiki "components". If we start splitting the rendering engine or
&gt;&gt; the wysiwyg editor we won't achieve this
&gt;&gt;   - having to implement and support several projects (the xwiki one +
&gt;&gt; the engine one at ASF + the wysiwyg one wherever else
&gt;&gt; (@code.google.org for ex)) is going to spread our committer base thin
&gt;&gt; achieving the opposite as what we want to achieve which is making all
&gt;&gt; people interested on working on wiki "components" together.
&gt;&gt;   - we have a very good infrastructure team and we completely host
&gt;&gt; all our tools. We like it this way since it's real fast and it works
&gt;&gt; real well and we can only complain to ourselves if something is not
&gt;&gt; right and we can fix it right away. Note that the infra is paid by
&gt;&gt; XWiki SAS (a company offering services on top of the xwiki oss  
&gt;&gt; project
&gt;&gt; - See http://tinyurl.com/7c488p for more details)
&gt;&gt; - basically we can work faster if the code is on the xwiki svn
&gt;&gt;
&gt;&gt; It's possible that one day we'll propose the whole project to the ASF
&gt;&gt; but I don't think we're ready for that yet. For the moment we like it
&gt;&gt; the way we are able to progress fast and we don't feel the need.
&gt;&gt;
&gt;&gt; Note that xwiki projects are currently under the LGPL but we can
&gt;&gt; discuss making the new rendering engine (which would be the merge
&gt;&gt; between doxia, xwiki and wikimodel ) under the ASL if you feel this  
&gt;&gt; is
&gt;&gt; better.
&gt;&gt;
&gt;&gt; Now why are we interested in merging them all? Actually that wasn't
&gt;&gt; our idea. It was Jason's. We were fine developing and progressing  
&gt;&gt; fast
&gt;&gt; on our own xwiki rendering engine. But at the same time it's true  
&gt;&gt; that
&gt;&gt; I've realized it was a pity that XWiki/WikiModel and Doxia are re-
&gt;&gt; developing the same things instead of collaborating and working on
&gt;&gt; building something together. So I see 2 win-win advantages for us  
&gt;&gt; all:
&gt;&gt; - for Doxia this can be a way to make it live on and be active again,
&gt;&gt; with even more features and better support
&gt;&gt; - for XWiki we would love to get some new committers on board to help
&gt;&gt; us with the rendering engine (we currently have about 3 committers
&gt;&gt; active on it either full time or part time). In addition the merge
&gt;&gt; between these 3 engines (xwiki/wikimodel/doxia) would create a new
&gt;&gt; rendering engine that could easily be the best rendering engine on  
&gt;&gt; the
&gt;&gt; web. For us one advantage would be to spread the xwiki name even more
&gt;&gt; and thus get more contributors and users of the xwiki "components"  
&gt;&gt; and
&gt;&gt; applications.
&gt;&gt;
&gt;&gt; Last, while I see it very interesting to everyone to perform this
&gt;&gt; merge, I can understand if some people would prefer to continue
&gt;&gt; working on what they do on their side without merging. That's fine  
&gt;&gt; and
&gt;&gt; I'm not going to fight for doing the merge at all cost. Especially
&gt;&gt; since doing the merge is going to be costly for us in term of time/
&gt;&gt; effort. For it to be worthwhile we must all agree to it and like the
&gt;&gt; idea.
&gt;&gt;
&gt;&gt; So what happens if the merge isn't done? On the xwiki side we'll
&gt;&gt; continue to improve our rendering engine fast (we're progressing very
&gt;&gt; fast right now since we have very active committers and since the
&gt;&gt; rendering is actively used in all the xwiki applications this will
&gt;&gt; continue). Even though we have a Doxia bridge we're not using it for
&gt;&gt; different reasons but one of them is that the Doxia parsers we've
&gt;&gt; tried were not good enough. I remember trying the confluence one and
&gt;&gt; it was very buggy. So I was just waiting for the need to use the
&gt;&gt; confluence parser to arise before rewriting it using wikimodel  
&gt;&gt; (it's a
&gt;&gt; one day job at max to get a very strong parser, thanks to wikimodel
&gt;&gt; tools).
&gt;&gt;
&gt;&gt; Merging has its share or work required on both sides but it's the  
&gt;&gt; best
&gt;&gt; option in the end IMO. Now it's for you to decide if this has enough
&gt;&gt; interest for Doxia.
&gt;&gt;
&gt;&gt; Cheers,
&gt;&gt; -Vincent
&gt;&gt;
&gt;&gt; PS: If you want to see how the xwiki project is managed read
&gt;&gt; http://tinyurl.com/7c488p and go to http://dev.xwiki.org which  
&gt;&gt; contains all
&gt;&gt; our dev practices
&gt;&gt;
&gt;&gt;&gt; Cheers,
&gt;&gt;&gt;
&gt;&gt;&gt; Vincent
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; degree of collaboration. I think you would also get a model that is
&gt;&gt;&gt;&gt; more
&gt;&gt;&gt;&gt; complete for things like blogs, wikis, and books.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Any thoughts? I've CC'd Vincent too as I'm not sure he's on this
&gt;&gt;&gt;&gt; list.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Thanks,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Jason
&gt;
&gt;



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Merging with XWiki and WikiModel</title>
<author><name>=?iso-8859-1?q?Herv=E9_BOUTEMY?= &lt;herve.boutemy@free.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200903.mbox/%3c200903081504.14917.herve.boutemy@free.fr%3e"/>
<id>urn:uuid:%3c200903081504-14917-herve-boutemy@free-fr%3e</id>
<updated>2009-03-08T14:04:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'm cross-posting this between Doxia and Maven dev lists, because this has 
both interests.

Le samedi 31 janvier 2009, Jason van Zyl a écrit :
&gt; On 30-Jan-09, at 3:04 PM, Vincent Siveton wrote:
&gt; &gt; Hi Jason,
&gt; &gt;
&gt; &gt; 2009/1/29 Jason van Zyl &lt;jason@maven.org&gt;:
&gt; &gt;&gt; Howdy,
&gt; &gt;&gt;
&gt; &gt;&gt; I've been looking at reporting in Maven 3.x and I've been following
&gt; &gt;&gt; the work
&gt; &gt;&gt; that Vincent Massol has been doing over at XWiki where he has made
&gt; &gt;&gt; some
&gt; &gt;&gt; attempts at melding Doxia, the XWiki rendering engine, and
&gt; &gt;&gt; WikiModel. You
&gt; &gt;&gt; can see the proposal here:
&gt; &gt;&gt;
&gt; &gt;&gt; http://dev.xwiki.org/xwiki/bin/view/Design/RenderingEngineConvergence
&gt; &gt;&gt;
&gt; &gt;&gt; I am looking to remove the Doxia dependency from Maven 3.x so that
&gt; &gt;&gt; reporting
&gt; &gt;&gt; is removed from core and just becomes another set of components.
&gt; &gt;&gt; Having
&gt; &gt;
&gt; &gt; I definitely agree to decouple Maven from Doxia, or conversely :)
&gt; &gt; We actually have a lot of problems due to this coupling, see MNG-3402.
&gt; &gt;
&gt; &gt;&gt; Doxia coupled to Maven is not very nice so in the next couple
&gt; &gt;&gt; releases of
&gt; &gt;&gt; the Maven 3.x alphas the hard dependency on Doxia will be removed.
&gt; &gt;&gt; This will
&gt; &gt;&gt; open the door for anyone who wants to add a different mechanism.
&gt; &gt;&gt; Doxia
&gt; &gt;&gt; reports will still work, I'm not planning on removing the
&gt; &gt;&gt; functionality just
&gt; &gt;&gt; unbinding it from the core. But that opens the door for something
&gt; &gt;&gt; new!
&gt; &gt;
&gt; &gt; Some questions to clarify what you have in mind:
&gt; &gt; - how do you plan to integrate reporting concretely to Maven 3?
&gt;
&gt; As a completely separate execution environment. So the plugin manager
&gt; in 3.x will only deal with build plugins. Then a separate plugin
&gt; manager can be created for Doxia based reports and those will map to
&gt; the current reporting element. Then I would like to create another
&gt; execution environment for a more data centric report model.
the idea is interesting.
Is there something somewhere on this? How can I help?
The key plugin is maven-site-plugin: a new branch?

Regards,

Hervé


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Merging with XWiki and WikiModel</title>
<author><name>=?iso-8859-1?q?Herv=E9_BOUTEMY?= &lt;herve.boutemy@free.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200903.mbox/%3c200903081453.48566.herve.boutemy@free.fr%3e"/>
<id>urn:uuid:%3c200903081453-48566-herve-boutemy@free-fr%3e</id>
<updated>2009-03-08T13:53:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Vincent,

After our discussion on IRC, I perfectly understand how we could benefit from 
convergence in the domain of document parsing and rendering, with the 
advantage of not only more developpers, but more users too, then more tests.

Vincent Siveton did a great job with an Eclipse plugin that was integrated in 
m2eclipse, but:
- this is only Eclipse-centric, how about other IDE's?
- it would still need a lot of work to continue improve it (it actually helps 
me a lot when editing pages, no show-stopper bugs: only minor things)
&gt;    - our brand new GWT-based WYSIWYG editor
Is there something in XWiki to help editing pages that are on local disk (and 
stored in svn)? Would this GWT-based WYSIWYG editor help here? Or is it only 
web-centric?

Regards,

Hervé

Le lundi 02 février 2009, Vincent Massol a écrit :
&gt; Hi there,
&gt;
&gt; On Jan 31, 2009, at 12:04 AM, Vincent Siveton wrote:
&gt; &gt; Hi Jason,
&gt; &gt;
&gt; &gt; 2009/1/29 Jason van Zyl &lt;jason@maven.org&gt;:
&gt; &gt;&gt; Howdy,
&gt; &gt;&gt;
&gt; &gt;&gt; I've been looking at reporting in Maven 3.x and I've been following
&gt; &gt;&gt; the work
&gt; &gt;&gt; that Vincent Massol has been doing over at XWiki where he has made
&gt; &gt;&gt; some
&gt; &gt;&gt; attempts at melding Doxia, the XWiki rendering engine, and
&gt; &gt;&gt; WikiModel. You
&gt; &gt;&gt; can see the proposal here:
&gt; &gt;&gt;
&gt; &gt;&gt; http://dev.xwiki.org/xwiki/bin/view/Design/RenderingEngineConvergence
&gt; &gt;&gt;
&gt; &gt;&gt; I am looking to remove the Doxia dependency from Maven 3.x so that
&gt; &gt;&gt; reporting
&gt; &gt;&gt; is removed from core and just becomes another set of components.
&gt; &gt;&gt; Having
&gt; &gt;
&gt; &gt; I definitely agree to decouple Maven from Doxia, or conversely :)
&gt; &gt; We actually have a lot of problems due to this coupling, see MNG-3402.
&gt; &gt;
&gt; &gt;&gt; Doxia coupled to Maven is not very nice so in the next couple
&gt; &gt;&gt; releases of
&gt; &gt;&gt; the Maven 3.x alphas the hard dependency on Doxia will be removed.
&gt; &gt;&gt; This will
&gt; &gt;&gt; open the door for anyone who wants to add a different mechanism.
&gt; &gt;&gt; Doxia
&gt; &gt;&gt; reports will still work, I'm not planning on removing the
&gt; &gt;&gt; functionality just
&gt; &gt;&gt; unbinding it from the core. But that opens the door for something
&gt; &gt;&gt; new!
&gt; &gt;
&gt; &gt; Some questions to clarify what you have in mind:
&gt; &gt; - how do you plan to integrate reporting concretely to Maven 3?
&gt; &gt; - what about the backward compatibility in the reporting plugins?
&gt; &gt;
&gt; &gt;&gt; What I personally think the best path would be is to help what
&gt; &gt;&gt; Vincent has
&gt; &gt;&gt; started. There are really only three people here who work on Doxia,
&gt; &gt;&gt; the
&gt; &gt;&gt; releases are very slow in coming and I think you would immediately
&gt; &gt;&gt; double or
&gt; &gt;
&gt; &gt; Agree but we work when we have time :)
&gt; &gt; @Dennis: what are your availabilities to release the version 1.0?
&gt; &gt; After this release, 1.1 could be out, IMHO all stuffs are there.
&gt; &gt;
&gt; &gt;&gt; triple the size of the team merging with the XWiki folks and
&gt; &gt;&gt; getting the
&gt; &gt;&gt; WikiModel developer as well. This is what the XWiki folks do all
&gt; &gt;&gt; the time
&gt; &gt;&gt; and I think you would get some more velocity in the progress of the
&gt; &gt;&gt; project
&gt; &gt;&gt; as a whole. Vincent is using Plexus for his stuff so it's not that
&gt; &gt;&gt; wildly
&gt; &gt;&gt; different but I think you would get more visibility over there and
&gt; &gt;&gt; a higher
&gt; &gt;
&gt; &gt; The xwiki proposal seems to move the Doxia code to the xwiki umbrella,
&gt; &gt; so do you plan to do it?
&gt; &gt;
&gt; &gt; @Vincent, could you clarify why a fork is not possible for you?
&gt;
&gt; Let me explain the point of view of the xwiki community (I hope I'm
&gt; summarizing it well here):
&gt;
&gt; * XWiki is not a wiki. It's a platform offering wiki components to
&gt; develop any type of content-centric web application based on the wiki
&gt; paradigm.
&gt;
&gt; * We've started reorganizing ourselves to implement this vision back
&gt; in 2007. We've started by decoupling our monolithic code into modules
&gt; and components (using Plexus).
&gt;
&gt; * We're not finding that there are some important pieces that we want
&gt; to make top level projects, independent of the other xwiki modules/
&gt; components. For the moment we have identified 2 pieces:
&gt;    - the rendering engine
&gt;    - our brand new GWT-based WYSIWYG editor
&gt;
&gt; * We could propose these under new projects at the ASF for example.
&gt; These are the reasons preventing us from doing so right now:
&gt;    - we'd like to promote the XWiki project name as the place where to
&gt; get wiki "components". If we start splitting the rendering engine or
&gt; the wysiwyg editor we won't achieve this
&gt;    - having to implement and support several projects (the xwiki one +
&gt; the engine one at ASF + the wysiwyg one wherever else
&gt; (@code.google.org for ex)) is going to spread our committer base thin
&gt; achieving the opposite as what we want to achieve which is making all
&gt; people interested on working on wiki "components" together.
&gt;    - we have a very good infrastructure team and we completely host
&gt; all our tools. We like it this way since it's real fast and it works
&gt; real well and we can only complain to ourselves if something is not
&gt; right and we can fix it right away. Note that the infra is paid by
&gt; XWiki SAS (a company offering services on top of the xwiki oss project
&gt; - See http://tinyurl.com/7c488p for more details)
&gt; - basically we can work faster if the code is on the xwiki svn
&gt;
&gt; It's possible that one day we'll propose the whole project to the ASF
&gt; but I don't think we're ready for that yet. For the moment we like it
&gt; the way we are able to progress fast and we don't feel the need.
&gt;
&gt; Note that xwiki projects are currently under the LGPL but we can
&gt; discuss making the new rendering engine (which would be the merge
&gt; between doxia, xwiki and wikimodel ) under the ASL if you feel this is
&gt; better.
&gt;
&gt; Now why are we interested in merging them all? Actually that wasn't
&gt; our idea. It was Jason's. We were fine developing and progressing fast
&gt; on our own xwiki rendering engine. But at the same time it's true that
&gt; I've realized it was a pity that XWiki/WikiModel and Doxia are re-
&gt; developing the same things instead of collaborating and working on
&gt; building something together. So I see 2 win-win advantages for us all:
&gt; - for Doxia this can be a way to make it live on and be active again,
&gt; with even more features and better support
&gt; - for XWiki we would love to get some new committers on board to help
&gt; us with the rendering engine (we currently have about 3 committers
&gt; active on it either full time or part time). In addition the merge
&gt; between these 3 engines (xwiki/wikimodel/doxia) would create a new
&gt; rendering engine that could easily be the best rendering engine on the
&gt; web. For us one advantage would be to spread the xwiki name even more
&gt; and thus get more contributors and users of the xwiki "components" and
&gt; applications.
&gt;
&gt; Last, while I see it very interesting to everyone to perform this
&gt; merge, I can understand if some people would prefer to continue
&gt; working on what they do on their side without merging. That's fine and
&gt; I'm not going to fight for doing the merge at all cost. Especially
&gt; since doing the merge is going to be costly for us in term of time/
&gt; effort. For it to be worthwhile we must all agree to it and like the
&gt; idea.
&gt;
&gt; So what happens if the merge isn't done? On the xwiki side we'll
&gt; continue to improve our rendering engine fast (we're progressing very
&gt; fast right now since we have very active committers and since the
&gt; rendering is actively used in all the xwiki applications this will
&gt; continue). Even though we have a Doxia bridge we're not using it for
&gt; different reasons but one of them is that the Doxia parsers we've
&gt; tried were not good enough. I remember trying the confluence one and
&gt; it was very buggy. So I was just waiting for the need to use the
&gt; confluence parser to arise before rewriting it using wikimodel (it's a
&gt; one day job at max to get a very strong parser, thanks to wikimodel
&gt; tools).
&gt;
&gt; Merging has its share or work required on both sides but it's the best
&gt; option in the end IMO. Now it's for you to decide if this has enough
&gt; interest for Doxia.
&gt;
&gt; Cheers,
&gt; -Vincent
&gt;
&gt; PS: If you want to see how the xwiki project is managed read 
&gt; http://tinyurl.com/7c488p and go to http://dev.xwiki.org which contains all
&gt; our dev practices
&gt;
&gt; &gt; Cheers,
&gt; &gt;
&gt; &gt; Vincent
&gt; &gt;
&gt; &gt;&gt; degree of collaboration. I think you would also get a model that is
&gt; &gt;&gt; more
&gt; &gt;&gt; complete for things like blogs, wikis, and books.
&gt; &gt;&gt;
&gt; &gt;&gt; Any thoughts? I've CC'd Vincent too as I'm not sure he's on this
&gt; &gt;&gt; list.
&gt; &gt;&gt;
&gt; &gt;&gt; Thanks,
&gt; &gt;&gt;
&gt; &gt;&gt; Jason




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Fwd: [ANN] Maven Doxia 1.1 Released</title>
<author><name>Vincent Siveton &lt;vincent.siveton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200903.mbox/%3c9ae367340903080636w898be36s8aa5030fdde95f45@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340903080636w898be36s8aa5030fdde95f45@mail-gmail-com%3e</id>
<updated>2009-03-08T13:36:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi

2009/3/8 Hervé BOUTEMY &lt;herve.boutemy@free.fr&gt;:
&gt; I worked on the overview schema: see the new version attached to this mail.
&gt; Please comment if you think other changes are needed before I commit it and
&gt; update everyhting (the .png and imagemap).

+1 go for it

&gt; I have one question though: if I export the schema as an image with OpenOffice
&gt; 2.4, I et an image that is a lot bigger than the current one. How did you
&gt; create the .png? Is it a discepency between our versions of OpenOffice (I'm
&gt; working with 2.4 on Linux)?

It seems that it is no longer possible with 2.4.

Cheers,

Vincent


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Fwd: [ANN] Maven Doxia 1.1 Released</title>
<author><name>=?iso-8859-1?q?Herv=E9_BOUTEMY?= &lt;herve.boutemy@free.fr&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200903.mbox/%3c200903081409.16664.herve.boutemy@free.fr%3e"/>
<id>urn:uuid:%3c200903081409-16664-herve-boutemy@free-fr%3e</id>
<updated>2009-03-08T13:09:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
great!
thank you Vincent.

I worked on the overview schema: see the new version attached to this mail.
Please comment if you think other changes are needed before I commit it and 
update everyhting (the .png and imagemap).

I have one question though: if I export the schema as an image with OpenOffice 
2.4, I et an image that is a lot bigger than the current one. How did you 
create the .png? Is it a discepency between our versions of OpenOffice (I'm 
working with 2.4 on Linux)?

Regards,

Hervé


Le dimanche 08 mars 2009, Vincent Siveton a écrit :
&gt; ---------- Forwarded message ----------
&gt; From: Vincent Siveton &lt;vsiveton@apache.org&gt;
&gt; Date: 2009/3/7
&gt; Subject: [ANN] Maven Doxia 1.1 Released
&gt; To: announce@maven.apache.org, users@maven.apache.org
&gt;
&gt;
&gt; The Maven team is pleased to announce the release of the Maven Doxia,
&gt; Doxia Sitetools, version 1.1 and Maven Doxia Tools, version 1.0.
&gt;
&gt; Doxia is a content generation framework which aims to provide its
&gt; users with powerful techniques for generating static and dynamic
&gt; content: Doxia can be used in web-based publishing context to generate
&gt; static sites, in addition to being incorporated into dynamic content
&gt; generation systems like blogs, wikis and content management systems.
&gt;
&gt; http://maven.apache.org/doxia/
&gt;
&gt; Release Notes - Maven Doxia - Version 1.1
&gt;
&gt; ** Bug
&gt;    * [DOXIA-51] - RtfSink supports only ".ppm" image type in
&gt; figureGraphics() * [DOXIA-59] - Doxia creates files with inconsistent new
&gt; lines
&gt;    * [DOXIA-99] - Figures require extension in APT and they should not
&gt;    * [DOXIA-127] - Twiki module cannot parse two forced links in the
&gt; same paragraph
&gt;    * [DOXIA-148] - FmlParser emits HTML specific events
&gt;    * [DOXIA-152] - Xdoc parser shouldn't insert anchors for section titles
&gt;    * [DOXIA-156] - XhtmlSink#tableCell( boolean headerRow, String
&gt; width ) uses a COLSPAN attribute instead of WIDTH attribute
&gt;    * [DOXIA-157] - Doxia Book doesn't work with xdoc source files
&gt;    * [DOXIA-160] - Book output in doc-book format is not well formed
&gt;    * [DOXIA-161] - filename with dot have a false output name
&gt;    * [DOXIA-162] - Failure to parse paragraph line with an EOL
&gt;    * [DOXIA-166] - Book output ignores book, chapter and section titles
&gt;    * [DOXIA-168] - Confluence module does not allow nested formatting
&gt; - e.g. a bullet cannot contain *bold* text or a [link]
&gt;    * [DOXIA-169] - Confluence module does not recognize line breaks (\\)
&gt;    * [DOXIA-171] - Confluence "quote" macro not recognised
&gt;    * [DOXIA-173] - Support for Confluence anchor macro
&gt;    * [DOXIA-175] - Confluence module does not recognise backslash as
&gt; escape character
&gt;    * [DOXIA-176] - Confluence parser doesn't strip leading space for
&gt; section titles
&gt;    * [DOXIA-177] - Invalid XHTML because of wrong position of table caption
&gt;    * [DOXIA-178] - Confluence: nested wiki formats (e.g. bold italic)
&gt; do not work
&gt;    * [DOXIA-180] - Confluence module should remove leading '#' from anchor
&gt; link * [DOXIA-181] - Confluence ParagraphBlockParser does not offer
&gt; lines to other parsers
&gt;    * [DOXIA-182] - Confluence support for img macro
&gt;    * [DOXIA-183] - Remove xhtml specific events from xdoc parser
&gt;    * [DOXIA-189] - newline added after every closing tag
&gt;    * [DOXIA-190] - text like (=something=) is parsed incorrectly
&gt;    * [DOXIA-193] - forced url links where parsed as WikiWords links
&gt;    * [DOXIA-201] - &lt;param&gt; tags are always parsed as macro parameters
&gt;    * [DOXIA-212] - There is no way to include images using relative urls
&gt;    * [DOXIA-215] - Trailing spaces after table definition causes exception
&gt;    * [DOXIA-216] - Linkcheck broken
&gt;    * [DOXIA-221] - Fix ArrayIndexOutOfBoundsException in XhtmlBaseSink
&gt;    * [DOXIA-222] - XhtmlBaseParser swallows significant whitespace
&gt;    * [DOXIA-225] - DocBookParser swallows significant whitespace
&gt;    * [DOXIA-227] - [regression] attributes stripped from img tags
&gt;    * [DOXIA-230] - Review Doxia generation for Apt and Docbook
&gt;    * [DOXIA-235] - Confluence parser doesn't strip leading spaces for
&gt; list items
&gt;    * [DOXIA-240] - NPE when building documentation
&gt;    * [DOXIA-241] - Xdoc/XhtmlBaseParser doesn't close sections properly
&gt;    * [DOXIA-242] - Echo macro outputs internal params
&gt;    * [DOXIA-246] - TOC macro: higher entries are ignored
&gt;    * [DOXIA-247] - unable to parse document when the last character is '}'
&gt;    * [DOXIA-250] - Xml parser should handle entities defined in doctype
&gt;    * [DOXIA-251] - The AbstractXmlParser should take care of EOL
&gt;    * [DOXIA-257] - APT local anchor / link doesn't work when there is
&gt; a whitespace in the anchor name
&gt;    * [DOXIA-259] - Source code snippets are not indented automatically
&gt;    * [DOXIA-261] - The Twiki noautolink is not used at all
&gt;    * [DOXIA-270] - Review doxia-converter artefact to respect ASF rules
&gt;    * [DOXIA-273] - Broken link in External Resources page
&gt;    * [DOXIA-274] - Broken link in "What is Doxia?" page
&gt;    * [DOXIA-291] - Wrong classid in SwfMacro
&gt;    * [DOXIA-292] - Be sure to call tableRows(int[], boolean) to be
&gt; backward compatible with Doxia 1.0
&gt;
&gt; ** Improvement
&gt;    * [DOXIA-78] - Doxia XDOC parser and XHTML renderer ignore
&gt; "rowspan" and "colspan" attributes for tables
&gt;    * [DOXIA-137] - Add comments to sink API
&gt;    * [DOXIA-142] - Allow snippet macro contents to be output as-is,
&gt; instead of verbatim
&gt;    * [DOXIA-144] - Review signature methods
&gt;    * [DOXIA-153] - HTML tags in twiki not rendered correctly
&gt;    * [DOXIA-154] - Xdoc parser should recognize &lt;script&gt; tag
&gt;    * [DOXIA-155] - AbstractXmlParser should recognize CDATA, entities
&gt; and comments
&gt;    * [DOXIA-163] - Add support for underscores
&gt;    * [DOXIA-164] - Add support for strikethroughs
&gt;    * [DOXIA-191] - Display images given an url
&gt;    * [DOXIA-192] - checkstyle
&gt;    * [DOXIA-194] - Generate usefull links for WikiWords
&gt;    * [DOXIA-204] - Add generic parameters support to Figure and Link events
&gt;    * [DOXIA-205] - Add new standard parameters to figure sink API
&gt;    * [DOXIA-206] - Add new standard parameters to link sink API
&gt;    * [DOXIA-208] - standardize link/anchor handling: remove usage of
&gt; StructureSinkUtils
&gt;    * [DOXIA-210] - Snippet macro should include whole file if no id is
&gt; given * [DOXIA-217] - Make default internal classes
&gt;    * [DOXIA-223] - Decouple end-of-line detection in LineBreaker from OS
&gt;    * [DOXIA-237] - add a way to use standard HTML4/XHTML entities
&gt; like &amp;alpha; &amp;infin; &amp;nabla; ...
&gt;    * [DOXIA-243] - Add an 'unknown' element to Sink API
&gt;    * [DOXIA-244] - Upgrade to fop 0.94
&gt;    * [DOXIA-252] - Date format in the title of an apt file is not
&gt; described in detail within the online documentation
&gt;    * [DOXIA-258] - Remove EOL in the docbook sink
&gt;    * [DOXIA-265] - Add an EntityResolver in
&gt; AbstractXmlParser#getXmlReader() * [DOXIA-277] - Specify the language
&gt; identification
&gt;
&gt; ** New Feature
&gt;    * [DOXIA-124] - Confluence sink Support
&gt;    * [DOXIA-135] - Handle SSI in xdoc
&gt;    * [DOXIA-145] - Adding logger feature
&gt;    * [DOXIA-195] - Guess a title for the parsed page
&gt;    * [DOXIA-196] - Support for &lt;verbatim&gt; block
&gt;    * [DOXIA-198] - Support for  images with links
&gt;    * [DOXIA-245] - Xdoc parser should generate anchors for id
&gt; attributes of section or subsection
&gt;    * [DOXIA-253] - Implement SinkFactory for all supported modules
&gt;    * [DOXIA-262] - Add a Twiki sink
&gt;    * [DOXIA-263] - Improve validation of input documents
&gt;    * [DOXIA-289] - Create anchor automatically from headings
&gt;
&gt; ** Task
&gt;    * [DOXIA-56] - clean up doxia api and code
&gt;    * [DOXIA-123] - Create an xdoc DTD or XSD for maven 2
&gt;    * [DOXIA-136] - Create an FML DTD or XSD
&gt;    * [DOXIA-138] - Review and clarify the APT guide
&gt;    * [DOXIA-140] - Review the Doxia site documentation
&gt;    * [DOXIA-159] -  Move DocumentModel from docrenderer into doxia-core
&gt;    * [DOXIA-219] - Bump to new release of plexus-utils
&gt;    * [DOXIA-220] - Fix project name for doxia-logging-api
&gt;    * [DOXIA-234] - Deprecate methods in Sink API that don't use
&gt; SinkEventAttributes
&gt;    * [DOXIA-236] - Clarify Sink API
&gt;    * [DOXIA-254] - Using the last version of modello-maven-plugin
&gt;
&gt; ** Test
&gt;    * [DOXIA-187] - Use AbstractSinkTest in DocBookBookSinkTest
&gt;
&gt; ** Wish
&gt;    * [DOXIA-248] - Move Parser.JUSTIFY_* over to Sink interface
&gt;    * [DOXIA-249] - Wrap publish date and project version into named
&gt; &lt;span&gt;'s
&gt;
&gt; Enjoy,
&gt;
&gt; -The Maven team




</pre>
</div>
</content>
</entry>
<entry>
<title>Fwd: [ANN] Maven Doxia 1.1 Released</title>
<author><name>Vincent Siveton &lt;vsiveton@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200903.mbox/%3c9ae367340903080451p1bd2ce92q706ea5aaa40c37b4@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340903080451p1bd2ce92q706ea5aaa40c37b4@mail-gmail-com%3e</id>
<updated>2009-03-08T11:51:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
---------- Forwarded message ----------
From: Vincent Siveton &lt;vsiveton@apache.org&gt;
Date: 2009/3/7
Subject: [ANN] Maven Doxia 1.1 Released
To: announce@maven.apache.org, users@maven.apache.org


The Maven team is pleased to announce the release of the Maven Doxia,
Doxia Sitetools, version 1.1 and Maven Doxia Tools, version 1.0.

Doxia is a content generation framework which aims to provide its
users with powerful techniques for generating static and dynamic
content: Doxia can be used in web-based publishing context to generate
static sites, in addition to being incorporated into dynamic content
generation systems like blogs, wikis and content management systems.

http://maven.apache.org/doxia/

Release Notes - Maven Doxia - Version 1.1

** Bug
   * [DOXIA-51] - RtfSink supports only ".ppm" image type in figureGraphics()
   * [DOXIA-59] - Doxia creates files with inconsistent new lines
   * [DOXIA-99] - Figures require extension in APT and they should not
   * [DOXIA-127] - Twiki module cannot parse two forced links in the
same paragraph
   * [DOXIA-148] - FmlParser emits HTML specific events
   * [DOXIA-152] - Xdoc parser shouldn't insert anchors for section titles
   * [DOXIA-156] - XhtmlSink#tableCell( boolean headerRow, String
width ) uses a COLSPAN attribute instead of WIDTH attribute
   * [DOXIA-157] - Doxia Book doesn't work with xdoc source files
   * [DOXIA-160] - Book output in doc-book format is not well formed
   * [DOXIA-161] - filename with dot have a false output name
   * [DOXIA-162] - Failure to parse paragraph line with an EOL
   * [DOXIA-166] - Book output ignores book, chapter and section titles
   * [DOXIA-168] - Confluence module does not allow nested formatting
- e.g. a bullet cannot contain *bold* text or a [link]
   * [DOXIA-169] - Confluence module does not recognize line breaks (\\)
   * [DOXIA-171] - Confluence "quote" macro not recognised
   * [DOXIA-173] - Support for Confluence anchor macro
   * [DOXIA-175] - Confluence module does not recognise backslash as
escape character
   * [DOXIA-176] - Confluence parser doesn't strip leading space for
section titles
   * [DOXIA-177] - Invalid XHTML because of wrong position of table caption
   * [DOXIA-178] - Confluence: nested wiki formats (e.g. bold italic)
do not work
   * [DOXIA-180] - Confluence module should remove leading '#' from anchor link
   * [DOXIA-181] - Confluence ParagraphBlockParser does not offer
lines to other parsers
   * [DOXIA-182] - Confluence support for img macro
   * [DOXIA-183] - Remove xhtml specific events from xdoc parser
   * [DOXIA-189] - newline added after every closing tag
   * [DOXIA-190] - text like (=something=) is parsed incorrectly
   * [DOXIA-193] - forced url links where parsed as WikiWords links
   * [DOXIA-201] - &lt;param&gt; tags are always parsed as macro parameters
   * [DOXIA-212] - There is no way to include images using relative urls
   * [DOXIA-215] - Trailing spaces after table definition causes exception
   * [DOXIA-216] - Linkcheck broken
   * [DOXIA-221] - Fix ArrayIndexOutOfBoundsException in XhtmlBaseSink
   * [DOXIA-222] - XhtmlBaseParser swallows significant whitespace
   * [DOXIA-225] - DocBookParser swallows significant whitespace
   * [DOXIA-227] - [regression] attributes stripped from img tags
   * [DOXIA-230] - Review Doxia generation for Apt and Docbook
   * [DOXIA-235] - Confluence parser doesn't strip leading spaces for
list items
   * [DOXIA-240] - NPE when building documentation
   * [DOXIA-241] - Xdoc/XhtmlBaseParser doesn't close sections properly
   * [DOXIA-242] - Echo macro outputs internal params
   * [DOXIA-246] - TOC macro: higher entries are ignored
   * [DOXIA-247] - unable to parse document when the last character is '}'
   * [DOXIA-250] - Xml parser should handle entities defined in doctype
   * [DOXIA-251] - The AbstractXmlParser should take care of EOL
   * [DOXIA-257] - APT local anchor / link doesn't work when there is
a whitespace in the anchor name
   * [DOXIA-259] - Source code snippets are not indented automatically
   * [DOXIA-261] - The Twiki noautolink is not used at all
   * [DOXIA-270] - Review doxia-converter artefact to respect ASF rules
   * [DOXIA-273] - Broken link in External Resources page
   * [DOXIA-274] - Broken link in "What is Doxia?" page
   * [DOXIA-291] - Wrong classid in SwfMacro
   * [DOXIA-292] - Be sure to call tableRows(int[], boolean) to be
backward compatible with Doxia 1.0

** Improvement
   * [DOXIA-78] - Doxia XDOC parser and XHTML renderer ignore
"rowspan" and "colspan" attributes for tables
   * [DOXIA-137] - Add comments to sink API
   * [DOXIA-142] - Allow snippet macro contents to be output as-is,
instead of verbatim
   * [DOXIA-144] - Review signature methods
   * [DOXIA-153] - HTML tags in twiki not rendered correctly
   * [DOXIA-154] - Xdoc parser should recognize &lt;script&gt; tag
   * [DOXIA-155] - AbstractXmlParser should recognize CDATA, entities
and comments
   * [DOXIA-163] - Add support for underscores
   * [DOXIA-164] - Add support for strikethroughs
   * [DOXIA-191] - Display images given an url
   * [DOXIA-192] - checkstyle
   * [DOXIA-194] - Generate usefull links for WikiWords
   * [DOXIA-204] - Add generic parameters support to Figure and Link events
   * [DOXIA-205] - Add new standard parameters to figure sink API
   * [DOXIA-206] - Add new standard parameters to link sink API
   * [DOXIA-208] - standardize link/anchor handling: remove usage of
StructureSinkUtils
   * [DOXIA-210] - Snippet macro should include whole file if no id is given
   * [DOXIA-217] - Make default internal classes
   * [DOXIA-223] - Decouple end-of-line detection in LineBreaker from OS
   * [DOXIA-237] - add a way to use standard HTML4/XHTML entities
like &amp;alpha; &amp;infin; &amp;nabla; ...
   * [DOXIA-243] - Add an 'unknown' element to Sink API
   * [DOXIA-244] - Upgrade to fop 0.94
   * [DOXIA-252] - Date format in the title of an apt file is not
described in detail within the online documentation
   * [DOXIA-258] - Remove EOL in the docbook sink
   * [DOXIA-265] - Add an EntityResolver in AbstractXmlParser#getXmlReader()
   * [DOXIA-277] - Specify the language identification

** New Feature
   * [DOXIA-124] - Confluence sink Support
   * [DOXIA-135] - Handle SSI in xdoc
   * [DOXIA-145] - Adding logger feature
   * [DOXIA-195] - Guess a title for the parsed page
   * [DOXIA-196] - Support for &lt;verbatim&gt; block
   * [DOXIA-198] - Support for  images with links
   * [DOXIA-245] - Xdoc parser should generate anchors for id
attributes of section or subsection
   * [DOXIA-253] - Implement SinkFactory for all supported modules
   * [DOXIA-262] - Add a Twiki sink
   * [DOXIA-263] - Improve validation of input documents
   * [DOXIA-289] - Create anchor automatically from headings

** Task
   * [DOXIA-56] - clean up doxia api and code
   * [DOXIA-123] - Create an xdoc DTD or XSD for maven 2
   * [DOXIA-136] - Create an FML DTD or XSD
   * [DOXIA-138] - Review and clarify the APT guide
   * [DOXIA-140] - Review the Doxia site documentation
   * [DOXIA-159] -  Move DocumentModel from docrenderer into doxia-core
   * [DOXIA-219] - Bump to new release of plexus-utils
   * [DOXIA-220] - Fix project name for doxia-logging-api
   * [DOXIA-234] - Deprecate methods in Sink API that don't use
SinkEventAttributes
   * [DOXIA-236] - Clarify Sink API
   * [DOXIA-254] - Using the last version of modello-maven-plugin

** Test
   * [DOXIA-187] - Use AbstractSinkTest in DocBookBookSinkTest

** Wish
   * [DOXIA-248] - Move Parser.JUSTIFY_* over to Sink interface
   * [DOXIA-249] - Wrap publish date and project version into named &lt;span&gt;'s

Enjoy,

-The Maven team


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r746595 - in /maven/doxia/doxia-sitetools/trunk/src/site:	resources/ resources/doxia-sitetools-deps.odg resources/doxia-sitetools-deps.png	xdoc/ xdoc/index.xml</title>
<author><name>Vincent Siveton &lt;vincent.siveton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c9ae367340902230543r461dcae4wfa86046dabd73d7e@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340902230543r461dcae4wfa86046dabd73d7e@mail-gmail-com%3e</id>
<updated>2009-02-23T13:43:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
It is awesome!

Thanks Hervé!

Cheers,

Vincent

PS: Hope to see the same for doxia itself :)

2009/2/21, hboutemy@apache.org &lt;hboutemy@apache.org&gt;:
&gt; Author: hboutemy
&gt;  Date: Sat Feb 21 21:53:11 2009
&gt;  New Revision: 746595
&gt;
&gt;  URL: http://svn.apache.org/viewvc?rev=746595&amp;view=rev
&gt;  Log:
&gt;  added a dependencies map to the index page
&gt;
&gt;  Added:
&gt;     maven/doxia/doxia-sitetools/trunk/src/site/resources/
&gt;     maven/doxia/doxia-sitetools/trunk/src/site/resources/doxia-sitetools-deps.odg   (with
props)
&gt;     maven/doxia/doxia-sitetools/trunk/src/site/resources/doxia-sitetools-deps.png   (with
props)
&gt;     maven/doxia/doxia-sitetools/trunk/src/site/xdoc/
&gt;     maven/doxia/doxia-sitetools/trunk/src/site/xdoc/index.xml   (with props)
&gt;
&gt;  Added: maven/doxia/doxia-sitetools/trunk/src/site/resources/doxia-sitetools-deps.odg
&gt;  URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/src/site/resources/doxia-sitetools-deps.odg?rev=746595&amp;view=auto
&gt;  ==============================================================================
&gt;  Binary file - no diff available.
&gt;
&gt;  Propchange: maven/doxia/doxia-sitetools/trunk/src/site/resources/doxia-sitetools-deps.odg
&gt;  ------------------------------------------------------------------------------
&gt;     svn:mime-type = application/octet-stream
&gt;
&gt;  Added: maven/doxia/doxia-sitetools/trunk/src/site/resources/doxia-sitetools-deps.png
&gt;  URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/src/site/resources/doxia-sitetools-deps.png?rev=746595&amp;view=auto
&gt;  ==============================================================================
&gt;  Binary file - no diff available.
&gt;
&gt;  Propchange: maven/doxia/doxia-sitetools/trunk/src/site/resources/doxia-sitetools-deps.png
&gt;  ------------------------------------------------------------------------------
&gt;     svn:mime-type = image/png
&gt;
&gt;  Added: maven/doxia/doxia-sitetools/trunk/src/site/xdoc/index.xml
&gt;  URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/src/site/xdoc/index.xml?rev=746595&amp;view=auto
&gt;  ==============================================================================
&gt;  --- maven/doxia/doxia-sitetools/trunk/src/site/xdoc/index.xml (added)
&gt;  +++ maven/doxia/doxia-sitetools/trunk/src/site/xdoc/index.xml Sat Feb 21 21:53:11 2009
&gt;  @@ -0,0 +1,40 @@
&gt;  +&lt;?xml version="1.0"?&gt;
&gt;  +
&gt;  +&lt;document&gt;
&gt;  +
&gt;  +  &lt;properties&gt;
&gt;  +    &lt;title&gt;Doxia Sitetools&lt;/title&gt;
&gt;  +    &lt;author email="hboutemy_AT_apache_DOT_org"&gt;Hervé Boutemy&lt;/author&gt;
&gt;  +  &lt;/properties&gt;
&gt;  +
&gt;  +  &lt;body&gt;
&gt;  +
&gt;  +    &lt;section name="Modello"&gt;
&gt;  +
&gt;  +      &lt;p&gt;Doxia Sitetools generates sites, consisting of static and dynamic content
that was generated by Doxia.&lt;/p&gt;
&gt;  +
&gt;  +      &lt;p&gt;
&gt;  +        &lt;!-- workaround for DOXIA-227: usemap attribute is stripped (fixed in Doxia
1.1, was 1.0-beta-1) --&gt;
&gt;  +        &lt;script type="text/javascript"&gt;
&gt;  +          tag='&lt;img src="doxia-sitetools-deps.png" width="482" height="217" border="0"
usemap="#Doxia_sitetools_dependencies" /&gt;';
&gt;  +          tag=tag.substring(0,tag.length-2)+' usemap=\'#Doxia_sitetools_dependencies\''+tag.substring(tag.length-2);
&gt;  +          document.write(tag);
&gt;  +        &lt;/script&gt;
&gt;  +        &lt;map name="Doxia_sitetools_dependencies"&gt;
&gt;  +          &lt;area shape="rect" coords="40,0,164,31" href="doxia-site-renderer/" /&gt;
&gt;  +          &lt;area shape="rect" coords="300,0,423,31" href="doxia-doc-renderer/" /&gt;
&gt;  +          &lt;area shape="rect" coords="20,135,184,167" href="doxia-decoration-model/"
/&gt;
&gt;  +          &lt;area shape="rect" coords="0,57,84,87" href="http://velocity.apache.org"
/&gt;
&gt;  +          &lt;area shape="rect" coords="111,58,236,88" href="http://maven.apache.org/doxia/doxia/doxia-modules/doxia-module-xhtml/"
/&gt;
&gt;  +          &lt;area shape="rect" coords="251,57,354,89" href="http://maven.apache.org/doxia/doxia/doxia-modules/doxia-module-fo/"
/&gt;
&gt;  +          &lt;area shape="rect" coords="356,57,478,88" href="http://maven.apache.org/doxia/doxia/doxia-modules/doxia-module-itext/"
/&gt;
&gt;  +          &lt;area shape="rect" coords="106,53,481,119" href="http://maven.apache.org/doxia/doxia/doxia-modules/"
/&gt;
&gt;  +          &lt;area shape="rect" coords="182,186,285,216" href="http://plexus.codehaus.org/"
/&gt;
&gt;  +        &lt;/map&gt;
&gt;  +      &lt;/p&gt;
&gt;  +
&gt;  +    &lt;/section&gt;
&gt;  +
&gt;  +  &lt;/body&gt;
&gt;  +
&gt;  +&lt;/document&gt;
&gt;
&gt;  Propchange: maven/doxia/doxia-sitetools/trunk/src/site/xdoc/index.xml
&gt;  ------------------------------------------------------------------------------
&gt;     svn:eol-style = native
&gt;
&gt;  Propchange: maven/doxia/doxia-sitetools/trunk/src/site/xdoc/index.xml
&gt;  ------------------------------------------------------------------------------
&gt;     svn:keywords = Author Date Id Revision
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Doxia 1.1 with Maven 2.0.x and more (WAS: svn commit: r740732 - in /maven/doxia: doxia/trunk/doxia-maven-plugin/pom.xml site/pom.xml)</title>
<author><name>Brett Porter &lt;brett@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c4BF6A7C0-C3DA-4F90-80D1-6FCD521565E0@apache.org%3e"/>
<id>urn:uuid:%3c4BF6A7C0-C3DA-4F90-80D1-6FCD521565E0@apache-org%3e</id>
<updated>2009-02-19T14:31:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'm replying to this over on dev@maven so that everyone can see.

On 05/02/2009, at 12:39 AM, Vincent Siveton wrote:

&gt; Hi guys,
&gt;
&gt; The good news is that using the shade plugin, I was able to run a the
&gt; latest Doxia plugin (using Doxia 1.1) with mvn 2.0.9 and 2.1.0.M2 and
&gt; site-plugin 2.0-beta-7.
&gt; The bad news, I don't know what are the potential side effects.
&gt;
&gt; You could do similar things for the pdf plugin [1]. Let's just add the
&gt; shade-plugin (and fix prerequisites), install and pdf:pdf : you will
&gt; be able to have a nice pdf.
&gt;
&gt; Comments welcome.
&gt;
&gt; Cheers,
&gt;
&gt; Vincent
&gt;
&gt; PS I didn't want to create another branch for this proof of concept so
&gt; I committed directly under the trunk, we could revert it if needed.
&gt;
&gt; [1] https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-pdf-plugin
&gt;
&gt; ---------- Forwarded message ----------
&gt; From:  &lt;vsiveton@apache.org&gt;
&gt; Date: 2009/2/4
&gt; Subject: svn commit: r740732 - in /maven/doxia:
&gt; doxia/trunk/doxia-maven-plugin/pom.xml site/pom.xml
&gt; To: doxia-commits@maven.apache.org
&gt;
&gt;
&gt; Author: vsiveton
&gt; Date: Wed Feb  4 13:28:25 2009
&gt; New Revision: 740732
&gt;
&gt; URL: http://svn.apache.org/viewvc?rev=740732&amp;view=rev
&gt; Log:
&gt; MNG-3402: MavenArtifactFilterManager needs to not filtering doxia- 
&gt; sink-api
&gt;
&gt; o proof of concept for a workaround using shade-plugin
&gt; o mvn site on the Doxia site generates correctly the site using Maven
&gt; 2.0.9 and 2.1.0.M2
&gt;
&gt; Modified:
&gt;   maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
&gt;   maven/doxia/site/pom.xml
&gt;
&gt; Modified: maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml?rev=740732&amp;r1=740731&amp;r2=740732&amp;view=diff
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; ======================================================================
&gt; --- maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml (original)
&gt; +++ maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml Wed Feb  4  
&gt; 13:28:25 2009
&gt; @@ -51,6 +51,49 @@
&gt;      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt;    &lt;/dependency&gt;
&gt;    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-core&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-logging-api&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +
&gt; +    &lt;!-- doxia modules ordered --&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-module-apt&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-module-docbook-simple&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-module-itext&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-module-latex&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-module-xdoc&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-module-xhtml&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +
&gt; +    &lt;dependency&gt;
&gt;      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
&gt;      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
&gt;    &lt;/dependency&gt;
&gt; @@ -61,6 +104,42 @@
&gt;    &lt;/dependency&gt;
&gt;  &lt;/dependencies&gt;
&gt;
&gt; +  &lt;build&gt;
&gt; +    &lt;plugins&gt;
&gt; +      &lt;!-- Backward compatibility with Maven 2.0.x (MNG-3402) --&gt;
&gt; +      &lt;plugin&gt;
&gt; +        &lt;artifactId&gt;maven-shade-plugin&lt;/artifactId&gt;
&gt; +        &lt;version&gt;1.2&lt;/version&gt;
&gt; +        &lt;executions&gt;
&gt; +          &lt;execution&gt;
&gt; +            &lt;phase&gt;package&lt;/phase&gt;
&gt; +            &lt;goals&gt;
&gt; +              &lt;goal&gt;shade&lt;/goal&gt;
&gt; +            &lt;/goals&gt;
&gt; +            &lt;configuration&gt;
&gt; +              &lt;finalName&gt;${project.build.finalName}&lt;/finalName&gt;
&gt; +              &lt;createDependencyReducedPom&gt;
&gt; +                false
&gt; +              &lt;/createDependencyReducedPom&gt;
&gt; +              &lt;keepDependenciesWithProvidedScope&gt;
&gt; +                true
&gt; +              &lt;/keepDependenciesWithProvidedScope&gt;
&gt; +              &lt;transformers&gt;
&gt; +                &lt;transformer
&gt; implementation 
&gt; = 
&gt; "org 
&gt; .apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer"
&gt; /&gt;
&gt; +              &lt;/transformers&gt;
&gt; +              &lt;artifactSet&gt;
&gt; +                &lt;includes&gt;
&gt; +                  &lt;include&gt;org.apache.maven.doxia:doxia-sink-api&lt;/ 
&gt; include&gt;
&gt; +                  &lt;include&gt;org.apache.maven.doxia:doxia-logging- 
&gt; api&lt;/include&gt;
&gt; +                &lt;/includes&gt;
&gt; +              &lt;/artifactSet&gt;
&gt; +            &lt;/configuration&gt;
&gt; +          &lt;/execution&gt;
&gt; +        &lt;/executions&gt;
&gt; +      &lt;/plugin&gt;
&gt; +    &lt;/plugins&gt;
&gt; +  &lt;/build&gt;
&gt; +
&gt;  &lt;reporting&gt;
&gt;    &lt;plugins&gt;
&gt;      &lt;plugin&gt;
&gt;
&gt; Modified: maven/doxia/site/pom.xml
&gt; URL: http://svn.apache.org/viewvc/maven/doxia/site/pom.xml?rev=740732&amp;r1=740731&amp;r2=740732&amp;view=diff
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; ======================================================================
&gt; --- maven/doxia/site/pom.xml (original)
&gt; +++ maven/doxia/site/pom.xml Wed Feb  4 13:28:25 2009
&gt; @@ -147,7 +147,7 @@
&gt;      &lt;plugin&gt;
&gt;        &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt;        &lt;artifactId&gt;doxia-maven-plugin&lt;/artifactId&gt;
&gt; -        &lt;version&gt;1.0-alpha-10&lt;/version&gt;
&gt; +        &lt;version&gt;1.1-SNAPSHOT&lt;/version&gt;
&gt;        &lt;executions&gt;
&gt;          &lt;execution&gt;
&gt;            &lt;phase&gt;pre-site&lt;/phase&gt;

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r744300 - /maven/doxia/doxia-sitetools/trunk/pom.xml</title>
<author><name>Lukas Theussl &lt;ltheussl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c499D1488.3030808@apache.org%3e"/>
<id>urn:uuid:%3c499D1488-3030808@apache-org%3e</id>
<updated>2009-02-19T08:12:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

It would also be nice if snapshots were deployed before bumping deps all over the 
place.

-Lukas


Vincent Siveton wrote:
&gt; Hi Brian,
&gt; 
&gt; Do you plan to release the parent shortly?
&gt; 
&gt; Vincent
&gt; 
&gt; 2009/2/13, brianf@apache.org &lt;brianf@apache.org&gt;:
&gt;&gt; Author: brianf
&gt;&gt;  Date: Fri Feb 13 23:54:30 2009
&gt;&gt;  New Revision: 744300
&gt;&gt;
&gt;&gt;  URL: http://svn.apache.org/viewvc?rev=744300&amp;view=rev
&gt;&gt;  Log:
&gt;&gt;  use the new parent
&gt;&gt;
&gt;&gt;  Modified:
&gt;&gt;     maven/doxia/doxia-sitetools/trunk/pom.xml
&gt;&gt;
&gt;&gt;  Modified: maven/doxia/doxia-sitetools/trunk/pom.xml
&gt;&gt;  URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/pom.xml?rev=744300&amp;r1=744299&amp;r2=744300&amp;view=diff
&gt;&gt;  ==============================================================================
&gt;&gt;  --- maven/doxia/doxia-sitetools/trunk/pom.xml (original)
&gt;&gt;  +++ maven/doxia/doxia-sitetools/trunk/pom.xml Fri Feb 13 23:54:30 2009
&gt;&gt;  @@ -25,7 +25,7 @@
&gt;&gt;    &lt;parent&gt;
&gt;&gt;      &lt;groupId&gt;org.apache.maven&lt;/groupId&gt;
&gt;&gt;      &lt;artifactId&gt;maven-parent&lt;/artifactId&gt;
&gt;&gt;  -    &lt;version&gt;10&lt;/version&gt;
&gt;&gt;  +    &lt;version&gt;11-SNAPSHOT&lt;/version&gt;
&gt;&gt;      &lt;relativePath&gt;../../pom/maven/pom.xml&lt;/relativePath&gt;
&gt;&gt;    &lt;/parent&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt; 


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: svn commit: r744300 - /maven/doxia/doxia-sitetools/trunk/pom.xml</title>
<author><name>Vincent Siveton &lt;vincent.siveton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c9ae367340902171540u4e7eb797of88d8fd0ee40a5f4@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340902171540u4e7eb797of88d8fd0ee40a5f4@mail-gmail-com%3e</id>
<updated>2009-02-17T23:40:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Brian,

Do you plan to release the parent shortly?

Vincent

2009/2/13, brianf@apache.org &lt;brianf@apache.org&gt;:
&gt; Author: brianf
&gt;  Date: Fri Feb 13 23:54:30 2009
&gt;  New Revision: 744300
&gt;
&gt;  URL: http://svn.apache.org/viewvc?rev=744300&amp;view=rev
&gt;  Log:
&gt;  use the new parent
&gt;
&gt;  Modified:
&gt;     maven/doxia/doxia-sitetools/trunk/pom.xml
&gt;
&gt;  Modified: maven/doxia/doxia-sitetools/trunk/pom.xml
&gt;  URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/pom.xml?rev=744300&amp;r1=744299&amp;r2=744300&amp;view=diff
&gt;  ==============================================================================
&gt;  --- maven/doxia/doxia-sitetools/trunk/pom.xml (original)
&gt;  +++ maven/doxia/doxia-sitetools/trunk/pom.xml Fri Feb 13 23:54:30 2009
&gt;  @@ -25,7 +25,7 @@
&gt;    &lt;parent&gt;
&gt;      &lt;groupId&gt;org.apache.maven&lt;/groupId&gt;
&gt;      &lt;artifactId&gt;maven-parent&lt;/artifactId&gt;
&gt;  -    &lt;version&gt;10&lt;/version&gt;
&gt;  +    &lt;version&gt;11-SNAPSHOT&lt;/version&gt;
&gt;      &lt;relativePath&gt;../../pom/maven/pom.xml&lt;/relativePath&gt;
&gt;    &lt;/parent&gt;
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Unable to stage the site for trunk or 1.0.x branch</title>
<author><name>Benjamin Bentmann &lt;benjamin.bentmann@udo.edu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c498C006B.9070103@udo.edu%3e"/>
<id>urn:uuid:%3c498C006B-9070103@udo-edu%3e</id>
<updated>2009-02-06T09:18:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Vincent Siveton wrote:

&gt; Weird, I was able to do it out of box

This might depend on the state of one's local repo such that the call to 
resolver.resolveTransitively() in AbstractJavadocMojo delivers different 
artifacts. Hence, I would expect that running "mvn install" before 
site:stage would temporarily fix the problem for Dennis.


Benjamin


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Unable to stage the site for trunk or 1.0.x branch</title>
<author><name>Vincent Siveton &lt;vincent.siveton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c9ae367340902051932g41c8f9a7xc954f99c54d488f5@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340902051932g41c8f9a7xc954f99c54d488f5@mail-gmail-com%3e</id>
<updated>2009-02-06T03:32:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Weird, I was able to do it out of box
mvn site:stage -Preporting
http://people.apache.org/~vsiveton/doxia-1.0.x/

Cheers,

Vincent

2009/2/5 Dennis Lundberg &lt;dennisl@apache.org&gt;:
&gt; OK, but I get these errors *without* the Clirr plugin, i.e. on a clean
&gt; checkout from svn.
&gt;
&gt; Vincent Siveton wrote:
&gt;&gt; Hi Dennis,
&gt;&gt;
&gt;&gt; Clirr plugin doesnt support ${reactorProjects} or aggregate so it is a
&gt;&gt; normal behaviour IMHO (and javadoc plugin 2.5 is correct).
&gt;&gt;
&gt;&gt; As a workaround, you could create a reporting-aggregate similar to [1].
&gt;&gt;
&gt;&gt; Cheers
&gt;&gt;
&gt;&gt; Vincent
&gt;&gt;
&gt;&gt; [1] https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/pom.xml
&gt;&gt;
&gt;&gt; 2009/2/4 Dennis Lundberg &lt;dennisl@apache.org&gt;:
&gt;&gt;&gt; Hi guys
&gt;&gt;&gt;
&gt;&gt;&gt; The "just adding a Clirr report" turned out to be a little more than that...
&gt;&gt;&gt;
&gt;&gt;&gt; When I run 'mvn -Preporting site:stage' on either doxia trunk or
&gt;&gt;&gt; doxia-1.0.x branch I get the following errors. They happen when the
&gt;&gt;&gt; javadoc plugin is creating its aggregated report. I have tried
&gt;&gt;&gt; everything I can think of, but am still unable to solve this. Can
&gt;&gt;&gt; someone please give me a helping hand?
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt; [INFO]
&gt;&gt;&gt; ------------------------------------------------------------------------
&gt;&gt;&gt; [INFO] Error during page generation
&gt;&gt;&gt;
&gt;&gt;&gt; Embedded error: Error rendering Maven report: Exit code: 1 -
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-con
&gt;&gt;&gt; fluence\src\test\java\org\apache\maven\doxia\module\confluence\ConfluenceParserTest.java:30:
&gt;&gt;&gt; cannot resolve symbol
&gt;&gt;&gt; symbol  : class ConfluenceParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.confluence.ConfluenceParserTest
&gt;&gt;&gt;    private ConfluenceParser parser;
&gt;&gt;&gt;            ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:24: cannot resolve symbol
&gt;&gt;&gt; symbol  : class TWikiParser
&gt;&gt;&gt; location: package twiki
&gt;&gt;&gt; import org.apache.maven.doxia.module.twiki.TWikiParser;
&gt;&gt;&gt;                                           ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:38: cannot resolve symbol
&gt;&gt;&gt; symbol  : class SectionBlockParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final SectionBlockParser sectionParser = new
&gt;&gt;&gt; SectionBlockParser();
&gt;&gt;&gt;                    ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:42: cannot resolve symbol
&gt;&gt;&gt; symbol  : class ParagraphBlockParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final ParagraphBlockParser paraParser =
&gt;&gt;&gt;                    ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:47: cannot resolve symbol
&gt;&gt;&gt; symbol  : class GenericListBlockParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final GenericListBlockParser listParser =
&gt;&gt;&gt;                    ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:52: cannot resolve symbol
&gt;&gt;&gt; symbol  : class FormatedTextParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final FormatedTextParser formatTextParser =
&gt;&gt;&gt;                    ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:57: cannot resolve symbol
&gt;&gt;&gt; symbol  : class TextParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final TextParser textParser = new TextParser();
&gt;&gt;&gt;                    ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:61: cannot resolve symbol
&gt;&gt;&gt; symbol  : class HRuleBlockParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final HRuleBlockParser hruleParser = new HRuleBlockParser();
&gt;&gt;&gt;                    ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:65: cannot resolve symbol
&gt;&gt;&gt; symbol  : class TableBlockParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final TableBlockParser tableParser = new TableBlockParser();
&gt;&gt;&gt;                    ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:69: cannot resolve symbol
&gt;&gt;&gt; symbol  : class TWikiParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final TWikiParser twikiParser = new TWikiParser();
&gt;&gt;&gt;                    ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\W
&gt;&gt;&gt; ordsTest.java:36: cannot resolve symbol
&gt;&gt;&gt; symbol  : class Block
&gt;&gt;&gt; location: class org.apache.maven.doxia.module.twiki.parser.WordsTest
&gt;&gt;&gt;    private static final Block [] TOARRAY = new Block[]{};
&gt;&gt;&gt;                         ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-fml\src\test\java\org\apache\maven\doxia\module\fml\FmlParserTes
&gt;&gt;&gt; t.java:22: cannot resolve symbol
&gt;&gt;&gt; symbol  : class FmlParser
&gt;&gt;&gt; location: package fml
&gt;&gt;&gt; import org.apache.maven.doxia.module.fml.FmlParser;
&gt;&gt;&gt;                                         ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:38: cannot resolve symbol
&gt;&gt;&gt; symbol  : class SectionBlockParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final SectionBlockParser sectionParser = new
&gt;&gt;&gt; SectionBlockParser();
&gt;&gt;&gt;                                                           ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:43: cannot resolve symbol
&gt;&gt;&gt; symbol  : class ParagraphBlockParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;        new ParagraphBlockParser();
&gt;&gt;&gt;            ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:48: cannot resolve symbol
&gt;&gt;&gt; symbol  : class GenericListBlockParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;        new GenericListBlockParser();
&gt;&gt;&gt;            ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:53: cannot resolve symbol
&gt;&gt;&gt; symbol  : class FormatedTextParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;        new FormatedTextParser();
&gt;&gt;&gt;            ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:57: cannot resolve symbol
&gt;&gt;&gt; symbol  : class TextParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final TextParser textParser = new TextParser();
&gt;&gt;&gt;                                                ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:61: cannot resolve symbol
&gt;&gt;&gt; symbol  : class HRuleBlockParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final HRuleBlockParser hruleParser = new HRuleBlockParser();
&gt;&gt;&gt;                                                       ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:65: cannot resolve symbol
&gt;&gt;&gt; symbol  : class TableBlockParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final TableBlockParser tableParser = new TableBlockParser();
&gt;&gt;&gt;                                                       ^
&gt;&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt;&gt; bstractBlockTestCase.java:69: cannot resolve symbol
&gt;&gt;&gt; symbol  : class TWikiParser
&gt;&gt;&gt; location: class
&gt;&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;&gt;    protected final TWikiParser twikiParser = new TWikiParser();
&gt;&gt;&gt;                                                  ^
&gt;&gt;&gt;
&gt;&gt;&gt; --
&gt;&gt;&gt; Dennis Lundberg
&gt;&gt;&gt;
&gt;&gt;
&gt;
&gt;
&gt; --
&gt; Dennis Lundberg
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Unable to stage the site for trunk or 1.0.x branch</title>
<author><name>Dennis Lundberg &lt;dennisl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c498B3C73.4020801@apache.org%3e"/>
<id>urn:uuid:%3c498B3C73-4020801@apache-org%3e</id>
<updated>2009-02-05T19:22:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
OK, but I get these errors *without* the Clirr plugin, i.e. on a clean
checkout from svn.

Vincent Siveton wrote:
&gt; Hi Dennis,
&gt; 
&gt; Clirr plugin doesnt support ${reactorProjects} or aggregate so it is a
&gt; normal behaviour IMHO (and javadoc plugin 2.5 is correct).
&gt; 
&gt; As a workaround, you could create a reporting-aggregate similar to [1].
&gt; 
&gt; Cheers
&gt; 
&gt; Vincent
&gt; 
&gt; [1] https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/pom.xml
&gt; 
&gt; 2009/2/4 Dennis Lundberg &lt;dennisl@apache.org&gt;:
&gt;&gt; Hi guys
&gt;&gt;
&gt;&gt; The "just adding a Clirr report" turned out to be a little more than that...
&gt;&gt;
&gt;&gt; When I run 'mvn -Preporting site:stage' on either doxia trunk or
&gt;&gt; doxia-1.0.x branch I get the following errors. They happen when the
&gt;&gt; javadoc plugin is creating its aggregated report. I have tried
&gt;&gt; everything I can think of, but am still unable to solve this. Can
&gt;&gt; someone please give me a helping hand?
&gt;&gt;
&gt;&gt;
&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt; [INFO]
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [INFO] Error during page generation
&gt;&gt;
&gt;&gt; Embedded error: Error rendering Maven report: Exit code: 1 -
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-con
&gt;&gt; fluence\src\test\java\org\apache\maven\doxia\module\confluence\ConfluenceParserTest.java:30:
&gt;&gt; cannot resolve symbol
&gt;&gt; symbol  : class ConfluenceParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.confluence.ConfluenceParserTest
&gt;&gt;    private ConfluenceParser parser;
&gt;&gt;            ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:24: cannot resolve symbol
&gt;&gt; symbol  : class TWikiParser
&gt;&gt; location: package twiki
&gt;&gt; import org.apache.maven.doxia.module.twiki.TWikiParser;
&gt;&gt;                                           ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:38: cannot resolve symbol
&gt;&gt; symbol  : class SectionBlockParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final SectionBlockParser sectionParser = new
&gt;&gt; SectionBlockParser();
&gt;&gt;                    ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:42: cannot resolve symbol
&gt;&gt; symbol  : class ParagraphBlockParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final ParagraphBlockParser paraParser =
&gt;&gt;                    ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:47: cannot resolve symbol
&gt;&gt; symbol  : class GenericListBlockParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final GenericListBlockParser listParser =
&gt;&gt;                    ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:52: cannot resolve symbol
&gt;&gt; symbol  : class FormatedTextParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final FormatedTextParser formatTextParser =
&gt;&gt;                    ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:57: cannot resolve symbol
&gt;&gt; symbol  : class TextParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final TextParser textParser = new TextParser();
&gt;&gt;                    ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:61: cannot resolve symbol
&gt;&gt; symbol  : class HRuleBlockParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final HRuleBlockParser hruleParser = new HRuleBlockParser();
&gt;&gt;                    ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:65: cannot resolve symbol
&gt;&gt; symbol  : class TableBlockParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final TableBlockParser tableParser = new TableBlockParser();
&gt;&gt;                    ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:69: cannot resolve symbol
&gt;&gt; symbol  : class TWikiParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final TWikiParser twikiParser = new TWikiParser();
&gt;&gt;                    ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\W
&gt;&gt; ordsTest.java:36: cannot resolve symbol
&gt;&gt; symbol  : class Block
&gt;&gt; location: class org.apache.maven.doxia.module.twiki.parser.WordsTest
&gt;&gt;    private static final Block [] TOARRAY = new Block[]{};
&gt;&gt;                         ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-fml\src\test\java\org\apache\maven\doxia\module\fml\FmlParserTes
&gt;&gt; t.java:22: cannot resolve symbol
&gt;&gt; symbol  : class FmlParser
&gt;&gt; location: package fml
&gt;&gt; import org.apache.maven.doxia.module.fml.FmlParser;
&gt;&gt;                                         ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:38: cannot resolve symbol
&gt;&gt; symbol  : class SectionBlockParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final SectionBlockParser sectionParser = new
&gt;&gt; SectionBlockParser();
&gt;&gt;                                                           ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:43: cannot resolve symbol
&gt;&gt; symbol  : class ParagraphBlockParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;        new ParagraphBlockParser();
&gt;&gt;            ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:48: cannot resolve symbol
&gt;&gt; symbol  : class GenericListBlockParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;        new GenericListBlockParser();
&gt;&gt;            ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:53: cannot resolve symbol
&gt;&gt; symbol  : class FormatedTextParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;        new FormatedTextParser();
&gt;&gt;            ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:57: cannot resolve symbol
&gt;&gt; symbol  : class TextParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final TextParser textParser = new TextParser();
&gt;&gt;                                                ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:61: cannot resolve symbol
&gt;&gt; symbol  : class HRuleBlockParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final HRuleBlockParser hruleParser = new HRuleBlockParser();
&gt;&gt;                                                       ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:65: cannot resolve symbol
&gt;&gt; symbol  : class TableBlockParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final TableBlockParser tableParser = new TableBlockParser();
&gt;&gt;                                                       ^
&gt;&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt;&gt; bstractBlockTestCase.java:69: cannot resolve symbol
&gt;&gt; symbol  : class TWikiParser
&gt;&gt; location: class
&gt;&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;&gt;    protected final TWikiParser twikiParser = new TWikiParser();
&gt;&gt;                                                  ^
&gt;&gt;
&gt;&gt; --
&gt;&gt; Dennis Lundberg
&gt;&gt;
&gt; 


-- 
Dennis Lundberg


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Unable to stage the site for trunk or 1.0.x branch</title>
<author><name>Vincent Siveton &lt;vincent.siveton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c9ae367340902041738y77eda739h1c2af6a72cdf5a07@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340902041738y77eda739h1c2af6a72cdf5a07@mail-gmail-com%3e</id>
<updated>2009-02-05T01:38:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Dennis,

Clirr plugin doesnt support ${reactorProjects} or aggregate so it is a
normal behaviour IMHO (and javadoc plugin 2.5 is correct).

As a workaround, you could create a reporting-aggregate similar to [1].

Cheers

Vincent

[1] https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/pom.xml

2009/2/4 Dennis Lundberg &lt;dennisl@apache.org&gt;:
&gt; Hi guys
&gt;
&gt; The "just adding a Clirr report" turned out to be a little more than that...
&gt;
&gt; When I run 'mvn -Preporting site:stage' on either doxia trunk or
&gt; doxia-1.0.x branch I get the following errors. They happen when the
&gt; javadoc plugin is creating its aggregated report. I have tried
&gt; everything I can think of, but am still unable to solve this. Can
&gt; someone please give me a helping hand?
&gt;
&gt;
&gt; [ERROR] BUILD ERROR
&gt; [INFO]
&gt; ------------------------------------------------------------------------
&gt; [INFO] Error during page generation
&gt;
&gt; Embedded error: Error rendering Maven report: Exit code: 1 -
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-con
&gt; fluence\src\test\java\org\apache\maven\doxia\module\confluence\ConfluenceParserTest.java:30:
&gt; cannot resolve symbol
&gt; symbol  : class ConfluenceParser
&gt; location: class
&gt; org.apache.maven.doxia.module.confluence.ConfluenceParserTest
&gt;    private ConfluenceParser parser;
&gt;            ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:24: cannot resolve symbol
&gt; symbol  : class TWikiParser
&gt; location: package twiki
&gt; import org.apache.maven.doxia.module.twiki.TWikiParser;
&gt;                                           ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:38: cannot resolve symbol
&gt; symbol  : class SectionBlockParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final SectionBlockParser sectionParser = new
&gt; SectionBlockParser();
&gt;                    ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:42: cannot resolve symbol
&gt; symbol  : class ParagraphBlockParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final ParagraphBlockParser paraParser =
&gt;                    ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:47: cannot resolve symbol
&gt; symbol  : class GenericListBlockParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final GenericListBlockParser listParser =
&gt;                    ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:52: cannot resolve symbol
&gt; symbol  : class FormatedTextParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final FormatedTextParser formatTextParser =
&gt;                    ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:57: cannot resolve symbol
&gt; symbol  : class TextParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final TextParser textParser = new TextParser();
&gt;                    ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:61: cannot resolve symbol
&gt; symbol  : class HRuleBlockParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final HRuleBlockParser hruleParser = new HRuleBlockParser();
&gt;                    ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:65: cannot resolve symbol
&gt; symbol  : class TableBlockParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final TableBlockParser tableParser = new TableBlockParser();
&gt;                    ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:69: cannot resolve symbol
&gt; symbol  : class TWikiParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final TWikiParser twikiParser = new TWikiParser();
&gt;                    ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\W
&gt; ordsTest.java:36: cannot resolve symbol
&gt; symbol  : class Block
&gt; location: class org.apache.maven.doxia.module.twiki.parser.WordsTest
&gt;    private static final Block [] TOARRAY = new Block[]{};
&gt;                         ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-fml\src\test\java\org\apache\maven\doxia\module\fml\FmlParserTes
&gt; t.java:22: cannot resolve symbol
&gt; symbol  : class FmlParser
&gt; location: package fml
&gt; import org.apache.maven.doxia.module.fml.FmlParser;
&gt;                                         ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:38: cannot resolve symbol
&gt; symbol  : class SectionBlockParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final SectionBlockParser sectionParser = new
&gt; SectionBlockParser();
&gt;                                                           ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:43: cannot resolve symbol
&gt; symbol  : class ParagraphBlockParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;        new ParagraphBlockParser();
&gt;            ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:48: cannot resolve symbol
&gt; symbol  : class GenericListBlockParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;        new GenericListBlockParser();
&gt;            ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:53: cannot resolve symbol
&gt; symbol  : class FormatedTextParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;        new FormatedTextParser();
&gt;            ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:57: cannot resolve symbol
&gt; symbol  : class TextParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final TextParser textParser = new TextParser();
&gt;                                                ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:61: cannot resolve symbol
&gt; symbol  : class HRuleBlockParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final HRuleBlockParser hruleParser = new HRuleBlockParser();
&gt;                                                       ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:65: cannot resolve symbol
&gt; symbol  : class TableBlockParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final TableBlockParser tableParser = new TableBlockParser();
&gt;                                                       ^
&gt; G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
&gt; bstractBlockTestCase.java:69: cannot resolve symbol
&gt; symbol  : class TWikiParser
&gt; location: class
&gt; org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
&gt;    protected final TWikiParser twikiParser = new TWikiParser();
&gt;                                                  ^
&gt;
&gt; --
&gt; Dennis Lundberg
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Unable to stage the site for trunk or 1.0.x branch</title>
<author><name>Dennis Lundberg &lt;dennisl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c498A2BF0.3070406@apache.org%3e"/>
<id>urn:uuid:%3c498A2BF0-3070406@apache-org%3e</id>
<updated>2009-02-04T23:59:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi guys

The "just adding a Clirr report" turned out to be a little more than that...

When I run 'mvn -Preporting site:stage' on either doxia trunk or
doxia-1.0.x branch I get the following errors. They happen when the
javadoc plugin is creating its aggregated report. I have tried
everything I can think of, but am still unable to solve this. Can
someone please give me a helping hand?


[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error during page generation

Embedded error: Error rendering Maven report: Exit code: 1 -
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-con
fluence\src\test\java\org\apache\maven\doxia\module\confluence\ConfluenceParserTest.java:30:
cannot resolve symbol
symbol  : class ConfluenceParser
location: class
org.apache.maven.doxia.module.confluence.ConfluenceParserTest
    private ConfluenceParser parser;
            ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:24: cannot resolve symbol
symbol  : class TWikiParser
location: package twiki
import org.apache.maven.doxia.module.twiki.TWikiParser;
                                           ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:38: cannot resolve symbol
symbol  : class SectionBlockParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final SectionBlockParser sectionParser = new
SectionBlockParser();
                    ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:42: cannot resolve symbol
symbol  : class ParagraphBlockParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final ParagraphBlockParser paraParser =
                    ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:47: cannot resolve symbol
symbol  : class GenericListBlockParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final GenericListBlockParser listParser =
                    ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:52: cannot resolve symbol
symbol  : class FormatedTextParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final FormatedTextParser formatTextParser =
                    ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:57: cannot resolve symbol
symbol  : class TextParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final TextParser textParser = new TextParser();
                    ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:61: cannot resolve symbol
symbol  : class HRuleBlockParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final HRuleBlockParser hruleParser = new HRuleBlockParser();
                    ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:65: cannot resolve symbol
symbol  : class TableBlockParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final TableBlockParser tableParser = new TableBlockParser();
                    ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:69: cannot resolve symbol
symbol  : class TWikiParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final TWikiParser twikiParser = new TWikiParser();
                    ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\W
ordsTest.java:36: cannot resolve symbol
symbol  : class Block
location: class org.apache.maven.doxia.module.twiki.parser.WordsTest
    private static final Block [] TOARRAY = new Block[]{};
                         ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-fml\src\test\java\org\apache\maven\doxia\module\fml\FmlParserTes
t.java:22: cannot resolve symbol
symbol  : class FmlParser
location: package fml
import org.apache.maven.doxia.module.fml.FmlParser;
                                         ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:38: cannot resolve symbol
symbol  : class SectionBlockParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final SectionBlockParser sectionParser = new
SectionBlockParser();
                                                           ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:43: cannot resolve symbol
symbol  : class ParagraphBlockParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
        new ParagraphBlockParser();
            ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:48: cannot resolve symbol
symbol  : class GenericListBlockParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
        new GenericListBlockParser();
            ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:53: cannot resolve symbol
symbol  : class FormatedTextParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
        new FormatedTextParser();
            ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:57: cannot resolve symbol
symbol  : class TextParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final TextParser textParser = new TextParser();
                                                ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:61: cannot resolve symbol
symbol  : class HRuleBlockParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final HRuleBlockParser hruleParser = new HRuleBlockParser();
                                                       ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:65: cannot resolve symbol
symbol  : class TableBlockParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final TableBlockParser tableParser = new TableBlockParser();
                                                       ^
G:\apache\maven\trunks\doxia\doxia-1.0.x\doxia-modules\doxia-module-twiki\src\test\java\org\apache\maven\doxia\module\twiki\parser\A
bstractBlockTestCase.java:69: cannot resolve symbol
symbol  : class TWikiParser
location: class
org.apache.maven.doxia.module.twiki.parser.AbstractBlockTestCase
    protected final TWikiParser twikiParser = new TWikiParser();
                                                  ^

-- 
Dennis Lundberg


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Merging with XWiki and WikiModel</title>
<author><name>Dennis Lundberg &lt;dennisl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c4989EA2F.4040409@apache.org%3e"/>
<id>urn:uuid:%3c4989EA2F-4040409@apache-org%3e</id>
<updated>2009-02-04T19:19:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Vincent Siveton wrote:
&gt; Hi Jason,
&gt; 
&gt; 2009/1/29 Jason van Zyl &lt;jason@maven.org&gt;:
&gt;&gt; Howdy,
&gt;&gt;
&gt;&gt; I've been looking at reporting in Maven 3.x and I've been following the work
&gt;&gt; that Vincent Massol has been doing over at XWiki where he has made some
&gt;&gt; attempts at melding Doxia, the XWiki rendering engine, and WikiModel. You
&gt;&gt; can see the proposal here:
&gt;&gt;
&gt;&gt; http://dev.xwiki.org/xwiki/bin/view/Design/RenderingEngineConvergence
&gt;&gt;
&gt;&gt; I am looking to remove the Doxia dependency from Maven 3.x so that reporting
&gt;&gt; is removed from core and just becomes another set of components. Having
&gt; 
&gt; I definitely agree to decouple Maven from Doxia, or conversely :)
&gt; We actually have a lot of problems due to this coupling, see MNG-3402.
&gt; 
&gt;&gt; Doxia coupled to Maven is not very nice so in the next couple releases of
&gt;&gt; the Maven 3.x alphas the hard dependency on Doxia will be removed. This will
&gt;&gt; open the door for anyone who wants to add a different mechanism. Doxia
&gt;&gt; reports will still work, I'm not planning on removing the functionality just
&gt;&gt; unbinding it from the core. But that opens the door for something new!
&gt; 
&gt; Some questions to clarify what you have in mind:
&gt; - how do you plan to integrate reporting concretely to Maven 3?
&gt; - what about the backward compatibility in the reporting plugins?
&gt; 
&gt;&gt; What I personally think the best path would be is to help what Vincent has
&gt;&gt; started. There are really only three people here who work on Doxia, the
&gt;&gt; releases are very slow in coming and I think you would immediately double or
&gt; 
&gt; Agree but we work when we have time :)
&gt; @Dennis: what are your availabilities to release the version 1.0?

There are only two things left now:

1. Add a Clirr report to make sure we didn't break anything
2. Advertise a Doxia/Site Plugin combo SNAPSHOT version to the community
to allow testing for a little while

I hope to be able to finish that this week.


&gt; After this release, 1.1 could be out, IMHO all stuffs are there.
&gt; 
&gt;&gt; triple the size of the team merging with the XWiki folks and getting the
&gt;&gt; WikiModel developer as well. This is what the XWiki folks do all the time
&gt;&gt; and I think you would get some more velocity in the progress of the project
&gt;&gt; as a whole. Vincent is using Plexus for his stuff so it's not that wildly
&gt;&gt; different but I think you would get more visibility over there and a higher
&gt; 
&gt; The xwiki proposal seems to move the Doxia code to the xwiki umbrella,
&gt; so do you plan to do it?
&gt; 
&gt; @Vincent, could you clarify why a fork is not possible for you?
&gt; 
&gt; Cheers,
&gt; 
&gt; Vincent
&gt; 
&gt;&gt; degree of collaboration. I think you would also get a model that is more
&gt;&gt; complete for things like blogs, wikis, and books.
&gt;&gt;
&gt;&gt; Any thoughts? I've CC'd Vincent too as I'm not sure he's on this list.
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt;
&gt;&gt; Jason
&gt;&gt;
&gt;&gt; ----------------------------------------------------------
&gt;&gt; Jason van Zyl
&gt;&gt; Founder,  Apache Maven
&gt;&gt; jason at sonatype dot com
&gt;&gt; ----------------------------------------------------------
&gt;&gt;
&gt;&gt; People develop abstractions by generalizing from concrete examples.
&gt;&gt; Every attempt to determine the correct abstraction on paper without
&gt;&gt; actually developing a running system is doomed to failure. No one
&gt;&gt; is that smart. A framework is a resuable design, so you develop it by
&gt;&gt; looking at the things it is supposed to be a design of. The more examples
&gt;&gt; you look at, the more general your framework will be.
&gt;&gt;
&gt;&gt;  -- Ralph Johnson &amp; Don Roberts, Patterns for Evolving Frameworks
&gt;&gt;
&gt;&gt;
&gt; 


-- 
Dennis Lundberg


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Doxia 1.1 with Maven 2.0.x and more (WAS: svn commit:	r740732 - in /maven/doxia: doxia/trunk/doxia-maven-plugin/pom.xml	site/pom.xml)</title>
<author><name>Vincent Siveton &lt;vincent.siveton@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c9ae367340902040711m6a121543t9038daf07ec023aa@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340902040711m6a121543t9038daf07ec023aa@mail-gmail-com%3e</id>
<updated>2009-02-04T15:11:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Jason,

2009/2/4 Jason van Zyl &lt;jvanzyl@sonatype.com&gt;:
&gt; What happened to doxia 1.0?

Doxia 1.0 should work as usually for Maven 2.0.x.
2.1.M3 should include 1.1

Cheers,

Vincent

&gt; On 4-Feb-09, at 5:39 AM, Vincent Siveton wrote:
&gt;
&gt;&gt; Hi guys,
&gt;&gt;
&gt;&gt; The good news is that using the shade plugin, I was able to run a the
&gt;&gt; latest Doxia plugin (using Doxia 1.1) with mvn 2.0.9 and 2.1.0.M2 and
&gt;&gt; site-plugin 2.0-beta-7.
&gt;&gt; The bad news, I don't know what are the potential side effects.
&gt;&gt;
&gt;&gt; You could do similar things for the pdf plugin [1]. Let's just add the
&gt;&gt; shade-plugin (and fix prerequisites), install and pdf:pdf : you will
&gt;&gt; be able to have a nice pdf.
&gt;&gt;
&gt;&gt; Comments welcome.
&gt;&gt;
&gt;&gt; Cheers,
&gt;&gt;
&gt;&gt; Vincent
&gt;&gt;
&gt;&gt; PS I didn't want to create another branch for this proof of concept so
&gt;&gt; I committed directly under the trunk, we could revert it if needed.
&gt;&gt;
&gt;&gt; [1]
&gt;&gt; https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-pdf-plugin
&gt;&gt;
&gt;&gt; ---------- Forwarded message ----------
&gt;&gt; From:  &lt;vsiveton@apache.org&gt;
&gt;&gt; Date: 2009/2/4
&gt;&gt; Subject: svn commit: r740732 - in /maven/doxia:
&gt;&gt; doxia/trunk/doxia-maven-plugin/pom.xml site/pom.xml
&gt;&gt; To: doxia-commits@maven.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt; Author: vsiveton
&gt;&gt; Date: Wed Feb  4 13:28:25 2009
&gt;&gt; New Revision: 740732
&gt;&gt;
&gt;&gt; URL: http://svn.apache.org/viewvc?rev=740732&amp;view=rev
&gt;&gt; Log:
&gt;&gt; MNG-3402: MavenArtifactFilterManager needs to not filtering doxia-sink-api
&gt;&gt;
&gt;&gt; o proof of concept for a workaround using shade-plugin
&gt;&gt; o mvn site on the Doxia site generates correctly the site using Maven
&gt;&gt; 2.0.9 and 2.1.0.M2
&gt;&gt;
&gt;&gt; Modified:
&gt;&gt;  maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
&gt;&gt;  maven/doxia/site/pom.xml
&gt;&gt;
&gt;&gt; Modified: maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
&gt;&gt; URL:
&gt;&gt; http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml?rev=740732&amp;r1=740731&amp;r2=740732&amp;view=diff
&gt;&gt;
&gt;&gt; ==============================================================================
&gt;&gt; --- maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml (original)
&gt;&gt; +++ maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml Wed Feb  4 13:28:25
&gt;&gt; 2009
&gt;&gt; @@ -51,6 +51,49 @@
&gt;&gt;     &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt;&gt;   &lt;/dependency&gt;
&gt;&gt;   &lt;dependency&gt;
&gt;&gt; +      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
&gt;&gt; +      &lt;artifactId&gt;doxia-core&lt;/artifactId&gt;
&gt;&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt;&gt; +    &lt;/dependency&gt;
&gt;&gt; +    &lt;dependency&gt;
&gt;&gt; +      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
&gt;&gt; +      &lt;artifactId&gt;doxia-logging-api&lt;/artifactId&gt;
&gt;&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt;&gt; +    &lt;/dependency&gt;
&gt;&gt; +
&gt;&gt; +    &lt;!-- doxia modules ordered --&gt;
&gt;&gt; +    &lt;dependency&gt;
&gt;&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt;&gt; +      &lt;artifactId&gt;doxia-module-apt&lt;/artifactId&gt;
&gt;&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt;&gt; +    &lt;/dependency&gt;
&gt;&gt; +    &lt;dependency&gt;
&gt;&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt;&gt; +      &lt;artifactId&gt;doxia-module-docbook-simple&lt;/artifactId&gt;
&gt;&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt;&gt; +    &lt;/dependency&gt;
&gt;&gt; +    &lt;dependency&gt;
&gt;&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt;&gt; +      &lt;artifactId&gt;doxia-module-itext&lt;/artifactId&gt;
&gt;&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt;&gt; +    &lt;/dependency&gt;
&gt;&gt; +    &lt;dependency&gt;
&gt;&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt;&gt; +      &lt;artifactId&gt;doxia-module-latex&lt;/artifactId&gt;
&gt;&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt;&gt; +    &lt;/dependency&gt;
&gt;&gt; +    &lt;dependency&gt;
&gt;&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt;&gt; +      &lt;artifactId&gt;doxia-module-xdoc&lt;/artifactId&gt;
&gt;&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt;&gt; +    &lt;/dependency&gt;
&gt;&gt; +    &lt;dependency&gt;
&gt;&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt;&gt; +      &lt;artifactId&gt;doxia-module-xhtml&lt;/artifactId&gt;
&gt;&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt;&gt; +    &lt;/dependency&gt;
&gt;&gt; +
&gt;&gt; +    &lt;dependency&gt;
&gt;&gt;     &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
&gt;&gt;     &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
&gt;&gt;   &lt;/dependency&gt;
&gt;&gt; @@ -61,6 +104,42 @@
&gt;&gt;   &lt;/dependency&gt;
&gt;&gt;  &lt;/dependencies&gt;
&gt;&gt;
&gt;&gt; +  &lt;build&gt;
&gt;&gt; +    &lt;plugins&gt;
&gt;&gt; +      &lt;!-- Backward compatibility with Maven 2.0.x (MNG-3402) --&gt;
&gt;&gt; +      &lt;plugin&gt;
&gt;&gt; +        &lt;artifactId&gt;maven-shade-plugin&lt;/artifactId&gt;
&gt;&gt; +        &lt;version&gt;1.2&lt;/version&gt;
&gt;&gt; +        &lt;executions&gt;
&gt;&gt; +          &lt;execution&gt;
&gt;&gt; +            &lt;phase&gt;package&lt;/phase&gt;
&gt;&gt; +            &lt;goals&gt;
&gt;&gt; +              &lt;goal&gt;shade&lt;/goal&gt;
&gt;&gt; +            &lt;/goals&gt;
&gt;&gt; +            &lt;configuration&gt;
&gt;&gt; +              &lt;finalName&gt;${project.build.finalName}&lt;/finalName&gt;
&gt;&gt; +              &lt;createDependencyReducedPom&gt;
&gt;&gt; +                false
&gt;&gt; +              &lt;/createDependencyReducedPom&gt;
&gt;&gt; +              &lt;keepDependenciesWithProvidedScope&gt;
&gt;&gt; +                true
&gt;&gt; +              &lt;/keepDependenciesWithProvidedScope&gt;
&gt;&gt; +              &lt;transformers&gt;
&gt;&gt; +                &lt;transformer
&gt;&gt;
&gt;&gt; implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer"
&gt;&gt; /&gt;
&gt;&gt; +              &lt;/transformers&gt;
&gt;&gt; +              &lt;artifactSet&gt;
&gt;&gt; +                &lt;includes&gt;
&gt;&gt; +
&gt;&gt;  &lt;include&gt;org.apache.maven.doxia:doxia-sink-api&lt;/include&gt;
&gt;&gt; +
&gt;&gt;  &lt;include&gt;org.apache.maven.doxia:doxia-logging-api&lt;/include&gt;
&gt;&gt; +                &lt;/includes&gt;
&gt;&gt; +              &lt;/artifactSet&gt;
&gt;&gt; +            &lt;/configuration&gt;
&gt;&gt; +          &lt;/execution&gt;
&gt;&gt; +        &lt;/executions&gt;
&gt;&gt; +      &lt;/plugin&gt;
&gt;&gt; +    &lt;/plugins&gt;
&gt;&gt; +  &lt;/build&gt;
&gt;&gt; +
&gt;&gt;  &lt;reporting&gt;
&gt;&gt;   &lt;plugins&gt;
&gt;&gt;     &lt;plugin&gt;
&gt;&gt;
&gt;&gt; Modified: maven/doxia/site/pom.xml
&gt;&gt; URL:
&gt;&gt; http://svn.apache.org/viewvc/maven/doxia/site/pom.xml?rev=740732&amp;r1=740731&amp;r2=740732&amp;view=diff
&gt;&gt;
&gt;&gt; ==============================================================================
&gt;&gt; --- maven/doxia/site/pom.xml (original)
&gt;&gt; +++ maven/doxia/site/pom.xml Wed Feb  4 13:28:25 2009
&gt;&gt; @@ -147,7 +147,7 @@
&gt;&gt;     &lt;plugin&gt;
&gt;&gt;       &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt;&gt;       &lt;artifactId&gt;doxia-maven-plugin&lt;/artifactId&gt;
&gt;&gt; -        &lt;version&gt;1.0-alpha-10&lt;/version&gt;
&gt;&gt; +        &lt;version&gt;1.1-SNAPSHOT&lt;/version&gt;
&gt;&gt;       &lt;executions&gt;
&gt;&gt;         &lt;execution&gt;
&gt;&gt;           &lt;phase&gt;pre-site&lt;/phase&gt;
&gt;
&gt; Thanks,
&gt;
&gt; Jason
&gt;
&gt; ----------------------------------------------------------
&gt; Jason van Zyl
&gt; Founder,  Apache Maven
&gt; jason at sonatype dot com
&gt; ----------------------------------------------------------
&gt;
&gt; the course of true love never did run smooth ...
&gt;
&gt;  -- Shakespeare
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Using Doxia 1.1 with Maven 2.0.x and more (WAS: svn commit: r740732 - in /maven/doxia: doxia/trunk/doxia-maven-plugin/pom.xml site/pom.xml)</title>
<author><name>Jason van Zyl &lt;jvanzyl@sonatype.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c1DCA5D7F-8CAA-492B-8B43-E4905CFDAB28@sonatype.com%3e"/>
<id>urn:uuid:%3c1DCA5D7F-8CAA-492B-8B43-E4905CFDAB28@sonatype-com%3e</id>
<updated>2009-02-04T14:41:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
What happened to doxia 1.0?

On 4-Feb-09, at 5:39 AM, Vincent Siveton wrote:

&gt; Hi guys,
&gt;
&gt; The good news is that using the shade plugin, I was able to run a the
&gt; latest Doxia plugin (using Doxia 1.1) with mvn 2.0.9 and 2.1.0.M2 and
&gt; site-plugin 2.0-beta-7.
&gt; The bad news, I don't know what are the potential side effects.
&gt;
&gt; You could do similar things for the pdf plugin [1]. Let's just add the
&gt; shade-plugin (and fix prerequisites), install and pdf:pdf : you will
&gt; be able to have a nice pdf.
&gt;
&gt; Comments welcome.
&gt;
&gt; Cheers,
&gt;
&gt; Vincent
&gt;
&gt; PS I didn't want to create another branch for this proof of concept so
&gt; I committed directly under the trunk, we could revert it if needed.
&gt;
&gt; [1] https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-pdf-plugin
&gt;
&gt; ---------- Forwarded message ----------
&gt; From:  &lt;vsiveton@apache.org&gt;
&gt; Date: 2009/2/4
&gt; Subject: svn commit: r740732 - in /maven/doxia:
&gt; doxia/trunk/doxia-maven-plugin/pom.xml site/pom.xml
&gt; To: doxia-commits@maven.apache.org
&gt;
&gt;
&gt; Author: vsiveton
&gt; Date: Wed Feb  4 13:28:25 2009
&gt; New Revision: 740732
&gt;
&gt; URL: http://svn.apache.org/viewvc?rev=740732&amp;view=rev
&gt; Log:
&gt; MNG-3402: MavenArtifactFilterManager needs to not filtering doxia- 
&gt; sink-api
&gt;
&gt; o proof of concept for a workaround using shade-plugin
&gt; o mvn site on the Doxia site generates correctly the site using Maven
&gt; 2.0.9 and 2.1.0.M2
&gt;
&gt; Modified:
&gt;   maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
&gt;   maven/doxia/site/pom.xml
&gt;
&gt; Modified: maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
&gt; URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml?rev=740732&amp;r1=740731&amp;r2=740732&amp;view=diff
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; ======================================================================
&gt; --- maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml (original)
&gt; +++ maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml Wed Feb  4  
&gt; 13:28:25 2009
&gt; @@ -51,6 +51,49 @@
&gt;      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt;    &lt;/dependency&gt;
&gt;    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-core&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-logging-api&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +
&gt; +    &lt;!-- doxia modules ordered --&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-module-apt&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-module-docbook-simple&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-module-itext&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-module-latex&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-module-xdoc&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +    &lt;dependency&gt;
&gt; +      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt; +      &lt;artifactId&gt;doxia-module-xhtml&lt;/artifactId&gt;
&gt; +      &lt;version&gt;${projectVersion}&lt;/version&gt;
&gt; +    &lt;/dependency&gt;
&gt; +
&gt; +    &lt;dependency&gt;
&gt;      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
&gt;      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
&gt;    &lt;/dependency&gt;
&gt; @@ -61,6 +104,42 @@
&gt;    &lt;/dependency&gt;
&gt;  &lt;/dependencies&gt;
&gt;
&gt; +  &lt;build&gt;
&gt; +    &lt;plugins&gt;
&gt; +      &lt;!-- Backward compatibility with Maven 2.0.x (MNG-3402) --&gt;
&gt; +      &lt;plugin&gt;
&gt; +        &lt;artifactId&gt;maven-shade-plugin&lt;/artifactId&gt;
&gt; +        &lt;version&gt;1.2&lt;/version&gt;
&gt; +        &lt;executions&gt;
&gt; +          &lt;execution&gt;
&gt; +            &lt;phase&gt;package&lt;/phase&gt;
&gt; +            &lt;goals&gt;
&gt; +              &lt;goal&gt;shade&lt;/goal&gt;
&gt; +            &lt;/goals&gt;
&gt; +            &lt;configuration&gt;
&gt; +              &lt;finalName&gt;${project.build.finalName}&lt;/finalName&gt;
&gt; +              &lt;createDependencyReducedPom&gt;
&gt; +                false
&gt; +              &lt;/createDependencyReducedPom&gt;
&gt; +              &lt;keepDependenciesWithProvidedScope&gt;
&gt; +                true
&gt; +              &lt;/keepDependenciesWithProvidedScope&gt;
&gt; +              &lt;transformers&gt;
&gt; +                &lt;transformer
&gt; implementation 
&gt; = 
&gt; "org 
&gt; .apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer"
&gt; /&gt;
&gt; +              &lt;/transformers&gt;
&gt; +              &lt;artifactSet&gt;
&gt; +                &lt;includes&gt;
&gt; +                  &lt;include&gt;org.apache.maven.doxia:doxia-sink-api&lt;/ 
&gt; include&gt;
&gt; +                  &lt;include&gt;org.apache.maven.doxia:doxia-logging- 
&gt; api&lt;/include&gt;
&gt; +                &lt;/includes&gt;
&gt; +              &lt;/artifactSet&gt;
&gt; +            &lt;/configuration&gt;
&gt; +          &lt;/execution&gt;
&gt; +        &lt;/executions&gt;
&gt; +      &lt;/plugin&gt;
&gt; +    &lt;/plugins&gt;
&gt; +  &lt;/build&gt;
&gt; +
&gt;  &lt;reporting&gt;
&gt;    &lt;plugins&gt;
&gt;      &lt;plugin&gt;
&gt;
&gt; Modified: maven/doxia/site/pom.xml
&gt; URL: http://svn.apache.org/viewvc/maven/doxia/site/pom.xml?rev=740732&amp;r1=740731&amp;r2=740732&amp;view=diff
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; = 
&gt; ======================================================================
&gt; --- maven/doxia/site/pom.xml (original)
&gt; +++ maven/doxia/site/pom.xml Wed Feb  4 13:28:25 2009
&gt; @@ -147,7 +147,7 @@
&gt;      &lt;plugin&gt;
&gt;        &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
&gt;        &lt;artifactId&gt;doxia-maven-plugin&lt;/artifactId&gt;
&gt; -        &lt;version&gt;1.0-alpha-10&lt;/version&gt;
&gt; +        &lt;version&gt;1.1-SNAPSHOT&lt;/version&gt;
&gt;        &lt;executions&gt;
&gt;          &lt;execution&gt;
&gt;            &lt;phase&gt;pre-site&lt;/phase&gt;

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

the course of true love never did run smooth ...

  -- Shakespeare



</pre>
</div>
</content>
</entry>
<entry>
<title>Using Doxia 1.1 with Maven 2.0.x and more (WAS: svn commit: r740732 -	in /maven/doxia: doxia/trunk/doxia-maven-plugin/pom.xml site/pom.xml)</title>
<author><name>Vincent Siveton &lt;vsiveton@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200902.mbox/%3c9ae367340902040539v1cf600e0wec65a041e3e17c4d@mail.gmail.com%3e"/>
<id>urn:uuid:%3c9ae367340902040539v1cf600e0wec65a041e3e17c4d@mail-gmail-com%3e</id>
<updated>2009-02-04T13:39:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi guys,

The good news is that using the shade plugin, I was able to run a the
latest Doxia plugin (using Doxia 1.1) with mvn 2.0.9 and 2.1.0.M2 and
site-plugin 2.0-beta-7.
The bad news, I don't know what are the potential side effects.

You could do similar things for the pdf plugin [1]. Let's just add the
shade-plugin (and fix prerequisites), install and pdf:pdf : you will
be able to have a nice pdf.

Comments welcome.

Cheers,

Vincent

PS I didn't want to create another branch for this proof of concept so
I committed directly under the trunk, we could revert it if needed.

[1] https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-pdf-plugin

---------- Forwarded message ----------
From:  &lt;vsiveton@apache.org&gt;
Date: 2009/2/4
Subject: svn commit: r740732 - in /maven/doxia:
doxia/trunk/doxia-maven-plugin/pom.xml site/pom.xml
To: doxia-commits@maven.apache.org


Author: vsiveton
Date: Wed Feb  4 13:28:25 2009
New Revision: 740732

URL: http://svn.apache.org/viewvc?rev=740732&amp;view=rev
Log:
MNG-3402: MavenArtifactFilterManager needs to not filtering doxia-sink-api

o proof of concept for a workaround using shade-plugin
o mvn site on the Doxia site generates correctly the site using Maven
2.0.9 and 2.1.0.M2

Modified:
   maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
   maven/doxia/site/pom.xml

Modified: maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml?rev=740732&amp;r1=740731&amp;r2=740732&amp;view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml (original)
+++ maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml Wed Feb  4 13:28:25 2009
@@ -51,6 +51,49 @@
      &lt;version&gt;${projectVersion}&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
+      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
+      &lt;artifactId&gt;doxia-core&lt;/artifactId&gt;
+      &lt;version&gt;${projectVersion}&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
+      &lt;artifactId&gt;doxia-logging-api&lt;/artifactId&gt;
+      &lt;version&gt;${projectVersion}&lt;/version&gt;
+    &lt;/dependency&gt;
+
+    &lt;!-- doxia modules ordered --&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
+      &lt;artifactId&gt;doxia-module-apt&lt;/artifactId&gt;
+      &lt;version&gt;${projectVersion}&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
+      &lt;artifactId&gt;doxia-module-docbook-simple&lt;/artifactId&gt;
+      &lt;version&gt;${projectVersion}&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
+      &lt;artifactId&gt;doxia-module-itext&lt;/artifactId&gt;
+      &lt;version&gt;${projectVersion}&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
+      &lt;artifactId&gt;doxia-module-latex&lt;/artifactId&gt;
+      &lt;version&gt;${projectVersion}&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
+      &lt;artifactId&gt;doxia-module-xdoc&lt;/artifactId&gt;
+      &lt;version&gt;${projectVersion}&lt;/version&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
+      &lt;artifactId&gt;doxia-module-xhtml&lt;/artifactId&gt;
+      &lt;version&gt;${projectVersion}&lt;/version&gt;
+    &lt;/dependency&gt;
+
+    &lt;dependency&gt;
      &lt;groupId&gt;org.codehaus.plexus&lt;/groupId&gt;
      &lt;artifactId&gt;plexus-utils&lt;/artifactId&gt;
    &lt;/dependency&gt;
@@ -61,6 +104,42 @@
    &lt;/dependency&gt;
  &lt;/dependencies&gt;

+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;!-- Backward compatibility with Maven 2.0.x (MNG-3402) --&gt;
+      &lt;plugin&gt;
+        &lt;artifactId&gt;maven-shade-plugin&lt;/artifactId&gt;
+        &lt;version&gt;1.2&lt;/version&gt;
+        &lt;executions&gt;
+          &lt;execution&gt;
+            &lt;phase&gt;package&lt;/phase&gt;
+            &lt;goals&gt;
+              &lt;goal&gt;shade&lt;/goal&gt;
+            &lt;/goals&gt;
+            &lt;configuration&gt;
+              &lt;finalName&gt;${project.build.finalName}&lt;/finalName&gt;
+              &lt;createDependencyReducedPom&gt;
+                false
+              &lt;/createDependencyReducedPom&gt;
+              &lt;keepDependenciesWithProvidedScope&gt;
+                true
+              &lt;/keepDependenciesWithProvidedScope&gt;
+              &lt;transformers&gt;
+                &lt;transformer
implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer"
/&gt;
+              &lt;/transformers&gt;
+              &lt;artifactSet&gt;
+                &lt;includes&gt;
+                  &lt;include&gt;org.apache.maven.doxia:doxia-sink-api&lt;/include&gt;
+                  &lt;include&gt;org.apache.maven.doxia:doxia-logging-api&lt;/include&gt;
+                &lt;/includes&gt;
+              &lt;/artifactSet&gt;
+            &lt;/configuration&gt;
+          &lt;/execution&gt;
+        &lt;/executions&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+
  &lt;reporting&gt;
    &lt;plugins&gt;
      &lt;plugin&gt;

Modified: maven/doxia/site/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/site/pom.xml?rev=740732&amp;r1=740731&amp;r2=740732&amp;view=diff
==============================================================================
--- maven/doxia/site/pom.xml (original)
+++ maven/doxia/site/pom.xml Wed Feb  4 13:28:25 2009
@@ -147,7 +147,7 @@
      &lt;plugin&gt;
        &lt;groupId&gt;org.apache.maven.doxia&lt;/groupId&gt;
        &lt;artifactId&gt;doxia-maven-plugin&lt;/artifactId&gt;
-        &lt;version&gt;1.0-alpha-10&lt;/version&gt;
+        &lt;version&gt;1.1-SNAPSHOT&lt;/version&gt;
        &lt;executions&gt;
          &lt;execution&gt;
            &lt;phase&gt;pre-site&lt;/phase&gt;


</pre>
</div>
</content>
</entry>
</feed>
