luvcjssy / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Upload early snapshot builds to Sonatype #758

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://repo2.maven.org/maven2/com/google/api-client/google-api-client-parent/1.1
4.1-beta/google-api-client-parent-1.14.1-beta.pom

http://repo2.maven.org/maven2/com/google/google/5/google-5.pom

http://repo2.maven.org/maven2/com/google/guava/guava-parent/14.0.1/guava-parent-
14.0.1.pom

http://repo2.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom

Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?

Maven

Please describe the feature requested.

There is demand from early adopters for certain features that are under 
development but haven't released yet.  We should support them by uploading 
early snapshot builds to Sonatype.  Currently our snapshot repo that we've 
inherited from the "google" artifact is:

<snapshotRepository>
<id>google-snapshots</id>
<name>Google Maven Snapshot Repository</name>
<url>
http://oss.sonatype.org/content/repositories/google-snapshots/
</url>
</snapshotRepository>

but apparently that's not correct.  Instead, we should inherit it from the 
"oss-parent" artifact:

<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>${sonatypeOssDistMgmtSnapshotsUrl}</url>
</snapshotRepository>

<sonatypeOssDistMgmtSnapshotsUrl>
https://oss.sonatype.org/content/repositories/snapshots/
</sonatypeOssDistMgmtSnapshotsUrl>

This follows what Guava is doing.

Original issue reported on code.google.com by ngmic...@google.com on 26 Mar 2013 at 4:40

GoogleCodeExporter commented 9 years ago
https://codereview.appspot.com/7915044/

Original comment by ngmic...@google.com on 26 Mar 2013 at 4:41

GoogleCodeExporter commented 9 years ago

Original comment by ngmic...@google.com on 2 Apr 2013 at 8:16