Skip to content

Commit 1e981f9

Browse files
committed
Build against gerrit-plugin-api 3.0.2
Update JGit dependency to 5.3.5.201909031855-r, which is the one used in Gerrit 3.0.
1 parent 83c29af commit 1e981f9

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docu/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ with full SSO through Gerrit.
55

66
* License: [Apache Public License 2.0](http://www.apache.org/licenses/LICENSE-2.0)
77
* [Home page](https://github.com/tomaswolf/gerrit-gitblit-plugin)
8-
* Installed plugin version: <em id='gerrit-gitblit-current-version'>2.16.171.2-SNAPSHOT</em> &mdash; <a id='gerrit-gitblit-version-check' style='display:none;' href='#'>Check for updates</a>
8+
* Installed plugin version: <em id='gerrit-gitblit-current-version'>3.0.171.0-SNAPSHOT</em> &mdash; <a id='gerrit-gitblit-version-check' style='display:none;' href='#'>Check for updates</a>
99

1010
For a list of contributors, see at [GitHub](https://github.com/tomaswolf/gerrit-gitblit-plugin/graphs/contributors).
1111

@@ -92,6 +92,6 @@ Report bugs or make feature requests at the [GitHub issue tracker](https://githu
9292

9393
<hr style="color: #C0C0C0; background-color: #C0C0C0; border-color: #C0C0C0; height: 2px;" />
9494
<div style="float:right;">
95-
<a href="https://github.com/tomaswolf/gerrit-gitblit-plugin" target="_blank">GitBlit plugin 2.16.171.2-SNAPSHOT</a>
95+
<a href="https://github.com/tomaswolf/gerrit-gitblit-plugin" target="_blank">GitBlit plugin 3.0.171.0-SNAPSHOT</a>
9696
</div>
9797
<script type="text/javascript" src="version_check.js"></script>

pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020
<artifactId>gitblit-plugin</artifactId>
2121
<description>GitBlit for Gerrit integrated as a plugin</description>
2222
<name>Gerrit - GitBlit Plugin</name>
23-
<version>2.16.171.2-SNAPSHOT</version><!-- Gerrit API version followed by collapsed GitBlit version, followed by plugin version -->
23+
<version>3.0.171.0-SNAPSHOT</version><!-- Gerrit API version followed by collapsed GitBlit version, followed by plugin version -->
2424
<licenses>
2525
<license>
2626
<name>Apache License 2.0</name>
@@ -29,7 +29,8 @@ limitations under the License.
2929
</licenses>
3030
<properties>
3131
<Gerrit-ApiType>plugin</Gerrit-ApiType>
32-
<Gerrit-ApiVersion>2.16.7</Gerrit-ApiVersion>
32+
<Gerrit-ApiVersion>3.0.2</Gerrit-ApiVersion>
33+
<JGit-Version>5.3.5.201909031855-r</JGit-Version>
3334
<GitBlit-Version>1.7.1</GitBlit-Version>
3435
<Wicket-Version>1.4.22</Wicket-Version>
3536
<Lucene-Version>6.6.5</Lucene-Version>
@@ -93,7 +94,7 @@ limitations under the License.
9394
<dependency>
9495
<groupId>org.eclipse.jgit</groupId>
9596
<artifactId>org.eclipse.jgit</artifactId>
96-
<version>5.1.6.201903130242-r</version>
97+
<version>${JGit-Version}</version>
9798
</dependency>
9899
<dependency>
99100
<groupId>com.google.gerrit</groupId>
@@ -187,7 +188,7 @@ limitations under the License.
187188
<plugin>
188189
<groupId>org.apache.maven.plugins</groupId>
189190
<artifactId>maven-shade-plugin</artifactId>
190-
<version>2.3</version>
191+
<version>2.4.3</version>
191192
<configuration>
192193
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
193194
<artifactSet>

0 commit comments

Comments
 (0)