Define gerrit-plugin-api as a subset API

This is a new JAR produced by the build that contains almost all of
the code that the corresponding WAR contains at runtime. This permits
plugin authors to compile against this single interface JAR, and then
load their plugin into a running server that uses the real WAR.

Having the API be a single JAR simplifies plugin development, Maven
users can depend on this single JAR using the provided scope. Other
IDE users can just make a new Java project and add this single JAR
as the only dependency.

Change-Id: Ie045ec4202d44b78b75ccb4af000e13c1e7378ce
This commit is contained in:
Shawn O. Pearce
2012-05-07 14:41:01 -07:00
committed by Nasser Grainawi
parent 8909b5cf59
commit 980efdb376
4 changed files with 155 additions and 1 deletions

6
gerrit-plugin-api/.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
/target
/.classpath
/.project
/.settings/org.maven.ide.eclipse.prefs
/.settings/org.eclipse.m2e.core.prefs
/gerrit-pluginapi-ssh.iml