maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DOXIATOOLS-26) Locales and Encoding params are ignored by plugin
Date Sun, 06 Sep 2015 20:46:03 GMT

     [ https://issues.apache.org/jira/browse/DOXIATOOLS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Osipov closed DOXIATOOLS-26.
------------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If
you think this issue still applies, retest your problem with the most recent version of Maven
and the affected component, reopen and post your results.

> Locales and Encoding params are ignored by plugin
> -------------------------------------------------
>
>                 Key: DOXIATOOLS-26
>                 URL: https://issues.apache.org/jira/browse/DOXIATOOLS-26
>             Project: Maven Doxia Tools
>          Issue Type: Bug
>          Components: Doxia Book Maven Plugin
>         Environment: doxia-maven-plugin (1.1.2)
>            Reporter: Cleverson Sacramento
>
> I'm using doxia-maven-plugin to generate the project documentation site. 
> This is the plugin session of my pom.xml:
> {code:xml}       ...
> 	<properties>
> 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> 		<project.reporting.outputEncoding>UTF-8
> 		</project.reporting.outputEncoding>
> 	</properties>
>         ...
> 			<plugin>
> 				<groupId>org.apache.maven.doxia</groupId>
> 				<artifactId>doxia-maven-plugin</artifactId>
> 				<version>1.1.2</version>
> 				<executions>
> 					<execution>
> 						<phase>pre-site</phase>
> 						<goals>
> 							<goal>render-books</goal>
> 						</goals>
> 					</execution>
> 				</executions>
> 				<configuration>
> 					<locales>pt_BR</locales>
> 					<inputEncoding>${project.build.sourceEncoding}</inputEncoding>
> 					<outputEncoding>${project.reporting.outputEncoding}
> 					</outputEncoding>
> 					<books>
> 						<book>
> 							<directory>src/site</directory>
> 							<descriptor>src/site/book-reference.xml</descriptor>
> 							<formats>
> 								<format>
> 									<id>xdoc</id>
> 								</format>
> 							</formats>
> 						</book>
> 					</books>
> 				</configuration>
> 			</plugin>
>                         ...{code}
> The content auto-generated by the plugin presents two problems:
> 1) The locale pt_br was ignored, generating words in english instead of brazilian portuguese;
> 2) The encoding UFT-8 was apparently ignored too, generating unwished chars;
> {noformat}Next: Configurações
> Referência - Table Of Content
> Configurações
>        Servidor
>               Introdu&#8730;ß&#8730;£o
>               Administra&#8730;ß&#8730;£o
>               E-mail
>               Banco de Dados
>               Base de Usu&#8730;°rios
>               Base LDAP
>               Base Personalizada
>        Agente
>               Introdu&#8730;ß&#8730;£o
> Next: Configurações{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message