{
final ResourceStoreRequest request = new ResourceStoreRequest(getFilePath());
request.setRequestLocalOnly(true);
request.setRequestGroupLocalOnly(true);
request.getRequestContext().put(Manager.ROUTING_INITIATED_FILE_OPERATION_FLAG_KEY, Boolean.TRUE);
final DefaultStorageFileItem file =
new DefaultStorageFileItem(getMavenRepository(), request, true, true, content);
try {
// NXCM-5188: Remark to not get tempted to change these to storeItemWithChecksums() method:
// Since NEXUS-5418 was fixed (in 2.4), Nexus serves up ALL request for existing items that
// has extra trailing ".sha1" or ".md5" from item attributes. This means, that when prefix file
// is published in Nexus, there is no need anymore to save checksums to disk, as they will