Permalink
bdb542d Jul 5, 2015
@fhd @mbooth101 @ghillairet
172 lines (157 sloc) 4.25 KB
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github</groupId>
<artifactId>eclipsecolortheme</artifactId>
<packaging>pom</packaging>
<version>1.1.0-SNAPSHOT</version>
<modules>
<module>com.github.eclipsecolortheme</module>
<module>com.github.eclipsecolortheme.feature</module>
<module>com.github.eclipsecolortheme.test</module>
<module>com.github.eclipsecolortheme.updatesite</module>
</modules>
<properties>
<tycho-version>0.23.0</tycho-version>
</properties>
<repositories>
<repository>
<id>eclipse-platform</id>
<layout>p2</layout>
<url>${eclipse.repo.url}</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
<pomDependencies>consider</pomDependencies>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<argLine>-Xmx512M</argLine>
<includes>
<include>**/test/*Test.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<includeAllDependencies>false</includeAllDependencies>
<createArtifactRepository>true</createArtifactRepository>
<compress>true</compress>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-publisher-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<publishArtifacts>true</publishArtifacts>
</configuration>
</plugin>
<!-- enable source bundle generation -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>plugin-source</id>
<goals>
<goal>plugin-source</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.0-beta-9</version>
</plugin>
</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>