Skip to content

Commit

Permalink
Update to maven 4.0.0-beta-3
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed May 22, 2024
1 parent 9106281 commit ed71bf9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

import com.ctc.wstx.stax.WstxInputFactory;
import org.apache.maven.api.xml.XmlNode;
import org.apache.maven.internal.xml.XmlNodeBuilder;
import org.apache.maven.internal.xml.XmlNodeStaxBuilder;
import org.apache.maven.internal.xml.XmlPlexusConfiguration;
import org.apache.maven.plugin.descriptor.MojoDescriptor;
import org.apache.maven.plugin.descriptor.Parameter;
Expand Down Expand Up @@ -152,7 +152,7 @@ private ExtendedPluginDescriptor build(String source, String nsUri, XMLStreamRea
}

protected PlexusConfiguration buildConfiguration(XMLStreamReader xsr) throws XMLStreamException {
XmlNode node = XmlNodeBuilder.build(xsr, true, null);
XmlNode node = XmlNodeStaxBuilder.build(xsr, true, null);
PlexusConfiguration cfg = XmlPlexusConfiguration.toPlexusConfiguration(node);
return cfg;
}
Expand Down
17 changes: 16 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<properties>
<javaVersion>8</javaVersion>
<pluginTestingHarnessVersion>3.3.0</pluginTestingHarnessVersion>
<maven4Version>4.0.0-alpha-13</maven4Version>
<maven4Version>4.0.0-beta-3</maven4Version>
<maven3Version>3.2.5</maven3Version>
<slf4jVersion>2.0.11</slf4jVersion>
<antVersion>1.10.14</antVersion>
Expand Down Expand Up @@ -333,6 +333,21 @@
</dependencies>
</dependencyManagement>

<repositories>
<repository>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>maven-2126</id>
<url>https://repository.apache.org/content/repositories/maven-2126/</url>
</repository>
</repositories>

<build>
<pluginManagement>
<plugins>
Expand Down

0 comments on commit ed71bf9

Please sign in to comment.