[ 
https://issues.apache.org/jira/browse/MCHANGES-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elliotte Rusty Harold closed MCHANGES-420.
------------------------------------------

> Don't dump a stack trace for a simple warning like "Couldn't find any issues 
> for the version '1.25.1' among the supplied issues: []"
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHANGES-420
>                 URL: https://issues.apache.org/jira/browse/MCHANGES-420
>             Project: Maven Changes Plugin
>          Issue Type: Bug
>         Environment: Apache Maven 3.9.6 
> (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
> Maven home: /usr/local/Cellar/maven/3.9.6/libexec
> Java version: 21.0.1, vendor: Homebrew, runtime: 
> /usr/local/Cellar/openjdk/21.0.1/libexec/openjdk.jdk/Contents/Home
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "14.2", arch: "x86_64", family: "mac"
> Darwin **** 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:10 PST 
> 2023; root:xnu-10002.61.3~2/RELEASE_X86_64 x86_64
>            Reporter: Gary D. Gregory
>            Assignee: Elliotte Rusty Harold
>            Priority: Major
>             Fix For: 3.0.0
>
>
> It feels totally over the top to dump a stack trace for a simple normal 
> warning like "Couldn't find any issues for the version '1.25.1' among the 
> supplied issues: []"
> Currently, there a no issues stamped with that version in Apache Commons 
> Compress, which is fine.
> {noformat}
> [INFO] Generating "JIRA Report" report   --- 
> maven-changes-plugin:2.12.1:jira-report
> [WARNING]
> org.apache.maven.plugin.MojoExecutionException: Couldn't find any issues for 
> the version '1.25.1' among the supplied issues: []
>     at org.apache.maven.plugin.issues.IssueUtils.getIssuesForVersion 
> (IssueUtils.java:116)
>     at org.apache.maven.plugin.jira.JiraMojo.executeReport (JiraMojo.java:361)
>     at org.apache.maven.reporting.AbstractMavenReport.generate 
> (AbstractMavenReport.java:255)
>     at 
> org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument 
> (ReportDocumentRenderer.java:226)
>     at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render 
> (DefaultSiteRenderer.java:348)
>     at org.apache.maven.plugins.site.render.SiteMojo.renderLocale 
> (SiteMojo.java:194)
>     at org.apache.maven.plugins.site.render.SiteMojo.execute 
> (SiteMojo.java:143)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
> (DefaultBuildPluginManager.java:126)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
> (MojoExecutor.java:328)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:316)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:212)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:174)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
> (MojoExecutor.java:75)
>     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
> (MojoExecutor.java:162)
>     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
> (DefaultMojosExecutionStrategy.java:39)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:159)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:105)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:73)
>     at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>  (SingleThreadedBuilder.java:53)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
> (LifecycleStarter.java:118)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
>     at jdk.internal.reflect.DirectMethodHandleAccessor.invoke 
> (DirectMethodHandleAccessor.java:103)
>     at java.lang.reflect.Method.invoke (Method.java:580)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:283)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:226)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:407)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:348)
> {noformat}



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

Reply via email to