Permalink
Fetching contributors…
Cannot retrieve contributors at this time
196 lines (178 sloc) 6.27 KB
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2008 Sonatype, Inc. All rights reserved. This program
and the accompanying materials are made available under the terms of the
Eclipse Public License v1.0 which accompanies this distribution, and is available
at http://www.eclipse.org/legal/epl-v10.html -->
<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>org.omadac.m2e.extras</groupId>
<artifactId>m2eclipse-extras</artifactId>
<version>0.2.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<tycho-version>0.16.0</tycho-version>
<site-compressed>http://repository.sonatype.org/service/local/repositories/forge-sites/content-compressed/</site-compressed>
</properties>
<modules>
<module>org.omadac.m2e.repo</module>
<module>org.omadac.m2e.aspectj</module>
<module>org.omadac.m2e.aspectj.feature</module>
<module>org.omadac.m2e.hyperjaxb3</module>
<module>org.omadac.m2e.hyperjaxb3.feature</module>
<module>org.omadac.m2e.jaxb</module>
<module>org.omadac.m2e.jaxb.feature</module>
<module>org.omadac.m2e.openjpa</module>
<module>org.omadac.m2e.openjpa.feature</module>
</modules>
<repositories>
<repository>
<id>helios</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/indigo</url>
</repository>
<repository>
<id>m2e</id>
<layout>p2</layout>
<url>http://download.eclipse.org/technology/m2e/releases/1.0</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>
<ignoreTychoRepositories>true</ignoreTychoRepositories>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<useUIHarness>true</useUIHarness>
<includes>
<include>**/*Test.java</include>
</includes>
<argLine>${tycho.test.jvmArgs}</argLine>
<!-- kill test JVM it tests take more than 10 minutes (600 seconds)
to finish -->
<forkedProcessTimeoutInSeconds>7200</forkedProcessTimeoutInSeconds>
</configuration>
</plugin>
<!-- important for self-hosting -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>sonatype</id>
<modules>
<module>org.sonatype.m2e.antlr</module>
<module>org.sonatype.m2e.antlr.feature</module>
<module>org.sonatype.m2e.buildhelper</module>
<module>org.sonatype.m2e.buildhelper.feature</module>
<module>org.sonatype.m2e.mavenarchiver.pomproperties</module>
<module>org.sonatype.m2e.mavenarchiver.pomproperties.feature</module>
<module>org.sonatype.m2e.modello</module>
<module>org.sonatype.m2e.modello.feature</module>
<module>org.sonatype.m2e.plexus.annotations</module>
<module>org.sonatype.m2e.plexus.annotations.feature</module>
<module>org.sonatype.m2e.tests.common</module>
<module>org.sonatype.m2e.antlr.tests</module>
<module>org.sonatype.m2e.buildhelper.tests</module>
<module>org.sonatype.m2e.mavenarchiver.pomproperties.tests</module>
<module>org.sonatype.m2e.modello.tests</module>
<module>org.sonatype.m2e.plexus.annotations.tests</module>
<module>org.sonatype.m2e.site-extras</module>
</modules>
</profile>
<profile>
<id>sun-jvm</id>
<activation>
<property>
<name>java.vendor.url</name>
<value>http://java.sun.com/</value>
</property>
</activation>
<properties>
<tycho.test.jvmArgs>-Xmx800m -XX:MaxPermSize=256m</tycho.test.jvmArgs>
</properties>
</profile>
<profile>
<id>osx</id>
<activation>
<property>
<name>java.vendor.url</name>
<value>http://www.apple.com/</value>
</property>
</activation>
<properties>
<tycho.test.jvmArgs>-Xmx800m -XX:MaxPermSize=256m
-XstartOnFirstThread</tycho.test.jvmArgs>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<dependencies>
<dependency>
<artifactId>org.eclipse.jdt.launching.macosx</artifactId>
<version>3.2.100</version>
<type>eclipse-plugin</type>
</dependency>
</dependencies>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>sign</id>
<activation>
<property>
<name>jarsigner.alias</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>