michael-o commented on code in PR #907: URL: https://github.com/apache/maven/pull/907#discussion_r1045299177
########## maven-core/src/main/java/org/apache/maven/internal/transformation/ConsumerPomArtifactTransformer.java: ########## @@ -144,4 +152,17 @@ private static BiConsumer<Path, Path> transformer(RepositorySystemSession sessio }; } } + + /** + * The actual transformation: visible for testing. + */ + static InputStream transform(Path pomFile, TransformerContext context) throws IOException, XmlPullParserException { + XmlStreamReader reader = ReaderFactory.newXmlReader(Files.newInputStream(pomFile)); + XmlPullParser parser = new MXParser( EntityReplacementMap.defaultEntityReplacementMap); Review Comment: whitespace -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org