Permalink
Browse files

Use latest tycho, allow building against kepler, luna, mars

versions of eclipse-platform
  • Loading branch information...
1 parent 605d641 commit bdb542d1e81149b8f5a7d5c8c70e47c5005bbab4 @mbooth101 mbooth101 committed Jul 5, 2015
Showing with 48 additions and 3 deletions.
  1. +6 −0 README.md
  2. +42 −3 pom.xml
View
@@ -142,6 +142,12 @@ You can generate an update site using [Maven](http://maven.apache.org/):
This will create an update site in
_com.github.eclipsecolortheme.updatesite/target/repository_.
+By default, Eclipse Color Theme will be built against the Eclipse Mars
+version of the platform. You can build against either Eclipse Luna or
+Kepler by setting the "platform-version" property, for example:
+
+ mvn clean verify -Dplatform-version=kepler
+
License
-------
View
@@ -15,14 +15,14 @@
</modules>
<properties>
- <tycho-version>0.18.1</tycho-version>
+ <tycho-version>0.23.0</tycho-version>
</properties>
<repositories>
<repository>
- <id>kepler</id>
+ <id>eclipse-platform</id>
<layout>p2</layout>
- <url>http://download.eclipse.org/releases/kepler</url>
+ <url>${eclipse.repo.url}</url>
</repository>
</repositories>
@@ -129,4 +129,43 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>platform-mars</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ <property>
+ <name>platform-version</name>
+ <value>mars</value>
+ </property>
+ </activation>
+ <properties>
+ <eclipse.repo.url>http://download.eclipse.org/releases/mars</eclipse.repo.url>
+ </properties>
+ </profile>
+ <profile>
+ <id>platform-luna</id>
+ <activation>
+ <property>
+ <name>platform-version</name>
+ <value>luna</value>
+ </property>
+ </activation>
+ <properties>
+ <eclipse.repo.url>http://download.eclipse.org/releases/luna</eclipse.repo.url>
+ </properties>
+ </profile>
+ <profile>
+ <id>platform-kepler</id>
+ <activation>
+ <property>
+ <name>platform-version</name>
+ <value>kepler</value>
+ </property>
+ </activation>
+ <properties>
+ <eclipse.repo.url>http://download.eclipse.org/releases/kepler</eclipse.repo.url>
+ </properties>
+ </profile>
+ </profiles>
</project>

0 comments on commit bdb542d

Please sign in to comment.