aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorBo Yang <teboring@google.com>2015-05-29 16:28:05 -0700
committerBo Yang <teboring@google.com>2015-05-29 16:32:04 -0700
commit252daef02beb27dfb271af8c191102bd24ffd3e3 (patch)
tree7775c097ade99e8ea24a0bc6939eb2a8c5b0e9a6 /java
parente107e2d68edb550bc7763db2cbbc463ae264dcce (diff)
downloadprotobuf-252daef02beb27dfb271af8c191102bd24ffd3e3.tar.gz
protobuf-252daef02beb27dfb271af8c191102bd24ffd3e3.tar.bz2
protobuf-252daef02beb27dfb271af8c191102bd24ffd3e3.zip
Add distributionManagement explicitly to prevent maven from using
default configuration. In default configuration, maven needs webdav for deployment, which cannot be found in central repository.
Diffstat (limited to 'java')
-rw-r--r--java/pom.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/java/pom.xml b/java/pom.xml
index f0969db7..6877ac27 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -191,6 +191,16 @@
<profiles>
<profile>
<id>release</id>
+ <distributionManagement>
+ <snapshotRepository>
+ <id>sonatype-nexus-staging</id>
+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+ </snapshotRepository>
+ <repository>
+ <id>sonatype-nexus-staging</id>
+ <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
+ </repository>
+ </distributionManagement>
<build>
<plugins>
<plugin>