diff options
Diffstat (limited to 'org.eclipse.jgit/pom.xml')
-rw-r--r-- | org.eclipse.jgit/pom.xml | 39 |
1 files changed, 36 insertions, 3 deletions
diff --git a/org.eclipse.jgit/pom.xml b/org.eclipse.jgit/pom.xml index ce3256a512..b3d1ee6a3d 100644 --- a/org.eclipse.jgit/pom.xml +++ b/org.eclipse.jgit/pom.xml @@ -51,11 +51,10 @@ <parent> <groupId>org.eclipse.jgit</groupId> - <artifactId>jgit-parent</artifactId> + <artifactId>org.eclipse.jgit-parent</artifactId> <version>0.6.0-SNAPSHOT</version> </parent> - <packaging>eclipse-plugin</packaging> <artifactId>org.eclipse.jgit</artifactId> <name>JGit - Core</name> @@ -81,6 +80,40 @@ </includes> </resource> </resources> - </build> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Import-Package> + !org.xml.sax.*, + !javax.crypto.*, + com.jcraft.jsch;version="${jsch-version}", + * + </Import-Package> + </instructions> + </configuration> + <executions> + <execution> + <id>bundle-manifest</id> + <phase>process-classes</phase> + <goals> + <goal>manifest</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifestFile>META-INF/MANIFEST.MF</manifestFile> + </archive> + </configuration> + </plugin> + </plugins> + </build> </project> |