Skip to content
Permalink
Browse files

Maven Central publish

  • Loading branch information...
gquerret committed Apr 29, 2019
1 parent 18ed91c commit d62382d07b954fac595220e1a5aa9e89a1212756
Showing with 14 additions and 42 deletions.
  1. BIN lib/maven-ant-tasks-2.1.3.jar
  2. +0 −42 mvn.xml
  3. +14 −0 mvncentral.sh
Binary file not shown.
42 mvn.xml

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,14 @@
#!/bin/sh

# 1/ Update pom.xml with version number
# 2/ Include passphrase in $HOME/.m2/settings.xml
# <profile>
# <id>release</id>
# <properties>
# <gpg.passphrase>INSERT VALUE HERE</gpg.passphrase>
# </properties>
# </profile>

mvn org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2 -DrepositoryId=ossrh -DpomFile=pom.xml -Dfile=dist/PCT.jar -Pgpg
mvn org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2 -DrepositoryId=ossrh -DpomFile=pom.xml -Dfile=dist/PCT-sources.jar -Dclassifier=sources -Pgpg
mvn org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2 -DrepositoryId=ossrh -DpomFile=pom.xml -Dfile=dist/PCT-javadoc.jar -Dclassifier=javadoc -Pgpg

0 comments on commit d62382d

Please sign in to comment.
You can’t perform that action at this time.