Hi Recently I had to do that to deploy on public sonatype you could have a look at this pom.xml (maven-gpg-plugin) <https://github.com/boly38/mongodbdump-java-wrapper/blob/master/pom.xml> and at the sonatype online requirements doc <http://central.sonatype.org/pages/requirements.html#sign-files-with-gpgpgp> to see on how to work with GPG.
my 2 cents 2016-05-13 12:56 GMT+02:00 Thomas Broyer <[email protected]>: > AFAIK, you can't do that with the maven-deploy-plugin, you need to > use maven-gpg-plugin:sign-and-deploy-file (which will do the signing too). > > On Fri, May 13, 2016 at 12:47 PM Jochen Wiedmann < > [email protected]> > wrote: > > > Hi, > > > > I am deploying my release to a Nexus staging repository by using > > > > mvn deploy:deploy-file -Dfile=target/myfile-1.0.jar > > -DpomFile=target/myFile-1.0.pom > > > > Is it possible, to have the GPG Signatures (target/myfile-1.0.jar.asc, > > etc.) deployed as well? > > > > Thanks, > > > > Jochen > > > > > > -- > > The next time you hear: "Don't reinvent the wheel!" > > > > > > > http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >
