Maven 2.x Ant Tasks

Ant Tasks do not work on the ZOS

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    OS: Z/OS 1.4
    JDK 1.4.2
    Ant 1.6.5
  • Number of attachments :
    1

Description

The current distribution does not work on Z/OS without modification.
The issue stems from the XML parser.
The plexus MXParser (org.codehaus.plexus.util.xml.pull.MXParser) does not handle xml encoding and different character sets properly.
Any xml files that are sent to the MXParser MUST be in the same character set as the operating system default.

Three files in the distribution META-INF/plexus/components.xml, org/apache/maven/project/pom-4.0.0.xml and org/codehaus/plexus/plexus-bootstrap.xml must be converted to EBCDIC in order for the ant tasks to function.
Also any poms must be in EBCDIC regardless of the xml encoding.

Issue Links

Activity

Hide
Jeff Maxwell added a comment -

Aside from the issues stated above, at least using a local repository, the ant tasks seem to function just fine on Z/OS.

Show
Jeff Maxwell added a comment - Aside from the issues stated above, at least using a local repository, the ant tasks seem to function just fine on Z/OS.
Hide
Jeff Maxwell added a comment -

Remote repositories do not work.

The poms are in download as UTF-8 which as stated in the description can not be parsed by the plexus MXParser.

Show
Jeff Maxwell added a comment - Remote repositories do not work. The poms are in download as UTF-8 which as stated in the description can not be parsed by the plexus MXParser.
Hide
Herve Boutemy added a comment -

pom reading is being worked on with MNG-2254.
For META-INF/plexus/components.xml and org/codehaus/plexus/plexus-bootstrap.xml, I have a SNAPSHOT which should fix it. But I don't have access to a machine under Z/OS...
Are you able to test a SNAPSHOT if I prepare one for you?

Show
Herve Boutemy added a comment - pom reading is being worked on with MNG-2254. For META-INF/plexus/components.xml and org/codehaus/plexus/plexus-bootstrap.xml, I have a SNAPSHOT which should fix it. But I don't have access to a machine under Z/OS... Are you able to test a SNAPSHOT if I prepare one for you?
Hide
Jeff Maxwell added a comment -

Herve,
I do have access to a Z/OS box so I could test the snapshot for you.

Show
Jeff Maxwell added a comment - Herve, I do have access to a Z/OS box so I could test the snapshot for you.
Hide
Herve Boutemy added a comment -

Jeff,

can you test http://codehaus.org/~hboutemy/maven-ant-tasks-2.0.7-SNAPSHOT.jar and report if I omitted something?

Show
Herve Boutemy added a comment - Jeff, can you test http://codehaus.org/~hboutemy/maven-ant-tasks-2.0.7-SNAPSHOT.jar and report if I omitted something?
Hide
Herve Boutemy added a comment -

I found a bug with EBCDIC support, the previous tasks should not work...
please try http://codehaus.org/~hboutemy/maven-ant-tasks-2.0.8-SNAPSHOT.jar instead

Show
Herve Boutemy added a comment - I found a bug with EBCDIC support, the previous tasks should not work... please try http://codehaus.org/~hboutemy/maven-ant-tasks-2.0.8-SNAPSHOT.jar instead
Hide
Herve Boutemy added a comment -

here is a patch to support encoding in settings.xml

for encoding in other internal XML files in plexus-container, the work is in PLX-343

Show
Herve Boutemy added a comment - here is a patch to support encoding in settings.xml for encoding in other internal XML files in plexus-container, the work is in PLX-343
Hide
Herve Boutemy added a comment -

MANTTASKS-79 concerns pom.xml and settings.xml only, not internal XML files which are needed for the tasks to work on Z/OS

Show
Herve Boutemy added a comment - MANTTASKS-79 concerns pom.xml and settings.xml only, not internal XML files which are needed for the tasks to work on Z/OS
Hide
Herve Boutemy added a comment -

see http://docs.codehaus.org/display/MAVENUSER/XML+encoding for the roadmap to XML encoding support in Maven2

Show
Herve Boutemy added a comment - see http://docs.codehaus.org/display/MAVENUSER/XML+encoding for the roadmap to XML encoding support in Maven2

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated: