You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/06/10 10:24:00 UTC
[jira] [Commented] (MSHARED-922) Remove checksum creation from
other places than maven-resolver
[ https://issues.apache.org/jira/browse/MSHARED-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130485#comment-17130485 ]
Konrad Windszus commented on MSHARED-922:
-----------------------------------------
[~michael-o] WDYT?
> Remove checksum creation from other places than maven-resolver
> --------------------------------------------------------------
>
> Key: MSHARED-922
> URL: https://issues.apache.org/jira/browse/MSHARED-922
> Project: Maven Shared Components
> Issue Type: Improvement
> Components: maven-artifact-transfer
> Affects Versions: maven-artifact-transfer-0.12.0
> Reporter: Konrad Windszus
> Priority: Major
>
> Currently there are checksums (MD5/SHA10 being created at https://github.com/apache/maven-artifact-transfer/blob/87842f9c712eb6496b32d4aff09307d0970d9f7b/src/main/java/org/apache/maven/shared/transfer/project/deploy/internal/DefaultProjectDeployer.java#L130 which is used e.g. from the maven-deploy-plugin.
> IMHO only the Maven-Resolver should ever create checksums as this is also the only code leveraging the checksums. There is already code for that at https://github.com/apache/maven-resolver/blob/47edcfe69c4e52ced4cb93d65b7348b5645cdd68/maven-resolver-connector-basic/src/main/java/org/eclipse/aether/connector/basic/BasicRepositoryConnector.java#L557.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)