Fix configuration for plugin and extension API artifact deployment

Add the necessary settings in the fake pom.xml file, and correct the URL
in the BUCK file to make deployment with gs-maven-wagon work.

Change-Id: I6d1f84c850c70f731d061d9e50a062d37c68baf2
This commit is contained in:
David Pursehouse
2013-12-04 18:06:37 +09:00
parent 63d673787b
commit a92ba47ef1
2 changed files with 18 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ TYPE = 'snapshot' if GERRIT_VERSION.endswith('-SNAPSHOT') else 'release'
maven_package(
repository = 'gerrit-api-repository',
url = 's3://gerrit-api@commondatastorage.googleapis.com/%s' % TYPE,
url = 'gs://gerrit-api/%s' % TYPE,
version = GERRIT_VERSION,
jar = {
'gerrit-extension-api': '//:extension-api',

View File

@@ -3,4 +3,21 @@
<groupId>com.google.gerrit</groupId>
<artifactId>Gerrit-Code-Review-Maven</artifactId>
<version>1</version>
<distributionManagement>
<repository>
<id>gerrit-api-repository</id>
<name>Gerrit API Repository</name>
<url>gs://gerrit-api</url>
<uniqueVersion>true</uniqueVersion>
</repository>
</distributionManagement>
<build>
<extensions>
<extension>
<groupId>com.googlesource.gerrit</groupId>
<artifactId>gs-maven-wagon</artifactId>
<version>3.3</version>
</extension>
</extensions>
</build>
</project>