maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud HERITIER" <aherit...@gmail.com>
Subject Re: [maven-ear-plugin] tests are failing on Leopard
Date Thu, 07 Aug 2008 09:13:43 GMT
Ok, I found.
Thanks Benjamin.
The problem was in my user's settings that the verifier wasn't able to read
(maven is able).
I have to see if I can create a testcase to fix the verifier
It seems I had in a coment a character with an accent (é, è ...)

Arnaud


On Thu, Aug 7, 2008 at 9:01 AM, Arnaud HERITIER <aheritier@gmail.com> wrote:

> Same thing with a fresh checkout.
> My env (if you find something strange ...) :
> octo-ahe:maven-ear-plugin arnaud$ set
> Apple_PubSub_Socket_Render=/tmp/launch-l6EBjN/Render
> BASH=/bin/bash
> BASH_ARGC=()
> BASH_ARGV=()
> BASH_LINENO=()
> BASH_SOURCE=()
> BASH_VERSINFO=([0]="3" [1]="2" [2]="17" [3]="1" [4]="release"
> [5]="i386-apple-darwin9.0")
> BASH_VERSION='3.2.17(1)-release'
> COLUMNS=128
> COMMAND_MODE=unix2003
> DIRSTACK=()
> DISPLAY=/tmp/launch-JOaP1Q/:0
> EUID=501
> GROUPS=()
> HISTFILE=/Users/arnaud/.bash_history
> HISTFILESIZE=500
> HISTSIZE=500
> HOME=/Users/arnaud
> HOSTNAME=octo-ahe.local
> HOSTTYPE=i386
> IFS=$' \t\n'
>
> JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
> LC_CTYPE=UTF-8
> LINES=40
> LOGNAME=arnaud
> M2_HOME=/Users/arnaud/Applications/apache-maven-2.0.10-RC5
> MACHTYPE=i386-apple-darwin9.0
> MAILCHECK=60
> MANPATH=/usr/share/man:/usr/local/share/man:/usr/X11/man
> MAVEN_OPTS=-Xmx512M
> OLDPWD=/Users/arnaud/Projets/Maven/Code
> OPTERR=1
> OPTIND=1
> OSTYPE=darwin9.0
>
> PATH=/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/arnaud/Applications/apache-maven-2.0.10-RC5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
> PIPESTATUS=([0]="1")
> PPID=309
> PS1='\h:\W \u\$ '
> PS2='> '
> PS4='+ '
> PWD=/Users/arnaud/Projets/Maven/Code/maven-ear-plugin
> SECURITYSESSIONID=6b7ea0
> SHELL=/bin/bash
>
> SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
> SHLVL=1
> SSH_AUTH_SOCK=/tmp/launch-H1elRL/Listeners
> TERM=xterm-color
> TERM_PROGRAM=Apple_Terminal
> TERM_PROGRAM_VERSION=240
> TMPDIR=/var/folders/o1/o12rvibYGZCpSWzLrXlg4E+++TI/-Tmp-/
> UID=501
> USER=arnaud
> _=install
> __CF_USER_TEXT_ENCODING=0x1F5:0:0
>
>
>
> On Thu, Aug 7, 2008 at 8:17 AM, Stephane Nicoll <stephane.nicoll@gmail.com
> > wrote:
>
>> I tried with my current checkout, an update (with the new invoker config)
>> and with a fresh checkout (directory removed and svn co). All three worked
>> on my Mac (15.0.4)
>> Can you try with a fresh checkout maybe?
>>
>> Thanks,
>> Stéphane
>>
>> On Wed, Aug 6, 2008 at 10:27 PM, Arnaud HERITIER <aheritier@gmail.com
>> >wrote:
>>
>> > ok, thanks for your help.
>> >
>> >
>> > On Wed, Aug 6, 2008 at 6:09 PM, Stephane Nicoll
>> > <stephane.nicoll@gmail.com>wrote:
>> >
>> > > Weird. I have leopard as well and it works. They were some problems
>> > lately
>> > > and I fixed them. Let me check again later today.
>> > >
>> > > S.
>> > >
>> > > On Wed, Aug 6, 2008 at 6:06 PM, Arnaud HERITIER <aheritier@gmail.com>
>> > > wrote:
>> > >
>> > > > Hi all,
>> > > >
>> > > >  I'm trying to build the ear plugin on leopard but tests are
>> failing.
>> > > >  Those unit/integration tests are using the maven-verifier which
>> fails
>> > to
>> > > > read poms with errors like :
>> > > > testProject001(org.apache.maven.plugin.ear.EarMojoTest)  Time
>> elapsed:
>> > > > 0.059
>> > > > sec  <<< ERROR!
>> > > > org.apache.maven.it.VerificationException:
>> > org.xml.sax.SAXParseException:
>> > > > An
>> > > > invalid XML character (Unicode: 0x1a) was found in the comment.
>> > > >    at
>> > > >
>> org.apache.maven.it.Verifier$UserModelReader.parse(Verifier.java:1269)
>> > > >    at
>> org.apache.maven.it.Verifier.retrieveLocalRepo(Verifier.java:557)
>> > > >    at org.apache.maven.it.Verifier.findLocalRepo(Verifier.java:1178)
>> > > >    at org.apache.maven.it.Verifier.<init>(Verifier.java:101)
>> > > >    at org.apache.maven.it.Verifier.<init>(Verifier.java:80)
>> > > >    at org.apache.maven.it.Verifier.<init>(Verifier.java:107)
>> > > >    at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.maven.plugin.ear.AbstractEarPluginTestCase.executeMojo(AbstractEarPluginTestCase.java:76)
>> > > >    at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.maven.plugin.ear.AbstractEarPluginTestCase.executeMojo(AbstractEarPluginTestCase.java:114)
>> > > >    at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.maven.plugin.ear.AbstractEarPluginTestCase.doTestProject(AbstractEarPluginTestCase.java:132)
>> > > >    at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.maven.plugin.ear.AbstractEarPluginTestCase.doTestProject(AbstractEarPluginTestCase.java:161)
>> > > >    at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.maven.plugin.ear.AbstractEarPluginTestCase.doTestProject(AbstractEarPluginTestCase.java:179)
>> > > >    at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.maven.plugin.ear.AbstractEarPluginTestCase.doTestProject(AbstractEarPluginTestCase.java:194)
>> > > >    at
>> > > >
>> > >
>> >
>> org.apache.maven.plugin.ear.EarMojoTest.testProject001(EarMojoTest.java:41)
>> > > > Caused by: org.xml.sax.SAXParseException: An invalid XML character
>> > > > (Unicode:
>> > > > 0x1a) was found in the comment.
>> > > >    at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269)
>> > > >    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
>> > > >    at
>> > > >
>> org.apache.maven.it.Verifier$UserModelReader.parse(Verifier.java:1253)
>> > > >    ... 38 more
>> > > >
>> > > > Any idea where it can come from ?
>> > > >
>> > > >
>> > > > --
>> > > > ..........................................................
>> > > > Arnaud HERITIER
>> > > > ..........................................................
>> > > > OCTO Technology - aheritier AT octo DOT com
>> > > > www.octo.com | blog.octo.com
>> > > > ..........................................................
>> > > > ASF - aheritier AT apache DOT org
>> > > > www.apache.org | maven.apache.org
>> > > > ...........................................................
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Large Systems Suck: This rule is 100% transitive. If you build one,
>> you
>> > > suck" -- S.Yegge
>> > >
>> >
>> >
>> >
>> > --
>> > ..........................................................
>> > Arnaud HERITIER
>> > ..........................................................
>> > OCTO Technology - aheritier AT octo DOT com
>> > www.octo.com | blog.octo.com
>> > ..........................................................
>> > ASF - aheritier AT apache DOT org
>> > www.apache.org | maven.apache.org
>> > ...........................................................
>> >
>>
>>
>>
>> --
>> Large Systems Suck: This rule is 100% transitive. If you build one, you
>> suck" -- S.Yegge
>>
>
>
>
> --
> ..........................................................
> Arnaud HERITIER
> ..........................................................
> OCTO Technology - aheritier AT octo DOT com
> www.octo.com | blog.octo.com
> ..........................................................
> ASF - aheritier AT apache DOT org
> www.apache.org | maven.apache.org
> ...........................................................
>



-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message