[ 
https://jira.codehaus.org/browse/DOXIASITETOOLS-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=271741#comment-271741
 ] 

Andres Gomez Casanova commented on DOXIASITETOOLS-61:
-----------------------------------------------------

Ok I got it!
I just wanted to have the lasted version for my site plugin, and I was using 
the 3.0-beta-3 version, with the latest xsd (1.1.0) for the site.xml. However 
this is not compatible:

[INFO] --- maven-site-plugin:3.0-beta-3:site (default-site) @ site ---
[INFO] configuring report plugin 
org.apache.maven.plugins:maven-project-info-reports-plugin:2.4
[INFO] configuring report plugin net.sf.mgaip:mgaip:1.1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.660s
[INFO] Finished at: Tue Jun 28 09:56:59 COT 2011
[INFO] Final Memory: 13M/176M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site (default-site) on 
project site: SiteToolException: Error par
sing site descriptor: Unrecognised tag: 'footer' (position: START_TAG seen 
...</menu>\r\n\r\n<footer>... @68:9) -> [Help 1]

I just changed the site plugin version to 2.3 with the same xsd 1.1.0 and it 
works.
Thus, there must be a problem with that xsd 1.1.0 with the version 3.0-beta-3

The site plugin 2.3 that uses doxia sitetools 1.2 works fine with 1.1.0 xsd.



> Publish decoration-1.1.0.xsd
> ----------------------------
>
>                 Key: DOXIASITETOOLS-61
>                 URL: https://jira.codehaus.org/browse/DOXIASITETOOLS-61
>             Project: Maven Doxia Sitetools
>          Issue Type: Task
>          Components: Doc renderer
>         Environment: Windows 7
>            Reporter: Andres Gomez Casanova
>            Assignee: Dennis Lundberg
>
> I was creating a site.xml, and I was looking for the documentation. I found 
> the xsd for the version 1.1.0, however, this version is still not supported 
> when executing mvn site.
> The documentation is here:
> http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration-model/decoration.html
> and options like Google Analytics are new but not supported for normal plugin.
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:2.0.1:site (default-site) on 
> project site: SiteToolException: Error parsing site descriptor: Unrecognised 
> tag: 'googleAnalyticsAccountId' (position: START_TAG seen 
> ...</bannerRight>\r\n  <googleAnalyticsAccountId>... @16:29) - [Help 1]
> Even, the address for the xsd is not valid:
> http://maven.apache.org/xsd/decoration-1.1.0.xsd
> The only versions there are 1.0.0 and 1.0.1.
> I think this documentation is for tests, but was published in production.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to