chetanmeh commented on issue #3061: Add maven plugin to build.grade
URL: 
https://github.com/apache/incubator-openwhisk/pull/3061#issuecomment-350443931
 
 
   Few references for changes in main build.gradle
   
   The use of maven plugin somehow also enables the zipDist and hence gradle 
starts creating and publishing the distribution in zip format also in addition 
to tar. So to disable that 2 steps are required
   
   ```
     //Avoid generating the zip files from maven installations
               distZip {
                   enabled false
               }
   
               configurations.archives.with {
                   artifacts.remove artifacts.find { it.archiveTask.is distZip }
               }
   ```
   
   First part disables distZip but then it cause issue in install. So zip 
artifact needs to be explicitly removed. See discussion [here][1]
   
   [1]: 
https://discuss.gradle.org/t/how-to-exclude-zip-only-from-archives-for-maven-repo-upload/13354/2

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to