You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2025/02/20 13:53:00 UTC

[jira] [Created] (MPIR-479) ProjectInfoProjectStub sweeps exceptions under the rug

Elliotte Rusty Harold created MPIR-479:
------------------------------------------

             Summary: ProjectInfoProjectStub sweeps exceptions under the rug
                 Key: MPIR-479
                 URL: https://issues.apache.org/jira/browse/MPIR-479
             Project: Maven Project Info Reports Plugin
          Issue Type: Bug
            Reporter: Elliotte Rusty Harold


{color:#0033b3}public {color}{color:#00627a}ProjectInfoProjectStub{color}() {
{color:#000000}MavenXpp3Reader pomReader {color}= {color:#0033b3}new {color}MavenXpp3Reader();
{color:#0033b3}try {color}({color:#000000}Reader reader {color}= {color:#000000}ReaderFactory{color}.newXmlReader({color:#0033b3}new {color}File(getBasedir(), getPOM()))) {
{color:#871094}model {color}= {color:#000000}pomReader{color}.read({color:#000000}reader{color});
setModel({color:#871094}model{color});
} {color:#0033b3}catch {color}({color:#000000}IOException {color}| {color:#000000}XmlPullParserException e{color}) {
{color:#0033b3}throw new {color}RuntimeException({color:#000000}e{color});
}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)