You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2006/01/06 03:07:24 UTC
svn commit: r366391 - /maven/site/trunk/src/site/fml/general.fml
Author: jvanzyl
Date: Thu Jan 5 18:07:21 2006
New Revision: 366391
URL: http://svn.apache.org/viewcvs?rev=366391&view=rev
Log:
[MNG-1862] add the way to handle special characters in site
URL: http://jira.codehaus.org/browse/MNG-1862
Modified:
maven/site/trunk/src/site/fml/general.fml
Modified: maven/site/trunk/src/site/fml/general.fml
URL: http://svn.apache.org/viewcvs/maven/site/trunk/src/site/fml/general.fml?rev=366391&r1=366390&r2=366391&view=diff
==============================================================================
--- maven/site/trunk/src/site/fml/general.fml (original)
+++ maven/site/trunk/src/site/fml/general.fml Thu Jan 5 18:07:21 2006
@@ -46,7 +46,7 @@
</li>
<li>
If you have very small amounts of Ant script specific to your project, you can use the
- <a href="http://www.neonics.com/projects/maven-antrun-plugin/">AntRun plugin</a>.
+ <a href="http://maven.apache.org/plugins/maven-antrun-plugin/index.html">AntRun plugin</a>.
</li>
</ul>
</answer>
@@ -103,7 +103,7 @@
The source code can be found in subversion: <a href="http://svn.apache.org/repos/asf/maven/components/trunk">http://svn.apache.org/repos/asf/maven/components/trunk</a>.
</p>
<p>
- For more information, see <a href="developers/building.html">Building Maven 2.0</a>.
+ For more information, see <a href="guides/development/guide-building-m2.html">Building Maven 2.0</a>.
</p>
</answer>
</faq>
@@ -113,7 +113,7 @@
<answer>
<p>
You most probably need to configure Maven to use a proxy. Please see the information on
- <a href="configuration.html">configuring settings.xml</a> for information on how to configure your proxy
+ <a href="guides/mini/guide-proxies.html">Configuring a proxy</a> for information on how to configure your proxy
for Maven.
</p>
</answer>
@@ -139,6 +139,7 @@
-DartifactId=<artifact-id>
-Dversion=<version>
-Dpackaging=<packaging>
+ -DgeneratePom=true
Where: <path-to-file> the path to the file to load
<group-id> the group that the file should be registered under
@@ -167,6 +168,34 @@
instructions are also appended to every message sent out on
a maven mailing list ...
</answer>
+ </faq>
+ <faq id="skip-test">
+ <question>How to skip the tests</question>
+ <answer>
+ add the parameter -Dmaven.test.skip=true in the command line
+ </answer>
+ </faq>
+ <faq id="special-characters-site">
+ <question>Handle special characters in site</question>
+ <answer>
+ <p>Configure your ide to use the correct encoding. With eclipse, add -Dfile.encoding=ISO-8859-1 in eclipse.ini file</p>
+ <p>Configure the output encoding in your pom
+<source><![CDATA[
+<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <configuration>
+ <outputEncoding>UTF-8</outputEncoding>
+ </configuration>
+</plugin>
+]]></source>
+ </p>
+ <p>
+ Configure the file encoding use by mvn.
+ add to MAVEN_OPTS the encoding (same as the ide).
+ This can be made with adding MAVEN_OPTS="-Dfile.encoding=ISO-8859-1" in $HOME/.profile
+ </p>
+ </answer>
</faq>
</part>
</faqs>
Re: svn commit: r366391 - /maven/site/trunk/src/site/fml/general.fml
Posted by Dennis Lundberg <de...@mdh.se>.
jvanzyl@apache.org wrote:
> Author: jvanzyl
> Date: Thu Jan 5 18:07:21 2006
> New Revision: 366391
>
> URL: http://svn.apache.org/viewcvs?rev=366391&view=rev
> Log:
> [MNG-1862] add the way to handle special characters in site
> URL: http://jira.codehaus.org/browse/MNG-1862
>
>
> Modified:
> maven/site/trunk/src/site/fml/general.fml
>
> Modified: maven/site/trunk/src/site/fml/general.fml
> URL: http://svn.apache.org/viewcvs/maven/site/trunk/src/site/fml/general.fml?rev=366391&r1=366390&r2=366391&view=diff
> ==============================================================================
> --- maven/site/trunk/src/site/fml/general.fml (original)
> +++ maven/site/trunk/src/site/fml/general.fml Thu Jan 5 18:07:21 2006
<snip>
> @@ -167,6 +168,34 @@
> instructions are also appended to every message sent out on
> a maven mailing list ...
> </answer>
> + </faq>
> + <faq id="skip-test">
> + <question>How to skip the tests</question>
> + <answer>
> + add the parameter -Dmaven.test.skip=true in the command line
> + </answer>
> + </faq>
> + <faq id="special-characters-site">
> + <question>Handle special characters in site</question>
> + <answer>
> + <p>Configure your ide to use the correct encoding. With eclipse, add -Dfile.encoding=ISO-8859-1 in eclipse.ini file</p>
> + <p>Configure the output encoding in your pom
> +<source><![CDATA[
> +<plugin>
> + <groupId>org.apache.maven.plugins</groupId>
> + <artifactId>maven-site-plugin</artifactId>
> + <configuration>
> + <outputEncoding>UTF-8</outputEncoding>
> + </configuration>
> +</plugin>
> +]]></source>
> + </p>
> + <p>
> + Configure the file encoding use by mvn.
> + add to MAVEN_OPTS the encoding (same as the ide).
> + This can be made with adding MAVEN_OPTS="-Dfile.encoding=ISO-8859-1" in $HOME/.profile
> + </p>
> + </answer>
> </faq>
> </part>
> </faqs>
In the example above it tells you to use ISO-8859-1 for eclipse and for
the files, but to use UTF-8 for the maven-site-plugin. Is that what it
is meant to be?
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org