diff options
Diffstat (limited to 'org.eclipse.jgit.packaging')
-rw-r--r-- | org.eclipse.jgit.packaging/org.eclipse.jgit.repository/assembly.xml | 14 | ||||
-rw-r--r-- | org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml | 28 | ||||
-rw-r--r-- | org.eclipse.jgit.packaging/org.eclipse.jgit.repository/site.xml (renamed from org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml) | 0 |
3 files changed, 41 insertions, 1 deletions
diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/assembly.xml b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/assembly.xml new file mode 100644 index 0000000000..5bcf746028 --- /dev/null +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/assembly.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<assembly> + <id>site</id> + <formats> + <format>zip</format> + </formats> + <includeBaseDirectory>false</includeBaseDirectory> + <fileSets> + <fileSet> + <directory>${project.build.directory}/site</directory> + <outputDirectory>/</outputDirectory> + </fileSet> + </fileSets> +</assembly>
\ No newline at end of file diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml index 0cf09dd652..f088af1953 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml @@ -54,7 +54,9 @@ </parent> <artifactId>org.eclipse.jgit.repository</artifactId> - <packaging>eclipse-repository</packaging> + <!-- TODO as soon as Tycho bug 368596 is fixed we should use packaging type + eclipse-repository --> + <packaging>eclipse-update-site</packaging> <name>JGit P2 Repository</name> @@ -80,4 +82,28 @@ <version>2.0.0-SNAPSHOT</version> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.3</version> + <configuration> + <descriptors> + <descriptor>assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/site.xml index dd20b56a7a..dd20b56a7a 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/category.xml +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/site.xml |