You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jakob Vad Nielsen (JIRA)" <ji...@codehaus.org> on 2009/03/03 14:35:12 UTC

[jira] Created: (DOXIA-294) Problems with Doxia

Problems with Doxia
-------------------

                 Key: DOXIA-294
                 URL: http://jira.codehaus.org/browse/DOXIA-294
             Project: Maven Doxia
          Issue Type: Bug
          Components: Module - Apt, Site Renderer
    Affects Versions: 1.0, 1.0-alpha-11
         Environment: Max OS X (Leopard), Sun Java 1.5.0_16. Maven 2.0.10
            Reporter: Jakob Vad Nielsen
         Attachments: dump.txt, proof.zip

It seems to me that there are a mess on what Doxia packages versions that are chosen when rendering a site with mvn site:site. See the attached dump.txt. It seems to me that version 1.0 of doxia is not chosen. And that older versions are used.

I have added this to my pom.xml

plugin>
  <groupId>org.apache.maven.doxia</groupId>
  <artifactId>doxia-maven-plugin</artifactId>
   <version>1.0</version>
</plugin>

I discovered this when trying to find out why verbatime text doesn't work like it did before from an apt file.

-------------------------
Verbatime
-------------------------

gives thes same markup as

+----------------------+
Verbatime 2
+----------------------+

Both are converted into <div class="source"><pre>Verbatime</pre></div>. This is a new bug that I haven't seen before. 

I have attached a small maven project that demonstrates this. demo.html generated with site:site demonstrates the problem.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DOXIA-294) Problems with Doxia

Posted by "Jakob Vad Nielsen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167972#action_167972 ] 

Jakob Vad Nielsen commented on DOXIA-294:
-----------------------------------------

It might be me that do not understand the dependencies correctly. But why are older versions of Doxia used?

e.g.:

[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:6 for project: org.apache.maven.doxia:doxia:pom:1.0-alpha-10 from the repository.
[DEBUG] Adding managed dependencies for unknown:doxia-core
[DEBUG]   org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-10
[DEBUG]   org.apache.maven.doxia:doxia-core:jar:1.0-alpha-10
[DEBUG]   org.apache.maven.doxia:doxia-core:jar:tests:1.0-alpha-10

Or am I reading it wrong?

But the important issue for me here is that I do not get different markup for ----------- ad + ----------- + anymore. Up until last week I was able to separate these verbatims from eachother via my special maven theme. Now it gives me the exact same output.

> Problems with Doxia
> -------------------
>
>                 Key: DOXIA-294
>                 URL: http://jira.codehaus.org/browse/DOXIA-294
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Apt, Site Renderer
>    Affects Versions: 1.0-alpha-11, 1.0
>         Environment: Max OS X (Leopard), Sun Java 1.5.0_16. Maven 2.0.10
>            Reporter: Jakob Vad Nielsen
>         Attachments: dump.txt, proof.zip
>
>
> It seems to me that there are a mess on what Doxia packages versions that are chosen when rendering a site with mvn site:site. See the attached dump.txt. It seems to me that version 1.0 of doxia is not chosen. And that older versions are used.
> I have added this to my pom.xml
> plugin>
>   <groupId>org.apache.maven.doxia</groupId>
>   <artifactId>doxia-maven-plugin</artifactId>
>    <version>1.0</version>
> </plugin>
> I discovered this when trying to find out why verbatime text doesn't work like it did before from an apt file.
> -------------------------
> Verbatime
> -------------------------
> gives thes same markup as
> +----------------------+
> Verbatime 2
> +----------------------+
> Both are converted into <div class="source"><pre>Verbatime</pre></div>. This is a new bug that I haven't seen before. 
> I have attached a small maven project that demonstrates this. demo.html generated with site:site demonstrates the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (DOXIA-294) Apt verbatim box not correct

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIA-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed DOXIA-294.
-------------------------------

      Assignee: Lukas Theussl
    Resolution: Fixed

Fixed in r751515

> Apt verbatim box not correct
> ----------------------------
>
>                 Key: DOXIA-294
>                 URL: http://jira.codehaus.org/browse/DOXIA-294
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Apt, Site Renderer
>    Affects Versions: 1.1
>         Environment: Max OS X (Leopard), Sun Java 1.5.0_16. Maven 2.0.10
>            Reporter: Jakob Vad Nielsen
>            Assignee: Lukas Theussl
>             Fix For: 1.1.1
>
>         Attachments: dump.txt, proof.zip
>
>
> It seems to me that there are a mess on what Doxia packages versions that are chosen when rendering a site with mvn site:site. See the attached dump.txt. It seems to me that version 1.0 of doxia is not chosen. And that older versions are used.
> I have added this to my pom.xml
> plugin>
>   <groupId>org.apache.maven.doxia</groupId>
>   <artifactId>doxia-maven-plugin</artifactId>
>    <version>1.0</version>
> </plugin>
> I discovered this when trying to find out why verbatime text doesn't work like it did before from an apt file.
> -------------------------
> Verbatime
> -------------------------
> gives thes same markup as
> +----------------------+
> Verbatime 2
> +----------------------+
> Both are converted into <div class="source"><pre>Verbatime</pre></div>. This is a new bug that I haven't seen before. 
> I have attached a small maven project that demonstrates this. demo.html generated with site:site demonstrates the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DOXIA-294) Apt verbatim box not correct

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=168147#action_168147 ] 

Lukas Theussl commented on DOXIA-294:
-------------------------------------

The different versions are the versions used by various transitive dependencies, they are not all used actually in the final classpath.

I confirm the verbatim box issue, we'll fix it after the 1.1 release.

> Apt verbatim box not correct
> ----------------------------
>
>                 Key: DOXIA-294
>                 URL: http://jira.codehaus.org/browse/DOXIA-294
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Apt, Site Renderer
>    Affects Versions: 1.1
>         Environment: Max OS X (Leopard), Sun Java 1.5.0_16. Maven 2.0.10
>            Reporter: Jakob Vad Nielsen
>             Fix For: 1.1.1
>
>         Attachments: dump.txt, proof.zip
>
>
> It seems to me that there are a mess on what Doxia packages versions that are chosen when rendering a site with mvn site:site. See the attached dump.txt. It seems to me that version 1.0 of doxia is not chosen. And that older versions are used.
> I have added this to my pom.xml
> plugin>
>   <groupId>org.apache.maven.doxia</groupId>
>   <artifactId>doxia-maven-plugin</artifactId>
>    <version>1.0</version>
> </plugin>
> I discovered this when trying to find out why verbatime text doesn't work like it did before from an apt file.
> -------------------------
> Verbatime
> -------------------------
> gives thes same markup as
> +----------------------+
> Verbatime 2
> +----------------------+
> Both are converted into <div class="source"><pre>Verbatime</pre></div>. This is a new bug that I haven't seen before. 
> I have attached a small maven project that demonstrates this. demo.html generated with site:site demonstrates the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DOXIA-294) Problems with Doxia

Posted by "Jakob Vad Nielsen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167724#action_167724 ] 

Jakob Vad Nielsen commented on DOXIA-294:
-----------------------------------------

The second verbatime lines came out the wrong way. Should have been a single line with plus in front and rear.

+ - - - - - - -  + (without the spaces)

> Problems with Doxia
> -------------------
>
>                 Key: DOXIA-294
>                 URL: http://jira.codehaus.org/browse/DOXIA-294
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Apt, Site Renderer
>    Affects Versions: 1.0-alpha-11, 1.0
>         Environment: Max OS X (Leopard), Sun Java 1.5.0_16. Maven 2.0.10
>            Reporter: Jakob Vad Nielsen
>         Attachments: dump.txt, proof.zip
>
>
> It seems to me that there are a mess on what Doxia packages versions that are chosen when rendering a site with mvn site:site. See the attached dump.txt. It seems to me that version 1.0 of doxia is not chosen. And that older versions are used.
> I have added this to my pom.xml
> plugin>
>   <groupId>org.apache.maven.doxia</groupId>
>   <artifactId>doxia-maven-plugin</artifactId>
>    <version>1.0</version>
> </plugin>
> I discovered this when trying to find out why verbatime text doesn't work like it did before from an apt file.
> -------------------------
> Verbatime
> -------------------------
> gives thes same markup as
> +----------------------+
> Verbatime 2
> +----------------------+
> Both are converted into <div class="source"><pre>Verbatime</pre></div>. This is a new bug that I haven't seen before. 
> I have attached a small maven project that demonstrates this. demo.html generated with site:site demonstrates the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DOXIA-294) Problems with Doxia

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=167969#action_167969 ] 

Lukas Theussl commented on DOXIA-294:
-------------------------------------

I don't see anything unusual in dump.txt, what exactly are you referring to? See also MNG-3402, (maven always uses the embedded doxia version).

The attached zip is empty, can you update it?

> Problems with Doxia
> -------------------
>
>                 Key: DOXIA-294
>                 URL: http://jira.codehaus.org/browse/DOXIA-294
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Apt, Site Renderer
>    Affects Versions: 1.0-alpha-11, 1.0
>         Environment: Max OS X (Leopard), Sun Java 1.5.0_16. Maven 2.0.10
>            Reporter: Jakob Vad Nielsen
>         Attachments: dump.txt, proof.zip
>
>
> It seems to me that there are a mess on what Doxia packages versions that are chosen when rendering a site with mvn site:site. See the attached dump.txt. It seems to me that version 1.0 of doxia is not chosen. And that older versions are used.
> I have added this to my pom.xml
> plugin>
>   <groupId>org.apache.maven.doxia</groupId>
>   <artifactId>doxia-maven-plugin</artifactId>
>    <version>1.0</version>
> </plugin>
> I discovered this when trying to find out why verbatime text doesn't work like it did before from an apt file.
> -------------------------
> Verbatime
> -------------------------
> gives thes same markup as
> +----------------------+
> Verbatime 2
> +----------------------+
> Both are converted into <div class="source"><pre>Verbatime</pre></div>. This is a new bug that I haven't seen before. 
> I have attached a small maven project that demonstrates this. demo.html generated with site:site demonstrates the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DOXIA-294) Apt verbatim box not correct

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIA-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl updated DOXIA-294:
--------------------------------

    Affects Version/s:     (was: 1.0)
                           (was: 1.0-alpha-11)
                       1.1
        Fix Version/s: 1.1.1
              Summary: Apt verbatim box not correct  (was: Problems with Doxia)

> Apt verbatim box not correct
> ----------------------------
>
>                 Key: DOXIA-294
>                 URL: http://jira.codehaus.org/browse/DOXIA-294
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Apt, Site Renderer
>    Affects Versions: 1.1
>         Environment: Max OS X (Leopard), Sun Java 1.5.0_16. Maven 2.0.10
>            Reporter: Jakob Vad Nielsen
>             Fix For: 1.1.1
>
>         Attachments: dump.txt, proof.zip
>
>
> It seems to me that there are a mess on what Doxia packages versions that are chosen when rendering a site with mvn site:site. See the attached dump.txt. It seems to me that version 1.0 of doxia is not chosen. And that older versions are used.
> I have added this to my pom.xml
> plugin>
>   <groupId>org.apache.maven.doxia</groupId>
>   <artifactId>doxia-maven-plugin</artifactId>
>    <version>1.0</version>
> </plugin>
> I discovered this when trying to find out why verbatime text doesn't work like it did before from an apt file.
> -------------------------
> Verbatime
> -------------------------
> gives thes same markup as
> +----------------------+
> Verbatime 2
> +----------------------+
> Both are converted into <div class="source"><pre>Verbatime</pre></div>. This is a new bug that I haven't seen before. 
> I have attached a small maven project that demonstrates this. demo.html generated with site:site demonstrates the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (DOXIA-294) Apt verbatim box not correct

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=168704#action_168704 ] 

Lukas Theussl commented on DOXIA-294:
-------------------------------------

I just realized that we have the same problem in 1.0 too. It's a different issue though, for 1.1 the bug was in AptParser (this one I fixed), for 1.0 it's in XhtmlSink. The effect is the same, verbatim blocks are always boxed. I'm not sure if we'll do a 1.0.1 release but I'll open another issue for it.

> Apt verbatim box not correct
> ----------------------------
>
>                 Key: DOXIA-294
>                 URL: http://jira.codehaus.org/browse/DOXIA-294
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Apt, Site Renderer
>    Affects Versions: 1.1
>         Environment: Max OS X (Leopard), Sun Java 1.5.0_16. Maven 2.0.10
>            Reporter: Jakob Vad Nielsen
>            Assignee: Lukas Theussl
>             Fix For: 1.1.1
>
>         Attachments: dump.txt, proof.zip
>
>
> It seems to me that there are a mess on what Doxia packages versions that are chosen when rendering a site with mvn site:site. See the attached dump.txt. It seems to me that version 1.0 of doxia is not chosen. And that older versions are used.
> I have added this to my pom.xml
> plugin>
>   <groupId>org.apache.maven.doxia</groupId>
>   <artifactId>doxia-maven-plugin</artifactId>
>    <version>1.0</version>
> </plugin>
> I discovered this when trying to find out why verbatime text doesn't work like it did before from an apt file.
> -------------------------
> Verbatime
> -------------------------
> gives thes same markup as
> +----------------------+
> Verbatime 2
> +----------------------+
> Both are converted into <div class="source"><pre>Verbatime</pre></div>. This is a new bug that I haven't seen before. 
> I have attached a small maven project that demonstrates this. demo.html generated with site:site demonstrates the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira