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:36:29 UTC

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.