Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
e4999565
Commit
e4999565
authored
Apr 01, 2015
by
Kun Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
18f02bc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
16 deletions
+8
-16
README.md
protoc-artifacts/README.md
+8
-16
No files found.
protoc-artifacts/README.md
View file @
e4999565
...
...
@@ -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
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment