nielsbasjes commented on issue #1453: URL: https://github.com/apache/maven-release/issues/1453#issuecomment-3744106957
Simpler reproduction pom.xml. Key here is that sequences of spaces in attributes of xml tags are reduced to a single one. ```xml <?xml version="1.0"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>spaces-bug</artifactId> <groupId>nl.basjes.bugreport</groupId> <version>0.0.1-SNAPSHOT</version> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.3.1</version> <configuration> <scmReleaseCommitComment noSuchFlag="Some thing">Some thing</scmReleaseCommitComment> </configuration> </plugin> </plugins> </build> <developers /> <scm> <developerConnection>scm:git:file:///${project.basedir}</developerConnection> <tag>HEAD</tag> </scm> </project> ``` After the `mvn release:prepare -B` the diff shows this: ```diff @@ -13,7 +13,7 @@ <artifactId>maven-release-plugin</artifactId> <version>3.3.1</version> <configuration> - <scmReleaseCommitComment noSuchFlag="Some thing">Some thing</scmReleaseCommitComment> + <scmReleaseCommitComment noSuchFlag="Some thing">Some thing</scmReleaseCommitComment> </configuration> </plugin> </plugins> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
