You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2021/03/31 21:24:39 UTC

[GitHub] [bookkeeper] sursingh opened a new pull request #2674: ISSUE-2640: BP-43: gradle build: sign published packages

sursingh opened a new pull request #2674:
URL: https://github.com/apache/bookkeeper/pull/2674


   
   ### Motivation
   
   Migrate bookkeeper build to gradle. The published artifacts need to be signed.
   
   ### Changes
   
   Add signing plugin to sign published artifacts. For details see
   https://docs.gradle.org/current/userguide/signing_plugin.html
   
   This was testing by publishing to local maven repository:
   ```
   $ gradlew bookkeeper-server:publishMavenPublicationToMavenLocal
   
   $ ls -ln ~/.m2/repository/org/apache/bookkeeper/bookkeeper-server/4.14.0-SNAPSHOT/
   total 10568
   -rw-r--r--  1 501  20  1596624 Mar 31 13:07 bookkeeper-server-4.14.0-SNAPSHOT-tests.jar
   -rw-r--r--  1 501  20      650 Mar 31 13:07 bookkeeper-server-4.14.0-SNAPSHOT-tests.jar.asc
   -rw-r--r--  1 501  20  2254279 Mar 31 13:07 bookkeeper-server-4.14.0-SNAPSHOT.jar
   -rw-r--r--  1 501  20      650 Mar 31 13:07 bookkeeper-server-4.14.0-SNAPSHOT.jar.asc
   -rw-r--r--  1 501  20     6983 Mar 31 13:07 bookkeeper-server-4.14.0-SNAPSHOT.module
   -rw-r--r--  1 501  20      650 Mar 31 13:07 bookkeeper-server-4.14.0-SNAPSHOT.module.asc
   -rw-r--r--  1 501  20     6251 Mar 31 13:07 bookkeeper-server-4.14.0-SNAPSHOT.pom
   -rw-r--r--  1 501  20      650 Mar 31 13:07 bookkeeper-server-4.14.0-SNAPSHOT.pom.asc
   -rw-r--r--  1 501  20     1817 Mar 31 13:07 maven-metadata-local.xml
   
   ```
   
   signing can be disable using following using `ORG_GRADLE_PROJECT_skipSigning`:
   
   ```
   ORG_GRADLE_PROJECT_skipSigning=1 gradlew :bookkeeper-server:publishMavenPublicationToMavenLoca
   ```
   
   Master Issue: #2640


-- 
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.

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



[GitHub] [bookkeeper] merlimat merged pull request #2674: ISSUE-2640: BP-43: gradle build: sign published packages

Posted by GitBox <gi...@apache.org>.
merlimat merged pull request #2674:
URL: https://github.com/apache/bookkeeper/pull/2674


   


-- 
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.

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