You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2018/03/19 20:27:56 UTC
[maven-artifact-transfer] branch MSHARED-701 updated: Readded the
checksum generation back should following successful build.
This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a commit to branch MSHARED-701
in repository https://gitbox.apache.org/repos/asf/maven-artifact-transfer.git
The following commit(s) were added to refs/heads/MSHARED-701 by this push:
new e051b54 Readded the checksum generation back should following successful build.
e051b54 is described below
commit e051b54e8893a04d719767870146e99485cd97eb
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Mon Mar 19 21:27:32 2018 +0100
Readded the checksum generation back should following successful build.
---
.../shared/project/install/internal/DefaultProjectInstaller.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java b/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java
index 1b62490..f0ee602 100644
--- a/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java
+++ b/src/main/java/org/apache/maven/shared/project/install/internal/DefaultProjectInstaller.java
@@ -100,7 +100,8 @@ class DefaultProjectInstaller
{
installer.install( buildingRequest,
Collections.<Artifact>singletonList( new ProjectArtifact( project ) ) );
- // installChecksums( buildingRequest, artifact, createChecksum );
+ // The following call will add the .md5/sha1 to the pom itself.
+ installChecksums( buildingRequest, artifact, createChecksum );
addMetaDataFilesForArtifact( buildingRequest, artifact, metadataFiles, createChecksum );
}
}
@@ -119,6 +120,7 @@ class DefaultProjectInstaller
if ( file != null && file.isFile() )
{
installer.install( buildingRequest, Collections.<Artifact>singletonList( artifact ) );
+ //This will add the checksums for the main artifact.
installChecksums( buildingRequest, artifact, createChecksum );
addMetaDataFilesForArtifact( buildingRequest, artifact, metadataFiles, createChecksum );
}
--
To stop receiving notification emails like this one, please contact
khmarbaise@apache.org.