maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Siveton" <vincent.sive...@gmail.com>
Subject Re: svn commit: r600175 - in /maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding: ./ src/ src/site/ src/site/apt/ src/site/xdoc/
Date Sat, 01 Dec 2007 19:24:04 GMT
Hi Hervé,

Is it a test requirement to use svn:mime-type?

Cheers,

Vincent

2007/12/1, hboutemy@apache.org <hboutemy@apache.org>:
> Author: hboutemy
> Date: Sat Dec  1 10:05:28 2007
> New Revision: 600175
>
> URL: http://svn.apache.org/viewvc?rev=600175&view=rev
> Log:
> added encoding tests
>
> Added:
>     maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/
>     maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/pom.xml
  (with props)
>     maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/
>     maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/
>     maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/apt/
>     maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/apt/apt.apt
  (with props)
>     maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/site.xml
  (with props)
>     maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/xdoc/
>     maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/xdoc/xdoc-different.xml
  (with props)
>     maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/xdoc/xdoc-same.xml
  (with props)
>
> Added: maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/pom.xml
> URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/pom.xml?rev=600175&view=auto
> ==============================================================================
> --- maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/pom.xml
(added)
> +++ maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/pom.xml
Sat Dec  1 10:05:28 2007
> @@ -0,0 +1,23 @@
> +<project>
> +  <modelVersion>4.0.0</modelVersion>
> +  <groupId>org.apache.maven.plugins.site-plugin-test</groupId>
> +  <artifactId>site-plugin-test-encoding</artifactId>
> +  <version>1.0</version>
> +  <packaging>jar</packaging>
> +  <description>Site encoding support tests:
> +    inputEncoding=UTF-16 for apt files,
> +    outputEncoding=UTF-16 for generated HTML files,
> +    misc. encodings for site.xml and xdoc files
> +  </description>
> +  <build>
> +    <plugins>
> +      <plugin>
> +        <artifactId>maven-site-plugin</artifactId>
> +        <configuration>
> +          <inputEncoding>UTF-16</inputEncoding>
> +          <outputEncoding>UTF-16</outputEncoding>
> +        </configuration>
> +      </plugin>
> +    </plugins>
> +  </build>
> +</project>
>
> Propchange: maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/pom.xml
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Added: maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/apt/apt.apt
> URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/apt/apt.apt?rev=600175&view=auto
> ==============================================================================
> Binary file - no diff available.
>
> Propchange: maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/apt/apt.apt
> ------------------------------------------------------------------------------
>     svn:mime-type = application/octet-stream
>
> Added: maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/site.xml
> URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/site.xml?rev=600175&view=auto
> ==============================================================================
> Binary file - no diff available.
>
> Propchange: maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/site.xml
> ------------------------------------------------------------------------------
>     svn:mime-type = application/octet-stream
>
> Added: maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/xdoc/xdoc-different.xml
> URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/xdoc/xdoc-different.xml?rev=600175&view=auto
> ==============================================================================
> --- maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/xdoc/xdoc-different.xml
(added)
> +++ maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/xdoc/xdoc-different.xml
Sat Dec  1 10:05:28 2007
> @@ -0,0 +1,42 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +
> +<!--
> +Licensed to the Apache Software Foundation (ASF) under one
> +or more contributor license agreements.  See the NOTICE file
> +distributed with this work for additional information
> +regarding copyright ownership.  The ASF licenses this file
> +to you under the Apache License, Version 2.0 (the
> +"License"); you may not use this file except in compliance
> +with the License.  You may obtain a copy of the License at
> +
> +    http://www.apache.org/licenses/LICENSE-2.0
> +
> +Unless required by applicable law or agreed to in writing,
> +software distributed under the License is distributed on an
> +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +KIND, either express or implied.  See the License for the
> +specific language governing permissions and limitations
> +under the License.
> +-->
> +
> +<document>
> +  <properties>
> +    <title>xdoc file in UTF-8</title>
> +    <author email="herve.boutemy">HervÃ(c) Boutemy</author>
> +  </properties>
> +  <body>
> +    <section name="Xdoc file in UTF-8">
> +      <p>
> +        Test the Maven Site Plugin with a xdoc document in UTF-8 encoding,
> +        which is different from the value in inputEncoding maven-site-plugin parameter.
> +      </p>
> +      <p>Following non-ascii characters should appear properly:</p>
> +      <ul>
> +        <li>french: äëïöüÃèìòù</li>
> +        <li>greek: αβγδεζηθ</li>
> +        <li>japanese: 㠂㠄㠆㠈㠊</li>
> +      </ul>
> +    </section>
> +  </body>
> +</document>
> +
>
> Propchange: maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/xdoc/xdoc-different.xml
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Added: maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/xdoc/xdoc-same.xml
> URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/xdoc/xdoc-same.xml?rev=600175&view=auto
> ==============================================================================
> Binary file - no diff available.
>
> Propchange: maven/plugins/trunk/maven-site-plugin/src/test/projects/site-plugin-test-encoding/src/site/xdoc/xdoc-same.xml
> ------------------------------------------------------------------------------
>     svn:mime-type = application/octet-stream
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message