wcmio-content-package-maven-plugin:download adds space in front of /> when rewriting XML

Description

The whole purpose of the tool is to download AEM packages and extract them to the project, without adding additional clutter in version control.

However, the original packaging format writes XML like this:

when rewriting this XML to remove certain properties, the result is:

Note the space between " and />.

The filter.xml, which is not rewritten, however, does not contain the space. So I'm also unable to configure my editor with that rule.

Feature request: Please rewrite the XML without touching the formatting, or configure the XML rewriting to disregard the space before the short-close-tag.

Activity

Show:
Henry Kuijpers
August 8, 2017, 4:48 PM
Stefan Seifert
August 10, 2017, 6:06 AM

fixed in next version.
https://github.com/wcm-io/wcm-io-tooling/commit/5c9b1d94c1a84d82108589cc0d1c6af34f432c1b

you can give it a try the current develop version with 1.5.3-SNAPSHOT

Fixed

Assignee

Unassigned

Reporter

Henry Kuijpers

Labels

None

Components

Fix versions

Affects versions

Priority

Major