[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [release plugin] error when a file already exists in SVN


Hm...that directory isn’t part of the site build, I checked it in to keep the older versions of the api available for google indexing. I’ll have to fiddle around with the plugin to overcome the error. 

> On Jun 9, 2018, at 1:18 PM, Gary Gregory <garydgregory@xxxxxxxxx> wrote:
> 
> I deleted the files in dist SVN to handle the previous error.
> But now, here is another:
> 
> [INFO] --- commons-release-plugin:1.3-SNAPSHOT:stage-distributions
> (stage-distributions) @ commons-text ---
> [INFO] Preparing to stage distributions
> [INFO] Checking out dist from: scm:svn:
> https://dist.apache.org/repos/dist/dev/commons/text
> Executing: cmd.exe /X /C "svn --username ggregory --no-auth-cache
> --non-interactive checkout
> https://dist.apache.org/repos/dist/dev/commons/text
> C:\vcs\git\apache\commons\commons-text\target\commons-release-plugin\scm"
> Working directory:
> C:\vcs\git\apache\commons\commons-text\target\commons-release-plugin
> [INFO] Copying RELEASE-NOTES.txt to working directory.
> Executing: cmd.exe /X /C "svn add --parents --non-recursive --targets
> C:\Users\ggregory\AppData\Local\Temp\maven-scm-7797893434645231366-targets"
> Working directory:
> C:\vcs\git\apache\commons\commons-text\target\commons-release-plugin\scm
> [ERROR] Adding dist files failed: svn: E155007:
> 'C:\vcs\git\apache\commons\commons-text\target\site\apidocs' is not a
> working copy
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 03:32 min
> [INFO] Finished at: 2018-06-09T11:17:02-06:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.commons:commons-release-plugin:1.3-SNAPSHOT:stage-distributions
> (stage-distributions) on project commons-text: Adding dist files failed:
> svn: E155007: 'C:\vcs\git\apache\commons\commons-text\target\site\apidocs'
> is not a working copy
> [ERROR]
> 
> Thoughts?
> 
> Gary
> 
> 
> On Sat, Jun 9, 2018 at 11:08 AM, Gary Gregory <garydgregory@xxxxxxxxx>
> wrote:
> 
>> Hi Rob:
>> 
>> We should handle this case:
>> 
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Total time: 04:12 min
>> [INFO] Finished at: 2018-06-09T11:07:28-06:00
>> [INFO] ------------------------------------------------------------
>> ------------
>> [ERROR] Failed to execute goal org.apache.commons:commons-
>> release-plugin:1.2:stage-distributions (stage-distributions) on project
>> commons-text: Adding dist files failed: svn: warning: W150002:
>> 'C:\vcs\git\apache\commons\commons-text\target\commons-
>> release-plugin\scm\binaries\commons-text-1.4-bin.tar.gz' is already under
>> version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\binaries\
>> commons-text-1.4-bin.tar.gz.asc' is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\binaries\
>> commons-text-1.4-bin.tar.gz.md5' is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\binaries\
>> commons-text-1.4-bin.tar.gz.sha1' is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\binaries\commons-text-1.4-bin.zip'
>> is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\binaries\commons-text-1.4-bin.zip.asc'
>> is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\binaries\commons-text-1.4-bin.zip.md5'
>> is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\binaries\commons-text-1.4-bin.zip.sha1'
>> is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\source\commons-text-1.4-src.tar.gz'
>> is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\source\
>> commons-text-1.4-src.tar.gz.asc' is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\source\
>> commons-text-1.4-src.tar.gz.md5' is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\source\
>> commons-text-1.4-src.tar.gz.sha1' is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\source\commons-text-1.4-src.zip'
>> is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\source\commons-text-1.4-src.zip.asc'
>> is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\source\commons-text-1.4-src.zip.md5'
>> is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\source\commons-text-1.4-src.zip.sha1'
>> is already under version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\site.zip' is already under
>> version control
>> [ERROR] svn: warning: W150002: 'C:\vcs\git\apache\commons\
>> commons-text\target\commons-release-plugin\scm\RELEASE-NOTES.txt' is
>> already under version control
>> [ERROR] svn: E200009: Could not add all targets because some targets are
>> already versioned
>> [ERROR] svn: E200009: Illegal target for the requested operation
>> [ERROR]
>> 
>> Thank you,
>> Gary
>> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx