Updates versions-maven-plugin to 2.8.1

This commit is contained in:
spencergibb
2022-02-18 15:05:50 -05:00
parent ccd977974b
commit 7ad0a3c485
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@
<org.eclipse.jgit-version>5.1.3.201810200350-r</org.eclipse.jgit-version>
<!-- Versions plugin uses this version -->
<maven-model.version>3.6.3</maven-model.version>
<versions-maven-plugin.version>2.7</versions-maven-plugin.version>
<versions-maven-plugin.version>2.8.1</versions-maven-plugin.version>
<handlebars.version>4.2.0</handlebars.version>
<initializr-metadata.version>0.10.0-SNAPSHOT</initializr-metadata.version>
<awaitility.version>4.0.3</awaitility.version>

View File

@@ -328,7 +328,7 @@ class PomWriter {
try {
XMLInputFactory inputFactory = XMLInputFactory2.newInstance();
inputFactory.setProperty(XMLInputFactory2.P_PRESERVE_LOCATION, Boolean.TRUE);
newPom = new ModifiedPomXMLEventReader(input, inputFactory);
newPom = new ModifiedPomXMLEventReader(input, inputFactory, null);
}
catch (XMLStreamException e) {
log.error("Exception occurred while trying to parse pom", e);