diff options
author | Bo Yang <teboring@google.com> | 2015-05-29 16:28:05 -0700 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2015-05-29 16:32:04 -0700 |
commit | 252daef02beb27dfb271af8c191102bd24ffd3e3 (patch) | |
tree | 7775c097ade99e8ea24a0bc6939eb2a8c5b0e9a6 /javanano | |
parent | e107e2d68edb550bc7763db2cbbc463ae264dcce (diff) | |
download | protobuf-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 'javanano')
-rw-r--r-- | javanano/pom.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/javanano/pom.xml b/javanano/pom.xml index 3b3813ab..f0bcc333 100644 --- a/javanano/pom.xml +++ b/javanano/pom.xml @@ -174,6 +174,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> |