[jira] Created: (DOXIASITETOOLS-61) decoration-1.1.0.xsd

2011-06-26 Thread Andres Gomez Casanova (JIRA)
decoration-1.1.0.xsd


 Key: DOXIASITETOOLS-61
 URL: https://jira.codehaus.org/browse/DOXIASITETOOLS-61
 Project: Maven Doxia Sitetools
  Issue Type: Bug
  Components: Doc renderer
 Environment: Windows 7
Reporter: Andres Gomez Casanova


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 ...\r\n  
... @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




[jira] Created: (MSITE-589) Invalid image assignation in html

2011-06-26 Thread Andres Gomez Casanova (JIRA)
Invalid image assignation in html
-

 Key: MSITE-589
 URL: https://jira.codehaus.org/browse/MSITE-589
 Project: Maven 2.x and 3.x Site Plugin
  Issue Type: Bug
  Components: doxia integration
Affects Versions: 3.0-beta-3, 3.0-beta-2, 3.0-beta-1, 2.3, 2.2, 2.1.1, 2.1
 Environment: Windows 7
Maven 3
Java 6
Reporter: Andres Gomez Casanova
Priority: Critical
 Attachments: NewVersion2.png, NewVersion.png, OldVersion.png

I have a personal website created from Maven. I have two images in the upper 
part as banners, one photo and one logo. Also, I have a small logo in the 
navigation section.
Before, it worked perfectly, but since I updated everything to the latest 
version there are problems with the images and now I could see that the logos 
are not well placed.
The source code of my website is here:
http://zemucan.svn.sourceforge.net/viewvc/zemucan/branches/angoca/

I tested with different versions, and the bug appears since version 2.1. With 
version 2.0.1 and 2.0 works perfectly.
I attached two images, the oldVersion shows how it is supposed to be. The 
newVersion shows the bug, the plugin takes the second logo (rightbanner) and 
put it as a poweredBy. If I delete the right banner (just the left banner and 
the poweredBy) then it takes the left banner image and put as powered By.
As you can see, this is not a configuration problem because it used to work 
before. I just change the new maven-site-plugin version and then it fails.

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




[jira] Created: (MSITE-590) Images in links part could be alone without any text

2011-06-26 Thread Andres Gomez Casanova (JIRA)
Images in links part could be alone without any text


 Key: MSITE-590
 URL: https://jira.codehaus.org/browse/MSITE-590
 Project: Maven 2.x and 3.x Site Plugin
  Issue Type: New Feature
  Components: doxia integration, internationalization
Affects Versions: 3.0-beta-3
 Environment: Windows 7
Maven 3
Java 6
Reporter: Andres Gomez Casanova
 Attachments: Languages.png

In Maven, there is not an easy way to link the pages in different languages.
The site in English is completely independent to the site in French and in 
Spanish.
Normally, any site in different languages has a flag indicating the available 
languages.
I tried to do that with the links, by putting a flag image, but Maven site 
forces to include some text besides.
I would like have just the image, but not the text.

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




[jira] Created: (MSITE-591) Automatic language site selection by current locale

2011-06-26 Thread Andres Gomez Casanova (JIRA)
Automatic language site selection by current locale
---

 Key: MSITE-591
 URL: https://jira.codehaus.org/browse/MSITE-591
 Project: Maven 2.x and 3.x Site Plugin
  Issue Type: New Feature
  Components: internationalization
Affects Versions: 3.0-beta-3
Reporter: Andres Gomez Casanova


Maven site could generate different site for different languages, however, it 
would be really cool to show the language corresponding to the user's locale. I 
mean, if I visit my project site from France, it should show the France site 
automatically. If I visit from Colombia, the Spanish part. And from another 
country where the language is not translated the English part.
The main site, which is in English should check the current locale to see if 
there is a better page to show.
Currently, translated site are not very useful because they are not linked from 
English part.

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




[jira] Created: (MSITE-592) Available languages bar

2011-06-26 Thread Andres Gomez Casanova (JIRA)
Available languages bar
---

 Key: MSITE-592
 URL: https://jira.codehaus.org/browse/MSITE-592
 Project: Maven 2.x and 3.x Site Plugin
  Issue Type: New Feature
  Components: doxia integration
Affects Versions: 3.0-beta-3
Reporter: Andres Gomez Casanova
 Attachments: Languages.png

Maven does not include an easy way to integrate the different translated sites.
I propose to have a bar showing the available languages. Something similar to 
the attached image.
I did it manually, however it should exist an automatic option, that takes the 
locales from the POM.


 maven-site-plugin
  3.0-beta-3
   
en,fr,es

The link to each language could be the index.html, and not the corresponding 
page in other language, because sites in different languages could be different 
(different version, different pages, etc), at least the index.html is the entry 
point.

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




[jira] Commented: (DOXIASITETOOLS-61) Publish decoration-1.1.0.xsd

2011-06-27 Thread Andres Gomez Casanova (JIRA)

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

Andres Gomez Casanova commented on DOXIASITETOOLS-61:
-

I was not talking about the plugin itself, I was talking about the 
documentation in the official Maven page.
Have you seen this page:
http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration-model/decoration.html
Well, this is the documentation for xsd v1.1.0, not for the current available 
version 1.0.1
I think you should only publish the documentation for the new version when the 
new plugin version will be release.
At this moment, the current documentation is not compatible with the latest 
released version.


> 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 
> ...\r\n  ... @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




[jira] Reopened: (DOXIASITETOOLS-61) Publish decoration-1.1.0.xsd

2011-06-27 Thread Andres Gomez Casanova (JIRA)

 [ 
https://jira.codehaus.org/browse/DOXIASITETOOLS-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andres Gomez Casanova reopened DOXIASITETOOLS-61:
-


The ticket is not about the plugin itself, it is about the documentation (html 
files published in Maven site)

> 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 
> ...\r\n  ... @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




[jira] Commented: (DOXIASITETOOLS-61) Publish decoration-1.1.0.xsd

2011-06-28 Thread Andres Gomez Casanova (JIRA)

[ 
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 
...\r\n\r\n... @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 
> ...\r\n  ... @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




[jira] Created: (DOXIA-437) SWF macro generates HTML tags for params without closing sign

2011-07-23 Thread Andres Gomez Casanova (JIRA)
SWF macro generates HTML tags  for params without closing sign
--

 Key: DOXIA-437
 URL: https://jira.codehaus.org/browse/DOXIA-437
 Project: Maven Doxia
  Issue Type: Bug
  Components: Core
Affects Versions: 1.2
Reporter: Andres Gomez Casanova
 Attachments: SwfMacro.java.patch

The SWF macro produces HTML code that does not closes the tags for param 
attributes.
The following is the current code produced for this macro:

%{swf|src=http://www.youtube.com/v/3W0GvjrPFj4&hl=en&fs=1|id=installingZemucan|width=640|height=480}

http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0";
 width="640" height="480" id="installingZemucan">
http://www.youtube.com/v/3W0GvjrPFj4&hl";>




http://www.youtube.com/v/3W0GvjrPFj4&hl"; width="640" height="480" 
loop="0" play="true" quality="high" allowScriptAccess="sameDomain" 
pluginspage="http://www.macromedia.com/go/getflashplayer"; 
type="application/x-shockwave-flash" menu="false">



But the correct code should be:

http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0";
 width="640" height="480" id="installingZemucan">
http://www.youtube.com/v/3W0GvjrPFj4&hl"; />




http://www.youtube.com/v/3W0GvjrPFj4&hl"; width="640" height="480" 
loop="0" play="true" quality="high" allowScriptAccess="sameDomain" 
pluginspage="http://www.macromedia.com/go/getflashplayer"; 
type="application/x-shockwave-flash" menu="false">



I attached the patch that adds the final slashes for the params.

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




[jira] Created: (DOXIA-438) Problem to create a book with Maven 3

2011-07-23 Thread Andres Gomez Casanova (JIRA)
Problem to create a book with Maven 3
-

 Key: DOXIA-438
 URL: https://jira.codehaus.org/browse/DOXIA-438
 Project: Maven Doxia
  Issue Type: Bug
  Components: Book
Affects Versions: 1.2
 Environment: Maven 3
Reporter: Andres Gomez Casanova
 Attachments: pom.xml

I had a project configured for Maven 2 and everything worked perfectly. Today, 
I was trying to update it to Maven 3 and all plugin to newer versions. However, 
I found that I cannot use doxia-maven-plugin 1.2 to create the book.

After executing

mvn doxia:render-books

I got

[ERROR] Failed to execute goal 
org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books (default-cli) on 
project user-site: Execution default-cli of goal 
org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books failed: Unable to 
load the mojo 'render-books' in the plugin 
'org.apache.maven.doxia:doxia-maven-plugin:1.2'. A required class is missing: 
org/codehaus/plexus/util/interpolation/ValueSource
[ERROR] -
[ERROR] realm =plugin>org.apache.maven.doxia:doxia-maven-plugin:1.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = 
file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-maven-plugin/1.2/doxia-maven-plugin-1.2.jar
[ERROR] urls[1] = 
file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-book/1.2/doxia-book-1.2.jar
...
[ERROR] urls[24] = 
file:/C:/Users/Andres/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -: 
org.codehaus.plexus.util.interpolation.ValueSource

My pom.xml is

...
  
  

  
  
org.apache.maven.doxia
doxia-maven-plugin
1.2

  
pre-site

  render-books

  


  

  src/site/apt
  src/books/usersManual.xml
  

  pdf

  


  src/site/es/apt
  src/books/usersManual_es.xml
  

  pdf

  

  

  
...

  


What is the problem?
If I change the Doxia version to 1.1, it works normally.

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




[jira] (DOXIA-438) Problem to create a book with Maven 3

2012-01-19 Thread Andres Gomez Casanova (JIRA)

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

Andres Gomez Casanova commented on DOXIA-438:
-

The problem still exists. I have a question, this functionality is deprecated 
or do you have plans to fix the problems in the most recent versions?

I am using maven-site-plugin version 3.0 and the same problem appears.

> Problem to create a book with Maven 3
> -
>
> Key: DOXIA-438
> URL: https://jira.codehaus.org/browse/DOXIA-438
> Project: Maven Doxia
>  Issue Type: Bug
>  Components: Book
>Affects Versions: 1.2
> Environment: Maven 3
>Reporter: Andres Gomez Casanova
> Attachments: pom.xml
>
>
> I had a project configured for Maven 2 and everything worked perfectly. 
> Today, I was trying to update it to Maven 3 and all plugin to newer versions. 
> However, I found that I cannot use doxia-maven-plugin 1.2 to create the book.
> After executing
> mvn doxia:render-books
> I got
> [ERROR] Failed to execute goal 
> org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books (default-cli) on 
> project user-site: Execution default-cli of goal 
> org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books failed: Unable to 
> load the mojo 'render-books' in the plugin 
> 'org.apache.maven.doxia:doxia-maven-plugin:1.2'. A required class is missing: 
> org/codehaus/plexus/util/interpolation/ValueSource
> [ERROR] -
> [ERROR] realm =plugin>org.apache.maven.doxia:doxia-maven-plugin:1.2
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = 
> file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-maven-plugin/1.2/doxia-maven-plugin-1.2.jar
> [ERROR] urls[1] = 
> file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-book/1.2/doxia-book-1.2.jar
> ...
> [ERROR] urls[24] = 
> file:/C:/Users/Andres/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> [ERROR]
> [ERROR] -: 
> org.codehaus.plexus.util.interpolation.ValueSource
> My pom.xml is
> 
> ...
>   
>   
> 
>   
>   
> org.apache.maven.doxia
> doxia-maven-plugin
> 1.2
> 
>   
> pre-site
> 
>   render-books
> 
>   
> 
> 
>   
> 
>   src/site/apt
>   src/books/usersManual.xml
>   
> 
>   pdf
> 
>   
> 
> 
>   src/site/es/apt
>   src/books/usersManual_es.xml
>   
> 
>   pdf
> 
>   
> 
>   
> 
>   
> ...
> 
>   
> 
> What is the problem?
> If I change the Doxia version to 1.1, it works normally.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MAVENUPLOAD-2451) Upload checkstyle 5.0 final

2009-07-08 Thread Andres Gomez Casanova (JIRA)

[ 
http://jira.codehaus.org/browse/MAVENUPLOAD-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182935#action_182935
 ] 

Andres Gomez Casanova commented on MAVENUPLOAD-2451:


For more information about it:
http://jira.codehaus.org/browse/MCHECKSTYLE-105

> Upload checkstyle 5.0 final
> ---
>
> Key: MAVENUPLOAD-2451
> URL: http://jira.codehaus.org/browse/MAVENUPLOAD-2451
> Project: Maven Upload Requests
>  Issue Type: Wish
>Reporter: Ben Speakmon
>Assignee: Carlos Sanchez
>
> Built with Ant 1.7.1 and java 1.5.0_18.

-- 
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] Created: (MNGSITE-93) Insert

2009-07-15 Thread Andres Gomez Casanova (JIRA)
Insert  tags as part of the site.
-

 Key: MNGSITE-93
 URL: http://jira.codehaus.org/browse/MNGSITE-93
 Project: Maven 2 Project Web Site
  Issue Type: Wish
 Environment: Maven site plugin
Ohloh site
Reporter: Andres Gomez Casanova
Priority: Minor


Ohloh is a service that analyzes the code of a project.
There are a type of link called widgets, that make reference to the project 
description in Ohloh.
I want to put that link (Widget) in my project, but I don't see how to put that.
It could interesting to be under the poweredBy logo.
I don't want to copy and paste the logo Widget, because it is dynamic depending 
on the project statistic collected by Ohloh.

For example, this is the Ohloh for Maven 2 project: