Maven 1

Backward Incompability : Usage of xml entities in the POM doesn't work in maven 1.1 beta 1 & 2

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-1, 1.1-beta-2, 1.1-beta-3
  • Fix Version/s: 1.1-rc1
  • Component/s: core
  • Labels:
    None
  • Testcase included:
    yes
  • Number of attachments :
    1

Description

In maven 1.0.X it was possible to use entities in the POM.
It was used for example to share some elements like the organization, ...

Issue Links

Activity

Hide
Arnaud Heritier added a comment -

The problem is in plexus. The XPP parser doesn't support entities.
A solution is to modify plexus to use http://woodstox.codehaus.org/

Show
Arnaud Heritier added a comment - The problem is in plexus. The XPP parser doesn't support entities. A solution is to modify plexus to use http://woodstox.codehaus.org/
Hide
Lukas Theussl added a comment -
Show
Lukas Theussl added a comment - I don't think this will be fixed for beta-3 but we need to update the docs: http://maven.apache.org/maven-1.x/reference/backwards-compatibility.html and http://maven.apache.org/maven-1.x/faq.html#using-entities.
Hide
Arnaud Heritier added a comment -

We have to modify modello (and not plexus) to use woodstox

Show
Arnaud Heritier added a comment - We have to modify modello (and not plexus) to use woodstox
Hide
Lukas Theussl added a comment -

Need more time to check woodstox.

Show
Lukas Theussl added a comment - Need more time to check woodstox.
Hide
Brett Porter added a comment -

what about using the modello-plugin-dom4j or modello-plugin-jdom instead of xpp3?

Show
Brett Porter added a comment - what about using the modello-plugin-dom4j or modello-plugin-jdom instead of xpp3?
Hide
Arnaud Heritier added a comment -

I'll try them. Thx for the idea.

Show
Arnaud Heritier added a comment - I'll try them. Thx for the idea.
Hide
Arnaud Heritier added a comment -

I need these issues to be solved to build modello

Show
Arnaud Heritier added a comment - I need these issues to be solved to build modello
Hide
Arnaud Heritier added a comment -

Needed to resolve relative entities

Show
Arnaud Heritier added a comment - Needed to resolve relative entities
Hide
Arnaud Heritier added a comment -

It's now fixed. We use the stax reader/writer generated by modello. To close this issue we just have to wait for the releases of : modello 1.0-alpha-14, maven-modello-plugin 1.0, maven-model 3.0.2.
We'll update our dependencies and it will be good.

Show
Arnaud Heritier added a comment - It's now fixed. We use the stax reader/writer generated by modello. To close this issue we just have to wait for the releases of : modello 1.0-alpha-14, maven-modello-plugin 1.0, maven-model 3.0.2. We'll update our dependencies and it will be good.
Hide
Arnaud Heritier added a comment -

Fixed with maven-model 3.0.2

Show
Arnaud Heritier added a comment - Fixed with maven-model 3.0.2

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: