|
@@ -30,7 +30,7 @@ $ mvn install
|
|
|
|
|
|
## Cross-compilation
|
|
## Cross-compilation
|
|
The Maven script will try to detect the OS and the architecture from Java
|
|
The Maven script will try to detect the OS and the architecture from Java
|
|
-system properties. It's possible to build a protoc binary for an arhitecture
|
|
|
|
|
|
+system properties. It's possible to build a protoc binary for an architecture
|
|
that is different from what Java has detected, as long as you have the proper
|
|
that is different from what Java has detected, as long as you have the proper
|
|
compilers installed. For example, MingGW32 only ships with 32-bit compilers,
|
|
compilers installed. For example, MingGW32 only ships with 32-bit compilers,
|
|
but you can still build 32-bit protoc under a 64-bit system, with the following
|
|
but you can still build 32-bit protoc under a 64-bit system, with the following
|
|
@@ -42,7 +42,7 @@ $ mvn install -Dos.detected.arch=x86_32
|
|
## To push artifacts to Maven Central
|
|
## To push artifacts to Maven Central
|
|
Before you can upload artifacts to Maven Central repository, make sure you have
|
|
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
|
|
read [this page](http://central.sonatype.org/pages/apache-maven.html) on how to
|
|
-configure GPG and Sonatype account
|
|
|
|
|
|
+configure GPG and Sonatype account.
|
|
|
|
|
|
Use the following command to upload artifacts:
|
|
Use the following command to upload artifacts:
|
|
```
|
|
```
|