History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: MNG-1117
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Jason van Zyl
Reporter: Eugene Kuleshov
Votes: 14
Watchers: 9
Operations

If you were logged in you would be able to see more operations.
Maven 2

MavenEmbedder.writeModel( w, model) should allow to preserve xml formatting

Created: 06/Oct/05 10:03 AM   Updated: 28/Feb/07 11:09 AM
Component/s: Embedding
Affects Version/s: None
Fix Version/s: 3.0-alpha-1

Time Tracking:
Not Specified

Issue Links:
Related
 
dependent
 

Complexity: Intermediate


 Description  « Hide
Currently MavenEmbedder.writeModel( w, model) method does not take into account formatting of the existing pom.xml. This is critical limitation from an end-user prospective.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Milos Kleint - 23/Dec/05 04:16 AM
actually this one is probably a duplicate on an ancient bug file by Gilles Dodinet.
IMHO a showstopper for any automated modifications from the IDE.

John Casey - 22/Jun/06 03:35 PM
we're going to be doing a lot of work on encoding and other things related to parsing the POM in 2.1, including switching off of the xpp3 API altogether. Also, we'll be able to merge in the new incarnation of the embedder then. FWIW, I think this bug should wait for those changes, otherwise we risk re-solving this problem later.

Jason van Zyl - 28/Feb/07 11:09 AM
The WriterUtils are now being used and this is the best we have right now for preserving the format.