On 2010-06-27 18:43, Simone Tripodi wrote:
> Hi all guys,
> I've been successfully using the APT format for ages to generate the
> maven site and recently (maybe using the latest site-plugin version) I
> noticed that for code parts, like
> 
> ----------------------------------------
> <dependencies>
>     ...
>     <dependency>
>         <groupId>com.acme</groupId>
>         <artifactId>acme-core</artifactId>
>         <version>XX.XX</version>
>     </dependency>
>     ...
> </dependencies>
> ----------------------------------------
> 
> are translated as below
> 
> <div><pre>...</pre></div>
> 
> and not more
> 
> <div class="source"><pre>...</pre></div>
> 
> Is that a bug or a desired behavior? Thanks in advance!

You are most likely experiencing the fix for
http://jira.codehaus.org/browse/DOXIA-294

Try using this syntax instead:

+---------------------------------------
<dependencies>
    ...
    <dependency>
        <groupId>com.acme</groupId>
        <artifactId>acme-core</artifactId>
        <version>XX.XX</version>
    </dependency>
    ...
</dependencies>
+---------------------------------------


> Simo
> 
> http://people.apache.org/~simonetripodi/
> http://www.99soft.org/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to