Gitiles: Implement Buck driven build Until extension system is released by Buck team [1], factor out existing Buck building blocks as Bucklets in standalone git repository and reuse it as Git submodule to implement Buck driven build [2]. To build gitiles `gitiles` target is used: buck build gitiles To build servlet, sources and javadoc in addition, `all` target is used: buck build all that produces: buck-out/gen/gitiles.war buck-out/gen/servlet.jar buck-out/gen/src.jar buck-out/gen/javadoc.jar To execute the tests: buck test --all To generate eclipse project: bucklets/tools/eclipse.py To fetch sources for all dependent libraries too: bucklets/tools/eclipse.py --src To install gitiles-servlet into local Maven repository: buck build mvn_install To deploy gitiles-servlet into remote Maven repository: buck build mvn_deploy [1] http://stackoverflow.com/questions/16681527/buck-vs-gradle-pros-and-cons-for-android-build-systems [2] https://gerrit.googlesource.com/bucklets Change-Id: Ib824dac6423d69c298f9c30ed7a0c05b4d6447c0
diff --git a/fake_pom_deploy.xml b/fake_pom_deploy.xml new file mode 100644 index 0000000..c4695c6 --- /dev/null +++ b/fake_pom_deploy.xml
@@ -0,0 +1,29 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0"> + <modelVersion>4.0.0</modelVersion> + <groupId>com.google.gitiles</groupId> + <artifactId>Gitiles-Simple-Git-Repository-Browser</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> + <pluginRepositories> + <pluginRepository> + <id>gerrit-maven-repository</id> + <url>https://gerrit-maven.storage.googleapis.com/</url> + </pluginRepository> + </pluginRepositories> +</project>