aboutsummaryrefslogtreecommitdiff
path: root/protoc-artifacts
diff options
context:
space:
mode:
authorKun Zhang <zhangkun@google.com>2015-04-01 12:06:24 -0700
committerKun Zhang <zhangkun@google.com>2015-04-01 12:06:24 -0700
commite499956536ca12f151715b8f9f79739df9da15ff (patch)
tree5cf0b60342733f02fb9431d6027c85cd1b21bd73 /protoc-artifacts
parent18f02bc1cde4f039e8ecd85d8f2949c5c66a9d84 (diff)
downloadprotobuf-e499956536ca12f151715b8f9f79739df9da15ff.tar.gz
protobuf-e499956536ca12f151715b8f9f79739df9da15ff.tar.bz2
protobuf-e499956536ca12f151715b8f9f79739df9da15ff.zip
Update README.md
Diffstat (limited to 'protoc-artifacts')
-rw-r--r--protoc-artifacts/README.md24
1 files changed, 8 insertions, 16 deletions
diff --git a/protoc-artifacts/README.md b/protoc-artifacts/README.md
index d3ef7ba2..e99e4745 100644
--- a/protoc-artifacts/README.md
+++ b/protoc-artifacts/README.md
@@ -16,33 +16,25 @@ The name of a published ``protoc`` artifact is in the following format:
``protoc-<version>-<os>-<arch>.exe``, e.g., ``protoc-3.0.0-alpha-3-windows-x86_64.exe``.
## System requirement
-These scripts only work under Unix-like environments, e.g., Linux, MacOSX, and
+Install [Apache Maven](http://maven.apache.org/) if you don't have it.
+
+The scripts only work under Unix-like environments, e.g., Linux, MacOSX, and
Cygwin or MinGW for Windows. Please see ``README.md`` of the Protobuf project
for how to set up the build environment.
## To install artifacts locally
The following command will install the ``protoc`` artifact to your local Maven repository.
```
-$ ./gradlew install
+$ mvn install
```
## To push artifacts to Maven Central
-Before you can upload artifacts to Maven Central repository, you must have [set
-up your account with OSSRH](http://central.sonatype.org/pages/ossrh-guide.html),
-and have [generated a PGP key](http://gradle.org/docs/current/userguide/signing_plugin.html)
-for siging. You need to put your account information and PGP key information
-in ``$HOME/.gradle/gradle.properties``, e.g.:
-```
-signing.keyId=24875D73
-signing.password=secret
-signing.secretKeyRingFile=/Users/me/.gnupg/secring.gpg
-
-ossrhUsername=your-jira-id
-ossrhPassword=your-jira-password
-```
+Before you can upload artifacts to Maven Central repository, make sure you have
+read [this page](http://central.sonatype.org/pages/apache-maven.html) on how to
+configure GPG and Sonatype account
Use the following command to upload artifacts:
```
-$ ./gradlew uploadArchives
+$ mvn clean deploy -P release
```