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
diff --git a/example-restApiGetRevision/pom.xml b/example-restApiGetRevision/pom.xml index 71ff313..21da9d7 100644 --- a/example-restApiGetRevision/pom.xml +++ b/example-restApiGetRevision/pom.xml
@@ -42,7 +42,7 @@ <archive> <manifestEntries> <Gerrit-PluginName>example-restApiGetRevision</Gerrit-PluginName> - <Gerrit-SshModule>com.googlesource.gerrit.plugins.examples.restapigetrevision.SshModule</Gerrit-SshModule> + <Gerrit-Module>com.googlesource.gerrit.plugins.examples.restapigetrevision.Module</Gerrit-Module> <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor> <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL>
diff --git a/example-restApiPostProject/pom.xml b/example-restApiPostProject/pom.xml index b494a39..f2ad4da 100644 --- a/example-restApiPostProject/pom.xml +++ b/example-restApiPostProject/pom.xml
@@ -42,7 +42,7 @@ <archive> <manifestEntries> <Gerrit-PluginName>example-restApiPostProject</Gerrit-PluginName> - <Gerrit-SshModule>com.googlesource.gerrit.plugins.examples.restapipostproject.SshModule</Gerrit-SshModule> + <Gerrit-Module>com.googlesource.gerrit.plugins.examples.restapipostproject.Module</Gerrit-Module> <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor> <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL> @@ -78,4 +78,4 @@ <scope>provided</scope> </dependency> </dependencies> -</project> \ No newline at end of file +</project>
diff --git a/example-restApiPostRevision/pom.xml b/example-restApiPostRevision/pom.xml index e578db8..8d71b47 100644 --- a/example-restApiPostRevision/pom.xml +++ b/example-restApiPostRevision/pom.xml
@@ -42,7 +42,7 @@ <archive> <manifestEntries> <Gerrit-PluginName>example-restApiPostRevision</Gerrit-PluginName> - <Gerrit-SshModule>com.googlesource.gerrit.plugins.examples.restapipostrevision.SshModule</Gerrit-SshModule> + <Gerrit-Module>com.googlesource.gerrit.plugins.examples.restapipostrevision.Module</Gerrit-Module> <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor> <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL>