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

Herve Boutemy updated MSCMPUB-48:
---------------------------------
    Description: 
user feedback: https://lists.apache.org/thread/s66lwdw7vhywvcdllcov4n5zbjj6s9dn

error message:
{noformat}[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-scm-publish-plugin:3.1.0:publish-scm 
(default-cli) on project apache-any23: Could not copy content to SCM checkout: 
Source 
'/Users/lmcgibbn/Downloads/any23/any23-site/.svn/pristine/61/617e72262042de8cf1f11bc8e3aaa231669f181a.svn-base'
 and destination 
'/Users/lmcgibbn/Downloads/any23/any23-site/.svn/pristine/61/617e72262042de8cf1f11bc8e3aaa231669f181a.svn-base'
 are the same{noformat}
is hard to understand

instead of failing when copying the first file (which is a svn file 
'.svn/pristine/61/617e72262042de8cf1f11bc8e3aaa231669f181a.svn-base' then 
creates a confusion), it would be a lot easier to understand if there was a 
check in the plugin that failed with an better explaination like:

{noformat}[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-scm-publish-plugin:3.1.0:publish-scm 
(default-cli) on project apache-any23: Configured content and checkout 
directory are the same: '/Users/lmcgibbn/Downloads/any23/any23-site' but should 
be different, see parameters documentation{noformat}

  was:
user feedback: https://lists.apache.org/thread/s66lwdw7vhywvcdllcov4n5zbjj6s9dn

error message:
{noformat}[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-scm-publish-plugin:3.1.0:publish-scm 
(default-cli) on project apache-any23: Could not copy content to SCM checkout: 
Source 
'/Users/lmcgibbn/Downloads/any23/any23-site/.svn/pristine/61/617e72262042de8cf1f11bc8e3aaa231669f181a.svn-base'
 and destination 
'/Users/lmcgibbn/Downloads/any23/any23-site/.svn/pristine/61/617e72262042de8cf1f11bc8e3aaa231669f181a.svn-base'
 are the same{noformat}
is hard to understand

instead of failing when copying the first file (which is a svn file 
'.svn/pristine/61/617e72262042de8cf1f11bc8e3aaa231669f181a.svn-base' then 
creates a confusion), it would be a lot easier to understand if there was a 
check in the plugin that failed with an better explaination like:

{noformat}[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-scm-publish-plugin:3.1.0:publish-scm 
(default-cli) on project apache-any23: Configured content and checkout 
directory are the same: /Users/lmcgibbn/Downloads/any23/any23-site but should 
be different, see parameters documentation{noformat}


> unclear message when configured content == checkoutDirectory
> ------------------------------------------------------------
>
>                 Key: MSCMPUB-48
>                 URL: https://issues.apache.org/jira/browse/MSCMPUB-48
>             Project: Maven SCM Publish Plugin
>          Issue Type: Improvement
>    Affects Versions: 3.1.0
>            Reporter: Herve Boutemy
>            Priority: Major
>
> user feedback: 
> https://lists.apache.org/thread/s66lwdw7vhywvcdllcov4n5zbjj6s9dn
> error message:
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-scm-publish-plugin:3.1.0:publish-scm 
> (default-cli) on project apache-any23: Could not copy content to SCM 
> checkout: Source 
> '/Users/lmcgibbn/Downloads/any23/any23-site/.svn/pristine/61/617e72262042de8cf1f11bc8e3aaa231669f181a.svn-base'
>  and destination 
> '/Users/lmcgibbn/Downloads/any23/any23-site/.svn/pristine/61/617e72262042de8cf1f11bc8e3aaa231669f181a.svn-base'
>  are the same{noformat}
> is hard to understand
> instead of failing when copying the first file (which is a svn file 
> '.svn/pristine/61/617e72262042de8cf1f11bc8e3aaa231669f181a.svn-base' then 
> creates a confusion), it would be a lot easier to understand if there was a 
> check in the plugin that failed with an better explaination like:
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-scm-publish-plugin:3.1.0:publish-scm 
> (default-cli) on project apache-any23: Configured content and checkout 
> directory are the same: '/Users/lmcgibbn/Downloads/any23/any23-site' but 
> should be different, see parameters documentation{noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to