diff options
author | Shawn O. Pearce <sop@google.com> | 2012-05-10 16:54:28 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2012-05-18 09:51:09 -0700 |
commit | da4919abf6995b30407f232a25c19d5dbbfe25aa (patch) | |
tree | 7747e44cb13f838caa883ff6ee6b88232e4d56a0 /gerrit-extension-api/pom.xml | |
parent | 6fa1e9121dfdf229e8c88072a57b19492e26d99f (diff) |
Expose only extension-api to extensions
Unless a plugin declares "Gerrit-ApiType: plugin" in its manifest,
assume it is an extension and only make the gerrit-extension-api
available to it through the ClassLoader.
For non-plugins, do not make any Guice bindings available from the
server. This further restricts what an extension can see and do with
the system internals.
Change-Id: Ia38336c42786afb1419d64c06b0d908ae92a64d1
Diffstat (limited to 'gerrit-extension-api/pom.xml')
-rw-r--r-- | gerrit-extension-api/pom.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gerrit-extension-api/pom.xml b/gerrit-extension-api/pom.xml index 0209f3fe67..ff672d5cc8 100644 --- a/gerrit-extension-api/pom.xml +++ b/gerrit-extension-api/pom.xml @@ -56,6 +56,8 @@ limitations under the License. <artifactId>maven-shade-plugin</artifactId> <configuration> <createSourcesJar>true</createSourcesJar> + <shadedArtifactAttached>true</shadedArtifactAttached> + <shadedClassifierName>all</shadedClassifierName> </configuration> <executions> <execution> |