File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
addons/event-publisher/common/src/main/java/org/commonjava/indy/event/publisher Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 5050import java .util .Date ;
5151import java .util .Map ;
5252
53+ import static org .commonjava .indy .core .content .ContentMetadataGenerator .FORCE_CHECKSUM_AND_WRITE ;
5354import static org .commonjava .maven .galley .util .LocationUtils .ATTR_PATH_ENCODE ;
5455import static org .commonjava .maven .galley .util .LocationUtils .PATH_ENCODE_BASE64 ;
5556
@@ -156,6 +157,7 @@ private void transformFileEvent( org.commonjava.maven.galley.event.FileEvent gal
156157
157158 fileEvent .setTimestamp ( new Date () );
158159
160+ galleyMetadata .set ( FORCE_CHECKSUM_AND_WRITE , Boolean .FALSE );
159161 TransferMetadata artifactData = contentDigester .digest ( affectedStore , path , galleyMetadata );
160162 fileEvent .setMd5 ( artifactData .getDigests ().get ( ContentDigest .MD5 ) );
161163 fileEvent .setSha1 ( artifactData .getDigests ().get ( ContentDigest .SHA_1 ) );
You can’t perform that action at this time.
0 commit comments