diff options
author | Jonathan Nieder <jrn@google.com> | 2013-05-24 16:57:10 -0700 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2013-05-24 16:57:10 -0700 |
commit | a544ff72dbf62671d2530f4cfca0e8f9dd693d78 (patch) | |
tree | a1e218715829d52bf90fe5823b6a0905fb268173 /pom.xml | |
parent | cfc15dd9dce2252baad9dc8ce0828203a205c2cf (diff) | |
download | jgit-a544ff72dbf62671d2530f4cfca0e8f9dd693d78.tar.gz jgit-a544ff72dbf62671d2530f4cfca0e8f9dd693d78.zip |
Remove dependency by ArchiveCommand on archive formats
Provide static registerFormat and unregisterFormat methods to allow
formats to register themselves without the ArchiveCommand code being
aware of them.
Register the basic "zip" and "tar" support at bundle activation time
(and deregister them when unloading the bundle). For anyone using
this code as an OSGi plugin it should continue to just work.
The jgit program does not load org.eclipse.jgit.pgm as an OSGi bundle,
so let the Archive command register the formats it uses explicitly
with registerFormat.
Change-Id: Id39c03ea6923d0aed8316ed7b6bd04d5ced570a7
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -182,6 +182,7 @@ <!-- TODO: update Maven dependency for args4j to 2.0.21 as soon as available on Maven Central --> <args4j-version>2.0.12</args4j-version> <commons-compress-version>1.4.1</commons-compress-version> + <osgi-core-version>4.3.1</osgi-core-version> <servlet-api-version>2.5</servlet-api-version> <jetty-version>7.6.0.v20120127</jetty-version> <clirr-version>2.4</clirr-version> @@ -441,6 +442,12 @@ <artifactId>jetty-servlet</artifactId> <version>${jetty-version}</version> </dependency> + + <dependency> + <groupId>org.osgi</groupId> + <artifactId>org.osgi.core</artifactId> + <version>${osgi-core-version}</version> + </dependency> </dependencies> </dependencyManagement> |