[jira] [Commented] (MCHANGES-357) Cannot include Unresolved issues
[ https://issues.apache.org/jira/browse/MCHANGES-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14618271#comment-14618271 ] Franck Malartic commented on MCHANGES-357: -- Yep, i'll do that this weekend if I find some time ! Cannot include Unresolved issues Key: MCHANGES-357 URL: https://issues.apache.org/jira/browse/MCHANGES-357 Project: Maven Changes Plugin Issue Type: Bug Components: jira Affects Versions: 2.11 Environment: Jira 5.2.11 Reporter: Franck Malartic Using the jira-report goal, it is impossible to get Unresolved issues. Unresolved is not managed by Jira server like other resolution statuses. The REST API does not return the Unresolved status thus the plugin throws the following exception: org.apache.maven.plugin.MojoFailureException: Could not find resolution Unresolved. at org.apache.maven.plugin.jira.RestJiraDownloader.resolveOneItem(RestJiraDownloader.java:265) at org.apache.maven.plugin.jira.RestJiraDownloader.resolveList(RestJiraDownloader.java:246) at org.apache.maven.plugin.jira.RestJiraDownloader.resolveIds(RestJiraDownloader.java:212) at org.apache.maven.plugin.jira.RestJiraDownloader.doExecute(RestJiraDownloader.java:131) at org.apache.maven.plugin.jira.AdaptiveJiraDownloader.doExecute(AdaptiveJiraDownloader.java:47) at org.apache.maven.plugin.jira.JiraMojo.executeReport(JiraMojo.java:372) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:255) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:210) at org.apache.maven.plugin.changes.AbstractChangesReport.execute(AbstractChangesReport.java:207) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) at org.codehaus.classworlds.Launcher.main(Launcher.java:46) Note that you won't have the same error with the https://issues.apache.org/jira/ server, because the Unresolved status is redefined (id 9) https://issues.apache.org/jira/rest/api/2/resolution/ This is explicitly not recommended in Jira documentation: https://confluence.atlassian.com/display/JIRA/Defining+Resolution+Field+Values The redefinition of Unresolved shall lead to incorrect Jira status report. JQL with id=Unresolved is correct: https://issues.apache.org/jira/browse/MCHANGES-240?jql=project%20%3D%20MCHANGES%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC but with id=9 it is not (result is empty): https://issues.apache.org/jira/issues/?jql=project%20%3D%20MCHANGES%20AND%20resolution%20%3D%209%20ORDER%20BY%20priority%20DESC And in that case, setting configuration resolutionIds to Unresolved will lead to the second sample query. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MASSEMBLY-775) Emit WARNING instead of ERROR
[ https://issues.apache.org/jira/browse/MASSEMBLY-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14619880#comment-14619880 ] Steve Park commented on MASSEMBLY-775: -- If you see the error with giving '/' like this outputDirectory//outputDirectory, then can you try './' or leave it empty like below outputDirectory.//outputDirectory or outputDirectory/outputDirectory Emit WARNING instead of ERROR - Key: MASSEMBLY-775 URL: https://issues.apache.org/jira/browse/MASSEMBLY-775 Project: Maven Assembly Plugin Issue Type: Improvement Affects Versions: 2.5.5 Reporter: Karl Heinz Marbaise Priority: Minor I have currently a build which creates several tar/tar.gz/zip archives etc. {code} [INFO] Reading assembly descriptor: src/main/assembly/descriptor-inner-tar.xml [INFO] Reading assembly descriptor: src/main/assembly/descriptor.xml [INFO] Building tar: C:\...\xyz-X.y.z-SNAPSHOT-dist.tar [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) / [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) / {code} In my opinion the message could be a WARNING instead of an error ? WDYT ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MASSEMBLY-775) Emit WARNING instead of ERROR
[ https://issues.apache.org/jira/browse/MASSEMBLY-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14619937#comment-14619937 ] Karl Heinz Marbaise commented on MASSEMBLY-775: --- I know how to prevent this, but the question is: Is this worth an ERROR or better a WARNING (in opinion), cause checking warnings in a CI environments produces sometimes problems if such things are categorized as ERRORs Emit WARNING instead of ERROR - Key: MASSEMBLY-775 URL: https://issues.apache.org/jira/browse/MASSEMBLY-775 Project: Maven Assembly Plugin Issue Type: Improvement Affects Versions: 2.5.5 Reporter: Karl Heinz Marbaise Priority: Minor I have currently a build which creates several tar/tar.gz/zip archives etc. {code} [INFO] Reading assembly descriptor: src/main/assembly/descriptor-inner-tar.xml [INFO] Reading assembly descriptor: src/main/assembly/descriptor.xml [INFO] Building tar: C:\...\xyz-X.y.z-SNAPSHOT-dist.tar [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) / [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) / {code} In my opinion the message could be a WARNING instead of an error ? WDYT ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (MASSEMBLY-775) Emit WARNING instead of ERROR
[ https://issues.apache.org/jira/browse/MASSEMBLY-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14619937#comment-14619937 ] Karl Heinz Marbaise edited comment on MASSEMBLY-775 at 7/9/15 5:39 AM: --- I know how to prevent this, but the question is: Is this worth an ERROR or better a WARNING (in my opinion), cause checking warnings in a CI environments produces sometimes problems if such things are categorized as ERRORs was (Author: khmarbaise): I know how to prevent this, but the question is: Is this worth an ERROR or better a WARNING (in opinion), cause checking warnings in a CI environments produces sometimes problems if such things are categorized as ERRORs Emit WARNING instead of ERROR - Key: MASSEMBLY-775 URL: https://issues.apache.org/jira/browse/MASSEMBLY-775 Project: Maven Assembly Plugin Issue Type: Improvement Affects Versions: 2.5.5 Reporter: Karl Heinz Marbaise Priority: Minor I have currently a build which creates several tar/tar.gz/zip archives etc. {code} [INFO] Reading assembly descriptor: src/main/assembly/descriptor-inner-tar.xml [INFO] Reading assembly descriptor: src/main/assembly/descriptor.xml [INFO] Building tar: C:\...\xyz-X.y.z-SNAPSHOT-dist.tar [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) / [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) / {code} In my opinion the message could be a WARNING instead of an error ? WDYT ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)