signing - How to sign maven publications with gradle -


have such build.gradle script uses new publishing plugin:

apply plugin: 'java' apply plugin: 'groovy' apply plugin: 'signing' apply plugin: 'maven-publish'  // ...  publishing {     publications {         maven(mavenpublication) {             components.java              artifact sourcesjar {                 classifier 'source'             }         }     }      repositories {         maven {             name 'temporary'             url "file://${rootproject.builddir}/repo"         }     } }  signing {     sign configurations.archives } 

so questions are:

  1. how sign maven pom?
  2. how publish signatures maven repository?

the new, incubating maven-publish plugin doesn't support signing yet.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -