PR: MPJALOPY-12

Add a property that controls the source code encoding. Thanks to Joachim Bader.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@528376 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl 2007-04-13 07:33:23 +00:00
parent bbab1dc27c
commit f8eacd8b86
5 changed files with 14 additions and 1 deletions

View File

@ -51,6 +51,7 @@
inspect="${maven.jalopy.inspect}"
backup="${maven.jalopy.backup}"
force="${maven.jalopy.force}"
encoding="${maven.jalopy.encoding}"
sourceDirectory="${pom.build.sourceDirectory}"
testSourceDirectory="${pom.build.unitTestSourceDirectory}"
srcIncludesPattern="${maven.jalopy.src.filesetInclude}"

View File

@ -25,6 +25,7 @@ maven.jalopy.failOnError=true
maven.jalopy.inspect=false
maven.jalopy.backup=false
maven.jalopy.force=false
maven.jalopy.encoding=${maven.compile.encoding}
maven.jalopy.filesetInclude=**/*.java
maven.jalopy.filesetExclude=

View File

@ -22,7 +22,7 @@
<pomVersion>3</pomVersion>
<id>maven-jalopy-plugin</id>
<name>Maven Jalopy Plugin</name>
<currentVersion>1.5</currentVersion>
<currentVersion>1.5.1-SNAPSHOT</currentVersion>
<description/>
<shortDescription>Reformat java source</shortDescription>
<versions>

View File

@ -24,6 +24,7 @@
</properties>
<body>
<release version="1.5.1-SNAPSHOT" date="In SVN">
<action dev="ltheussl" type="add" issue="MPJALOPY-12" due-to="Joachim Bader">Add a property that controls the source code encoding.</action>
<action dev="aheritier" type="update" issue="MAVEN-1803">Upgrade plexus-utils to version 1.0.5</action>
</release>
<release version="1.5" date="2006-05-07">

View File

@ -88,6 +88,16 @@
Defaults to "false".
</td>
</tr>
<tr>
<td>maven.jalopy.encoding</td>
<td>Yes</td>
<td>
Sets the encoding that controls how Jalopy interprets text files
containing characters beyond the ASCII character set.
Defaults to the value of <code>maven.compile.encoding</code>, if
this is not set, the platform's default encoding will be used.
</td>
</tr>
<tr>
<td>maven.jalopy.filesetInclude</td>
<td>Yes</td>