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/617e72262042de8cf1f11bc8e3aaa231669f181a.svn-base'
and destination
'/Users/lmcgibbn/Downloads/any23/any23-site/.svn/pristine/61/617e72262042de8cf1f11bc8e3aaa231669f181a.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


-- 
http://home.apache.org/~lewismc/
http://people.apache.org/keys/committer/lewismc

Reply via email to