Skip to content

Instantly share code, notes, and snippets.

@davido
Last active December 31, 2015 23:39
Show Gist options
  • Save davido/8061413 to your computer and use it in GitHub Desktop.
Save davido/8061413 to your computer and use it in GitHub Desktop.
make singleusergroup plugin to compile aganst 2.8 stable
diff --git a/pom.xml b/pom.xml
index 7336fbe..53d0088 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@ limitations under the License.
<properties>
<Gerrit-ApiType>plugin</Gerrit-ApiType>
- <Gerrit-ApiVersion>2.9-SNAPSHOT</Gerrit-ApiVersion>
+ <Gerrit-ApiVersion>2.8</Gerrit-ApiVersion>
</properties>
<build>
@@ -85,7 +85,7 @@ limitations under the License.
<repositories>
<repository>
<id>gerrit-api-repository</id>
- <url>https://gerrit-api.commondatastorage.googleapis.com/snapshot/</url>
+ <url>https://gerrit-api.commondatastorage.googleapis.com/release/</url>
</repository>
</repositories>
</project>
@nnutter
Copy link

nnutter commented Dec 20, 2013

Strange I can get both the POM and the JAR with curl/wget. I found I can install the file to the local repository manually:

wget https://gerrit-api.commondatastorage.googleapis.com/release/com/google/gerrit/gerrit-plugin-api/2.8/gerrit-plugin-api-2.8.jar
mvn install:install-file \
    -DgroupId=com.google.gerrit \
    -DartifactId=gerrit-plugin-api \
    -Dversion=2.8 \
    -Dpackaging=jar \
    -Dfile=gerrit-plugin-api-2.8.jar

And now I can build singleusergroup! Thanks for your help!

@davido
Copy link
Author

davido commented Dec 20, 2013

weird.

@davido
Copy link
Author

davido commented Dec 20, 2013

You are wellcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment