Skip to content

Commit 12da7de

Browse files
committed
fix problem: Unable to load plugin Guice Modules (when use maven to build plugins)
there is no sshmoduel in restspi examples, set module in pom.xml Change-Id: I27b1503b242f3c948453e7a743361bf35639684c
1 parent 8d725af commit 12da7de

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

example-restApiGetRevision/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ limitations under the License.
4242
<archive>
4343
<manifestEntries>
4444
<Gerrit-PluginName>example-restApiGetRevision</Gerrit-PluginName>
45-
<Gerrit-SshModule>com.googlesource.gerrit.plugins.examples.restapigetrevision.SshModule</Gerrit-SshModule>
45+
<Gerrit-Module>com.googlesource.gerrit.plugins.examples.restapigetrevision.Module</Gerrit-Module>
4646

4747
<Implementation-Vendor>Gerrit Code Review</Implementation-Vendor>
4848
<Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL>

example-restApiPostProject/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ limitations under the License.
4242
<archive>
4343
<manifestEntries>
4444
<Gerrit-PluginName>example-restApiPostProject</Gerrit-PluginName>
45-
<Gerrit-SshModule>com.googlesource.gerrit.plugins.examples.restapipostproject.SshModule</Gerrit-SshModule>
45+
<Gerrit-Module>com.googlesource.gerrit.plugins.examples.restapipostproject.Module</Gerrit-Module>
4646

4747
<Implementation-Vendor>Gerrit Code Review</Implementation-Vendor>
4848
<Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL>
@@ -78,4 +78,4 @@ limitations under the License.
7878
<scope>provided</scope>
7979
</dependency>
8080
</dependencies>
81-
</project>
81+
</project>

example-restApiPostRevision/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ limitations under the License.
4242
<archive>
4343
<manifestEntries>
4444
<Gerrit-PluginName>example-restApiPostRevision</Gerrit-PluginName>
45-
<Gerrit-SshModule>com.googlesource.gerrit.plugins.examples.restapipostrevision.SshModule</Gerrit-SshModule>
45+
<Gerrit-Module>com.googlesource.gerrit.plugins.examples.restapipostrevision.Module</Gerrit-Module>
4646

4747
<Implementation-Vendor>Gerrit Code Review</Implementation-Vendor>
4848
<Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL>

0 commit comments

Comments
 (0)