jira-importer commented on issue #494:
URL: 
https://github.com/apache/maven-deploy-plugin/issues/494#issuecomment-2771546333

   **[Michael 
Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)**
 commented
   
   I'd like to partially revert this change because it does not make sense. 
MDEPLOY does not create any checksums therefore it does not have to check them. 
The checksums are an inplementation detail of MRESOLVER. Consider this example:
   
   ```
   mosipov@bsd1srv:/usr/home/mosipov/var/Projekte/maven-deploy-plugin (master 
*%=)
   $ git status
   Auf Branch master
   Ihr Branch ist auf demselben Stand wie 'origin/master'.
   
   Unversionierte Dateien:
     (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit 
vorzumerken)
           src/it/attach-jar-checksum-release/invoker.properties
   
   keine Änderungen zum Commit vorgemerkt (benutzen Sie "git add" und/oder "git 
commit -a")
   mosipov@bsd1srv:/usr/home/mosipov/var/Projekte/maven-deploy-plugin (master 
*%=)
   $ cat src/it/attach-jar-checksum-release/invoker.properties
   1. Licensed to the Apache Software Foundation (ASF) under one
   1. or more contributor license agreements.  See the NOTICE file
   1. distributed with this work for additional information
   1. regarding copyright ownership.  The ASF licenses this file
   1. to you under the Apache License, Version 2.0 (the
   1. "License"); you may not use this file except in compliance
   1. with the License.  You may obtain a copy of the License at
   #
   1.   http://www.apache.org/licenses/LICENSE-2.0
   #
   1. Unless required by applicable law or agreed to in writing,
   1. software distributed under the License is distributed on an
   1. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   1. KIND, either express or implied.  See the License for the
   1. specific language governing permissions and limitations
   1. under the License.
   
   invoker.goals = deploy -Daether.checksums.algorithms=SHA-256
   ```
   
   output:
   
   ```
   [INFO]   The post-build script did not succeed. 
/var/mosipov/Projekte/maven-deploy-plugin/target/it/attach-jar-checksum-release/target/remoterepo/org/apache/maven/its/deploy/ajc/test/1.0/test-1.0.pom.md5
 (No such file or directory)
   [INFO]           attach-jar-checksum-release/pom.xml .............. FAILED 
(2.5 s)
   ...
   [ERROR] The following builds failed:
   [ERROR] *  attach-jar-checksum-release/pom.xml
   [INFO] -------------------------------------------------
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  01:27 min
   [INFO] Finished at: 2020-12-21T15:08:20+01:00
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-invoker-plugin:3.2.1:verify (integration-test) 
on project maven-deploy-plugin: 1 build failed. See console output above for 
details. -> [Help 1]
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to