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
