2

I need to add a new profile to the users settings.xml as part of an IDE Plugin. Currently I'm directly parsing and modifying the actual file, but I would prefer to use Maven APIs like SettingsWriter.

Reading, modifying and writing works fine, but unfortunately comments and formatting are lost in this process. Is there a way to keep the comments, or a different API that I can use for this?

monacotoni
  • 606
  • 5
  • 18

0 Answers0