Skip to content

Commit 2fcfaef

Browse files
committed
Change order of dependencies and update version
With the new order of dependencies Eclipse manages to open the correct source for classes from Lucene. It appears to take the first matching jar it finds in the dependencies, and somehow the gerrit-api bundle, which also includes Lucene, doesn't have a source bundle.
1 parent 6785f76 commit 2fcfaef

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
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.1-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'>2.16.171.2-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.1-SNAPSHOT</a>
95+
<a href="https://github.com/tomaswolf/gerrit-gitblit-plugin" target="_blank">GitBlit plugin 2.16.171.2-SNAPSHOT</a>
9696
</div>
9797
<script type="text/javascript" src="version_check.js"></script>

pom.xml

Lines changed: 17 additions & 17 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.1-SNAPSHOT</version><!-- Gerrit API version followed by collapsed GitBlit version, followed by plugin version -->
23+
<version>2.16.171.2-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>
@@ -40,22 +40,6 @@ limitations under the License.
4040
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4141
</properties>
4242
<dependencies>
43-
<dependency>
44-
<groupId>com.google.gerrit</groupId>
45-
<artifactId>gerrit-plugin-api</artifactId>
46-
<version>${Gerrit-ApiVersion}</version>
47-
</dependency>
48-
<dependency>
49-
<groupId>com.gitblit</groupId>
50-
<artifactId>gitblit</artifactId>
51-
<version>${GitBlit-Version}</version>
52-
<exclusions>
53-
<exclusion>
54-
<groupId>com.google.inject.extensions</groupId>
55-
<artifactId>guice-servlet</artifactId>
56-
</exclusion>
57-
</exclusions>
58-
</dependency>
5943
<dependency>
6044
<groupId>org.apache.wicket</groupId>
6145
<artifactId>wicket</artifactId>
@@ -101,6 +85,22 @@ limitations under the License.
10185
<artifactId>lucene-sandbox</artifactId>
10286
<version>${Lucene-Version}</version>
10387
</dependency>
88+
<dependency>
89+
<groupId>com.google.gerrit</groupId>
90+
<artifactId>gerrit-plugin-api</artifactId>
91+
<version>${Gerrit-ApiVersion}</version>
92+
</dependency>
93+
<dependency>
94+
<groupId>com.gitblit</groupId>
95+
<artifactId>gitblit</artifactId>
96+
<version>${GitBlit-Version}</version>
97+
<exclusions>
98+
<exclusion>
99+
<groupId>com.google.inject.extensions</groupId>
100+
<artifactId>guice-servlet</artifactId>
101+
</exclusion>
102+
</exclusions>
103+
</dependency>
104104
</dependencies>
105105
<build>
106106
<resources>

0 commit comments

Comments
 (0)