slawekjaranowski commented on code in PR #28: URL: https://github.com/apache/maven-doap-plugin/pull/28#discussion_r1893773202
########## src/test/java/org/apache/maven/plugin/doap/stubs/DoapProjectStub.java: ########## @@ -49,20 +50,13 @@ public class DoapProjectStub extends MavenProjectStub { */ public DoapProjectStub() { MavenXpp3Reader pomReader = new MavenXpp3Reader(); - XmlStreamReader reader = null; - try { - reader = ReaderFactory.newXmlReader(new File( - new File(super.getBasedir(), "/src/test/resources/unit/doap-configuration/"), - "doap-configuration-plugin-config.xml")); + try (XmlStreamReader reader = ReaderFactory.newXmlReader(new File( Review Comment: https://github.com/codehaus-plexus/plexus-utils/blob/plexus-utils-4.0.2/src/main/java/org/codehaus/plexus/util/ReaderFactory.java can be changed in separate PR -- 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