Remote lock file can remain locked when using certain transport protocols
-------------------------------------------------------------------------
Key: FELIX-474
URL: https://issues.apache.org/jira/browse/FELIX-474
Project: Felix
Issue Type: Bug
Components: Maven OBR Plugin
Affects Versions: 1.0.0
Reporter: Stuart McCulloch
Assignee: Stuart McCulloch
Fix For: 1.2.0
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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.