Flipped jgit.core to manifest-first maven-3/tycho build
Change-Id: I6005134a45046d16e323a2f9b2815831cdbe15e0
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
diff --git a/pom.xml b/pom.xml
index 7663eaa..2ae1682 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,8 +123,35 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+
+ <tycho-version>0.6.0-SNAPSHOT</tycho-version>
</properties>
+ <repositories>
+ <repository>
+ <id>galileo</id>
+ <layout>p2</layout>
+ <url>http://download.eclipse.org/releases/galileo</url>
+ </repository>
+ </repositories>
+
+ <!--
+ Temporary, until we sycn Tycho to maven central,
+ see https://issues.sonatype.org/browse/TYCHO-312
+ -->
+ <pluginRepositories>
+ <pluginRepository>
+ <id>nexus</id>
+ <url>http://repository.sonatype.org/content/groups/public</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
<build>
<plugins>
<plugin>
@@ -169,6 +196,23 @@
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <extensions>true</extensions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <resolver>p2</resolver>
+ </configuration>
+ </plugin>
+
</plugins>
</build>
@@ -253,5 +297,7 @@
<module>org.eclipse.jgit.pgm</module>
<module>org.eclipse.jgit.junit</module>
<module>org.eclipse.jgit.test</module>
+
+ <module>org.eclipse.jgit-feature</module>
</modules>
</project>