Hi Althen,

I'm very interested with problems you're facing.
We did a lot of work on encoding support for XML files, see [1].
But since I didn't find anybody using z/os, I wasn't able to check that 
everything was fixed.

Now that you're here, I suppose I'll be able to work with you on last fixes: 
great!
Can you create a Jira issue on [2], with full stacktrace?

Regards,

Hervé


[1] http://docs.codehaus.org/display/MAVENUSER/XML+encoding

[2] http://jira.codehaus.org/browse/MNG

Le mardi 20 octobre 2009, Althen, Uli a écrit :
> Hi there,
>
>
>
> I am trying to run maven 2.2.1 on z/os. I did find a number of entries
> in the archives referring to issues reading the settings.xml with the
> correct encoding.
>
>
>
> /u/uli: >mvn -version
>
> Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
>
> Java version: 1.6.0
>
> Java home: /usr/lpp/java/J6.0
>
> Default locale: en_US, platform encoding: UTF16
>
> OS name: "z/os" version: "01.06.00" arch: "s390" Family: "unix"
>
>
>
> /u/uli: >mvn help:active-profiles
>
> Error reading settings.xml: only whitespace content allowed before start
> tag and not L (position: START_DOCUMENT seen L... @1:1)
>
>   Line:   1
>
>   Column: 1
>
>
>
> Has anybody run maven successful on z/os ?
>
>
>
> It appears that maven can read /apache-maven-2.2.1/conf/settings.xml
> correctly. That file has <?xml version="1.0" encoding="UTF-8"?> as the
> first line. If I change the encoding on this stanza to UTF-16 it fails
> reading this settings file.
>
>
>
> The error appears to happen when reading the settings.xml in the users
> m2 directory, regardless of whether I specify <?xml version="1.0"
> encoding="UTF-8"?>, <?xml version="1.0" encoding="UTF-16"?> or nothing
> at all. Btw, the 'L' is the ASCII representation of the EBCDIC '<'  from
> '<settings>', which is in the first line.
>
>
>
> Thanks for your help
>
>
>
> Uli



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to