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/18 20:29:54 UTC
[maven-artifact-transfer] branch MSHARED-701 updated: [MSHARED-701]
- WIP - Remove installation of pom checksum - IT's do not fail o This
commit must fail with test errors on missing md5 checksum cause I commented
out the installChecksums for pom projects only.
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 d763dd7 [MSHARED-701] - WIP - Remove installation of pom checksum - IT's do not fail o This commit must fail with test errors on missing md5 checksum cause I commented out the installChecksums for pom projects only.
d763dd7 is described below
commit d763dd70d9c4e0459af8dd374447434280825857
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Sun Mar 18 21:29:13 2018 +0100
[MSHARED-701] - WIP - Remove installation of pom checksum - IT's do not fail
o This commit must fail with test errors on missing md5 checksum cause
I commented out the installChecksums for pom projects only.
---
.../src/test/projects/pom-only-example/pom.xml | 1 +
.../maven/shared/project/install/internal/DefaultProjectInstaller.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/it/maven-project-installer-plugin/src/test/projects/pom-only-example/pom.xml b/src/it/maven-project-installer-plugin/src/test/projects/pom-only-example/pom.xml
index a81ca70..31f8c51 100644
--- a/src/it/maven-project-installer-plugin/src/test/projects/pom-only-example/pom.xml
+++ b/src/it/maven-project-installer-plugin/src/test/projects/pom-only-example/pom.xml
@@ -32,6 +32,7 @@
<groupId>PROJECT-INSTALLER-GROUPID-701-${mvnVersion}</groupId>
<artifactId>maven-project-installer-project-701</artifactId>
<version>2.0.701</version>
+ <packaging>pom</packaging>
<description>Check if installing POM only will fail for current implementation see MSHARED-701</description>
<build>
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 8d643c3..1b62490 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,7 @@ class DefaultProjectInstaller
{
installer.install( buildingRequest,
Collections.<Artifact>singletonList( new ProjectArtifact( project ) ) );
- installChecksums( buildingRequest, artifact, createChecksum );
+ // installChecksums( buildingRequest, artifact, createChecksum );
addMetaDataFilesForArtifact( buildingRequest, artifact, metadataFiles, createChecksum );
}
}
--
To stop receiving notification emails like this one, please contact
khmarbaise@apache.org.