[ 
https://issues.apache.org/jira/browse/MDEPLOY-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17873918#comment-17873918
 ] 

ASF GitHub Bot commented on MDEPLOY-320:
----------------------------------------

cstamas opened a new pull request, #75:
URL: https://github.com/apache/maven-deploy-plugin/pull/75

   This plugin used old ctor for MojoExecutionException that uses "message", 
"long message" and "source". The source is fully unused in Maven Core, while 
long message just complicates things.
   
   Just unify message, use one "standard" exception message.
   
   ---
   
   https://issues.apache.org/jira/browse/MDEPLOY-320




> Unclear exception prompt
> ------------------------
>
>                 Key: MDEPLOY-320
>                 URL: https://issues.apache.org/jira/browse/MDEPLOY-320
>             Project: Maven Deploy Plugin
>          Issue Type: Improvement
>          Components: deploy:deploy
>            Reporter: Huang Xiao
>            Priority: Major
>             Fix For: 3.1.3
>
>         Attachments: image-2024-06-26-20-21-58-461.png, 
> image-2024-06-26-20-23-51-491.png, image-2024-06-26-20-52-10-086.png, 
> image-2024-06-27-14-48-46-433.png, image-2024-06-27-15-03-23-770.png, 
> image-2024-06-27-15-05-19-091.png, image-2024-06-27-15-11-37-833.png, 
> image-2024-06-27-15-12-23-385.png, image-2024-06-27-15-13-14-762.png
>
>
> Examples of unclear source code:
> !image-2024-06-26-20-21-58-461.png|width=869,height=527!
> !image-2024-06-26-20-23-51-491.png|width=872,height=514!
> Short message output from the console:
> !image-2024-06-26-20-52-10-086.png|width=839,height=645!
> *Suggest:* Use clearer longMessage instead of shortMessage.
>  
>  
> h3. *Optimization:*
> The following is the optimized effect.
>  
> 1. example 1
> !image-2024-06-27-15-13-14-762.png|width=1606,height=150!
> expected error message
> *!image-2024-06-27-15-03-23-770.png|width=1690,height=256!*
>  
> 2. example 2
> *!image-2024-06-27-15-12-23-385.png|width=1271,height=120!*
> expected error message
> *!image-2024-06-27-15-11-37-833.png|width=1390,height=212!*
>  
>  
> *PR:[[MDEPLOY-320] Unclear exception prompt by youngledo · Pull Request #64 · 
> apache/maven-deploy-plugin 
> (github.com)|https://github.com/apache/maven-deploy-plugin/pull/64]*



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

Reply via email to