Use a local build of GitBlit 1.7.1 for static res Gerrit plugins need to access static resources under the /static folder of the jar, which unfortunately is different from what is typically done when distributing GitBlit jar on Maven. We need to build GitBlit 1.7.1 from sources with the /static resources to get the GitBlit plugin working in Gerrit and serving all CSS and images. Change-Id: I28101db85bfa40f57fc3c2dc75aff88cdd996ed9
diff --git a/lib/BUCK b/lib/BUCK index 844e469..0002bf5 100644 --- a/lib/BUCK +++ b/lib/BUCK
@@ -11,9 +11,8 @@ maven_jar( name = 'gitblit-jar', id = 'com.gitblit:gitblit:1.7.1', - sha1 = '9dafec39c3bd2ad61b5c346654eee0169b031b3f', license = 'Apache2.0', - repository = GITBLIT, + repository = MAVEN_LOCAL, ) maven_jar(
diff --git a/pom.xml b/pom.xml index 79018a6..c523d2c 100644 --- a/pom.xml +++ b/pom.xml
@@ -20,7 +20,7 @@ <artifactId>gitblit-plugin</artifactId> <description>GitBlit for Gerrit integrated as a plugin</description> <name>Gerrit - GitBlit Plugin</name> - <version>2.11-SNAPSHOT</version> + <version>2.11.10</version> <licenses> <license> <name>Apache License 2.0</name> @@ -35,7 +35,7 @@ <Gerrit-Module>com.googlesource.gerrit.plugins.gitblit.GitBlitModule</Gerrit-Module> <Gerrit-HttpModule>com.googlesource.gerrit.plugins.gitblit.GitBlitServletModule</Gerrit-HttpModule> <wicket.version>1.4.23</wicket.version> - <GitBlit-Version>1.7.0-SNAPSHOT</GitBlit-Version> + <GitBlit-Version>1.7.1</GitBlit-Version> </properties> <dependencies> <dependency>