Permalink
Browse files

Maven-tycho build support

  • Loading branch information...
1 parent 260aaf6 commit 90589fff4c42bcfae7d8abb5c1f192832f8c653e @ghillairet ghillairet committed Oct 25, 2013
View
@@ -1,3 +1,4 @@
+target
bin
.metadata
/com.github.eclipsecolortheme.updatesite/artifacts.jar
@@ -0,0 +1,12 @@
+<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">
+ <parent>
+ <artifactId>eclipsecolortheme</artifactId>
+ <groupId>com.github</groupId>
+ <version>0.13.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>com.github.eclipsecolortheme.feature</artifactId>
+ <packaging>eclipse-feature</packaging>
+</project>
@@ -1,5 +1,3 @@
-jre.compilation.profile = J2SE-1.5
source.. = src/
-output.. = bin/
bin.includes = META-INF/,\
.
@@ -0,0 +1,13 @@
+<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">
+ <parent>
+ <artifactId>eclipsecolortheme</artifactId>
+ <groupId>com.github</groupId>
+ <version>0.13.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>com.github.eclipsecolortheme.test</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+ <version>0.11.0-SNAPSHOT</version>
+</project>
@@ -0,0 +1,13 @@
+<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">
+ <parent>
+ <artifactId>eclipsecolortheme</artifactId>
+ <groupId>com.github</groupId>
+ <version>0.13.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>com.github.eclipsecolortheme.updatesite</artifactId>
+ <packaging>eclipse-repository</packaging>
+
+</project>
@@ -1,9 +1,7 @@
source.. = src/
-output.. = bin/
bin.includes = plugin.xml,\
META-INF/,\
.,\
schema/,\
themes/,\
mappings/
-jre.compilation.profile = J2SE-1.5
@@ -0,0 +1,12 @@
+<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">
+ <parent>
+ <artifactId>eclipsecolortheme</artifactId>
+ <groupId>com.github</groupId>
+ <version>0.13.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>com.github.eclipsecolortheme</artifactId>
+ <packaging>eclipse-plugin</packaging>
+</project>
View
@@ -0,0 +1,132 @@
+<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>0.13.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.18.1</tycho-version>
+ </properties>
+
+ <repositories>
+ <repository>
+ <id>kepler</id>
+ <layout>p2</layout>
+ <url>http://download.eclipse.org/releases/kepler</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>
+
+</project>

0 comments on commit 90589ff

Please sign in to comment.