Thank you VERY much Hervé. I looked at this code when I was tired and didn't see it. Have a great weekend. lewismc
On 2022/01/08 19:10:10 Hervé BOUTEMY wrote: > Hi, > > I was able to reproduce your issue. > > If you read the log, there is no issue with svn command. > The issue is when doing: > [INFO] Updating checkout directory with actual content in /Users/lmcgibbn/ > Downloads/any23/any23-site > > and the error message is: > Could not copy content to SCM checkout: Source 'xxx' and destination 'xxx' > are > the same -> [Help 1] > > and it's true: > https://github.com/apache/any23/blob/master/pom.xml#L1244 > > content value = ${site.filePath} > checkoutDirectory = ${site.scmPubCheckoutDirectory} = ${site.filePath} (as > defined in properties) > > that's not normal: content value should be something like target/site or > target/staging > > > see plugin documentation > https://maven.apache.org/plugins/maven-scm-publish-plugin/ > > (eventually contact me on ASF Slack...) > > Regards, > > Hervé > > > Le samedi 8 janvier 2022, 08:48:12 CET lewis john mcgibbney a écrit : > > Hi scm-users@, > > Plugin configuration is as follows > > > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-scm-publish-plugin</artifactId> > > <version>3.1.0</version> > > <configuration> > > <tryUpdate>true</tryUpdate> > > <checkinComment>Apache Any23 ${project.version} site > > deployment</checkinComment> > > > > <checkoutDirectory>${site.scmPubCheckoutDirectory}</checkoutDirectory> > > <pubScmUrl>${site.deploymentBaseUrl}</pubScmUrl> > > <content>${site.filePath}</content> > > </configuration> > > </plugin> > > > > When I execute it as part of the Apache Any23 website release ( > > https://github.com/apache/any23/blob/master/deploy-site.sh#L20) it fails > > with the following > > > > [INFO] --- maven-scm-publish-plugin:3.1.0:publish-scm (default-cli) @ > > apache-any23 --- > > [INFO] Updating the pub tree from scm:svn: > > https://svn.apache.org/repos/asf/any23/site into > > /Users/lmcgibbn/Downloads/any23/any23-site > > [INFO] Executing: /bin/sh -c cd /Users/lmcgibbn/Downloads/any23/any23-site > > && svn --username lewismc --password '*****' --no-auth-cache > > --non-interactive update /Users/lmcgibbn/Downloads/any23/any23-site@ > > [INFO] Updating checkout directory with actual content in > > /Users/lmcgibbn/Downloads/any23/any23-site > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Reactor Summary for Apache Any23 2.7-SNAPSHOT: > > [INFO] > > [INFO] Apache Any23 ....................................... FAILURE [ > > 2.957 s] > > [INFO] Apache Any23 :: Base API ........................... SUCCESS [ > > 23.288 s] > > [INFO] Apache Any23 :: Test Resources ..................... SUCCESS [ > > 9.331 s] > > [INFO] Apache Any23 :: CSV Utilities ...................... SUCCESS [ > > 14.311 s] > > [INFO] Apache Any23 :: Mime Type Detection ................ SUCCESS [ > > 20.215 s] > > [INFO] Apache Any23 :: Encoding Detection ................. SUCCESS [ > > 18.632 s] > > [INFO] Apache Any23 :: Core ............................... SUCCESS [ > > 32.095 s] > > [INFO] Apache Any23 :: CLI ................................ SUCCESS [ > > 21.820 s] > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 02:55 min > > [INFO] Finished at: 2022-01-07T23:20:55-08:00 > > [INFO] > > ------------------------------------------------------------------------ > > [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/617e72262042de8 > > cf1f11bc8e3aaa231669f181a.svn-base' and destination > > '/Users/lmcgibbn/Downloads/any23/any23-site/.svn/pristine/61/617e72262042de8 > > cf1f11bc8e3aaa231669f181a.svn-base' are the same -> [Help 1] > > > > As you can see the svn update configuration seems to add an at character in > > the website checkout directory /Users/lmcgibbn/Downloads/any23/any23-site@ > > > > Can someone explain why this is happening and does anyone have a suggestion > > for how I fix it? > > > > I also saw https://issues.apache.org/jira/browse/SCM-859 and I looked at > > the corresponding pull request but there is not too much context. > > > > Thanks for any assistance. > > > > lewismc > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org