You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicolas FRANK <nf...@financeactive.com> on 2003/06/11 15:39:09 UTC

RE : checkstyle issue...

Ok, as often, I just found my issue... It was the changes.xml file that
contains some é and è... Do you know if this can of problem is going to be
fixed (or is already fixed ?)

-----Message d'origine-----
De : Nicolas FRANK 
Envoyé : mercredi 11 juin 2003 15:36
À : users@maven.apache.org
Objet : checkstyle issue...


What is very borring in maven (but maybe here this is more a checkstyle issue
?), is that if you have some non american caracteres (like éàçè...) 
you usally are in big trouble... especialy because you don't get from the
plugin which file was in fault...
 
I am using the Beta9 build, I know there re some improuvement with the CVS
head version, but I don't want to move to something ustable...(at least if I
can find a workaround to my current problem !)
 
So here is my current problem: I get the following message when running
site:deploy (which was perfectly working up to this morning...) :
 
site:run-reports:
    [echo] Generating the Metrics...
maven-jdepend-plugin:report:
 
    [echo] Generating the Checkstyle...
checkstyle:check-license-file:
checkstyle:determine-properties:
 
checkstyle:report:
 

maven-checkstyle-plugin:report:
 
    [echo] Generating the Changes...
 
BUILD FAILED
null:24:42: <attainGoal> null:37:50: <attainGoal> null:92:46: <x:parse>
Invalid byte 2 of 3-byte UTF-8 sequence. Nested exception: Invalid byte 2 of
3-byte
UTF-
8 sequence.
Total time:  5 seconds

Usually it comes from a document where I have some french characters, but
here I am affrayed it may come from a CVS log ?
 
with the -X option I don't get anything clearer :
 
 
BUILD FAILED
null:24:42: <attainGoal> null:37:50: <attainGoal> null:92:46: <x:parse>
Invalid byte 2 of 3-byte UTF-8 sequence. Nested exception: Invalid byte 2 of
3-byte
UTF-
8 sequence.
com.werken.werkz.UnattainableGoalException: Unable to obtain goal
[site:deploy]
-- null:58:30: <attainGoal> null:24:42: <attainGoal> null:37:50: <attainGoal>
nu
ll:92:46: <x:parse> Invalid byte 2 of 3-byte UTF-8 sequence. Nested
exception: I
nvalid byte 2 of 3-byte UTF-8 sequence.
        at com.werken.werkz.Goal.fire(Goal.java:646)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
394)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:357)
        at org.apache.maven.cli.App.doMain(App.java:524)
        at org.apache.maven.cli.App.main(App.java:1080)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.werken.forehead.Forehead.run(Forehead.java:543)
        at com.werken.forehead.Forehead.main(Forehead.java:573)
org.apache.commons.jelly.JellyTagException: null:58:30: <attainGoal>
null:24:42:
 <attainGoal> null:37:50: <attainGoal> null:92:46: <x:parse> Invalid byte 2
of 3 -byte UTF-8 sequence. Nested exception: Invalid byte 2 of 3-byte UTF-8
sequence.
 
        at
org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainG
oalTag.java:111)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:116)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
394)
 
Does anyone can help me ? 
 
thank's !
Nicolas FRANK.
 
 
 

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


Re: RE : checkstyle issue...

Posted by Martin Skopp <sk...@riege.de>.
On Wed, 2003-06-11 at 15:39, Nicolas FRANK wrote:
> Ok, as often, I just found my issue... It was the changes.xml file that
> contains some é and è... Do you know if this can of problem is going to be
> fixed (or is already fixed ?)

have you tried to specify xml encoding?  UTF-8 is IMHO the default
encoding.

e.g.

<?xml version="1.0" encoding="ISO-8859-1"?>

cu
-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:maint@riege.com, Information: http://www.riege.com

This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5


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