Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
framework-1.0.0
-
None
Description
The OBR plugin uses a remote 'lock-file' to lock the remote OBR while it is being updated.
To lock the OBR, it uploads a file containing "LOCKED", to unlock it uploads an empty file.
For some reason with certain transports (such as file:) uploading an empty file does not
overwrite the existing file, which means the remote OBR will remain locked.
To workaround this issue we should upload a file containing a single space, and change
the lock check to trigger on files that are more than 2 bytes long. (this is simpler than
finding the root cause in maven or wagon and waiting for a fix)