Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ public void transform(MavenProject project, RepositorySystemSession session, Pat
protected static final String SCHEMA_LOCATION_FORMAT = "https://maven.apache.org/xsd/maven-%s.xsd";

protected Model read(Path src) throws IOException, XMLStreamException {
MavenStaxReader reader = new MavenStaxReader();
try (InputStream is = Files.newInputStream(src)) {
return reader.read(is, false, null);
return new MavenStaxReader().read(is, false, null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice.

}
}

Expand Down
Loading