Skip to content

Commit

Permalink
Maven Central publish
Browse files Browse the repository at this point in the history
  • Loading branch information
gquerret committed Apr 29, 2019
1 parent 18ed91c commit d62382d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 42 deletions.
Binary file removed lib/maven-ant-tasks-2.1.3.jar
Binary file not shown.
42 changes: 0 additions & 42 deletions mvn.xml

This file was deleted.

14 changes: 14 additions & 0 deletions mvncentral.sh
Original file line number Original file line Diff line number Diff line change
@@ -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.