Description
See SCM-867
By default, CVSNT will corrupt jars during `mvn deploy`. Vanilla CVS less likely, but still possible due to Keyword substitution. ScmWagon needs to perform checkout and add commands with the '-kb' flag (binary).
For that we need to call the overloaded methods added recently in maven-scm 1.9.6.
UPD: As it turns out, svn may also change files, if enable-auto-props is on. The test case "testWagon" which could reveal that is disabled by mistake: it runs only if supportsGetIfNewer(), but we don't call getIfNewer() there.
To demonstrate the issue, edit your subversion config file:
[miscellany] enable-auto-props = yes [auto-props] test-resource = svn:eol-style=CRLF
This will not affect checkin, because the test file already has LF, but the auto property will be set and next time the file will be checked out with CRLF and #testWagon will fail.
UPD2: for git should also set the shallow flag
Attachments
Issue Links
- blocks
-
WAGON-495 Fix checkoutDirectory leak
-
- Closed
-
-
WAGON-500 Re-enable ScmCvsExeWagonTest
-
- Closed
-
-
WAGON-501 Add ScmGitExeWagonTest
-
- Closed
-
- is blocked by
-
SCM-867 ScmWagon has no way to work with CVS and SVN in binary mode
-
- Closed
-
-
SCM-881 ScmWagon has no way to work with SVN in binary mode
-
- Closed
-
-
SCM-882 ScmWagon has no way to work with GIT in binary mode
-
- Closed
-
- links to