blob: 0faf9f8a78b01a055449d50a3f4f5df8b52cd584 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.bpel</groupId>
<artifactId>org.eclipse.bpel.parent.pom</artifactId>
<version>1.0.5.Final</version>
<name>Eclipse BPEL Parent</name>
<packaging>pom</packaging>
<modules>
</modules>
<properties>
<tycho-version>0.21.0</tycho-version>
<tycho-extras-version>${tycho-version}</tycho-extras-version>
<memoryOptions1>-Xms512m -Xmx1024m -XX:PermSize=256m</memoryOptions1>
<memoryOptions2>-XX:MaxPermSize=256m</memoryOptions2>
<systemProperties></systemProperties>
<platform.name>luna</platform.name>
</properties>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.4</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<format>'Final'</format>
<archiveSite>true</archiveSite>
</configuration>
</plugin>
<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>
<!-- NOT NEEDED? <environments> <environment> <os>macosx</os> <ws>cocoa</ws> <arch>x86</arch>
</environment> <environment> <os>macosx</os> <ws>carbon</ws> <arch>x86</arch>
</environment> <environment> <os>win32</os> <ws>win32</ws> <arch>x86</arch>
</environment> <environment> <os>linux</os> <ws>gtk</ws> <arch>x86</arch>
</environment> <environment> <os>linux</os> <ws>gtk</ws> <arch>x86_64</arch>
</environment> </environments> -->
</configuration>
</plugin>
<!-- to skip running tests (compile only) use commandline flag: -Dmaven.test.skip
To allow all tests in a pom to pass/fail, use commandline flag: -fae (fail
at end) -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<!-- timeout in seconds -->
<surefire.timeout>1800</surefire.timeout>
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
<useUIHarness>true</useUIHarness>
<useUIThread>true</useUIThread>
<argLine>${memoryOptions1} ${memoryOptions2} ${systemProperties}
</argLine>
<!-- https://docs.sonatype.org/display/TYCHO/How+to+run+SWTBot+tests+with+Tycho -->
<!-- set useUIThread=true for regular ui tests -->
<!-- set useUIThread=false for swtbot tests (?) -->
<product>org.eclipse.sdk.ide</product>
<application>org.eclipse.ui.ide.workbench</application>
<dependencies>
<dependency>
<type>p2-installable-unit</type>
<artifactId>org.eclipse.sdk.ide</artifactId>
<version>0.0.0</version>
</dependency>
<!-- http://www.jmock.org/maven.html -->
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock-legacy</artifactId>
<version>2.5.1</version>
</dependency>
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock-junit4</artifactId>
<version>2.5.1</version>
</dependency>
</dependencies>
<includes>
<include>**/AllTests.class</include>
<include>**/*AllTests*.class</include>
<include>**/*AllBotTests*.class</include>
<include>**/*TestSuite*.class</include>
</includes>
<parallel>true</parallel>
</configuration>
</plugin>
<!-- these plugins copied in from BPMN2 Modeler -->
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-source-feature-plugin</artifactId>
<version>${tycho-extras-version}</version>
<executions>
<execution>
<id>source-feature</id>
<phase>package</phase>
<goals>
<goal>source-feature</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>attached-p2-metadata</id>
<phase>package</phase>
<goals>
<goal>p2-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
<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>
<includePackedArtifacts>true</includePackedArtifacts>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<executions>
<execution>
<id>plugin-source</id>
<goals>
<goal>plugin-source</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>maven-osgi-compiler-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<encoding>ISO-8859-1</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.3.2-SNAPSHOT</version>
<configuration>
<findbugsXmlOutput>true</findbugsXmlOutput>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
<configuration>
<sourceEncoding>utf-8</sourceEncoding>
<minimumTokens>100</minimumTokens>
<targetJdk>1.5</targetJdk>
<format>xml</format>
<failOnViolation>false</failOnViolation>
</configuration>
<executions>
<execution>
<goals>
<goal>cpd-check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<strictSrcIncludes>false</strictSrcIncludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<scm>
<connection>scm:cvs:http://dev.eclipse.org/viewcvs/indextech.cgi/org.eclipse.bpel/
</connection>
<developerConnection>scm:cvs:http://dev.eclipse.org/viewcvs/indextech.cgi/org.eclipse.bpel/
</developerConnection>
<url>http://dev.eclipse.org/viewcvs/indextech.cgi/org.eclipse.bpel/
</url>
</scm>
<issueManagement>
<system>bugzilla</system>
<url>https://bugs.eclipse.org/bugs/enter_bug.cgi?product=BPEL</url>
</issueManagement>
<profiles>
<profile>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<format>'Final'</format>
<archiveSite>true</archiveSite>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>coverage</id>
<activation>
<property>
<name>coverage</name>
</property>
</activation>
<properties>
<emma.session.out.file>${project.build.directory}/emma/coverage.es
</emma.session.out.file>
<emma.filter />
<emma.instrument.bundles />
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<file></file>
<groupId></groupId>
<artifactId></artifactId>
<version></version>
<packaging></packaging>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<systemProperties combine.children="append">
<emma.session.out.file>${emma.session.out.file}
</emma.session.out.file>
<emma.filter>${emma.filter}</emma.filter>
<eclemma.instrument.bundles>${emma.instrument.bundles}
</eclemma.instrument.bundles>
</systemProperties>
<frameworkExtensions>
<frameworkExtension>
<groupId>org.eclemma.runtime.equinox</groupId>
<artifactId>org.eclemma.runtime.equinox</artifactId>
<version>1.1.0.200908261008</version>
</frameworkExtension>
</frameworkExtensions>
<application>org.eclipse.ui.ide.workbench</application>
<dependencies>
<dependency>
<type>p2-installable-unit</type>
<artifactId>org.eclipse.sdk.ide</artifactId>
<version>0.0.0</version>
</dependency>
</dependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
<dependencies>
<dependency>
<groupId>emma</groupId>
<artifactId>emma_ant</artifactId>
<version>2.0.5312</version>
</dependency>
<dependency>
<groupId>emma</groupId>
<artifactId>emma</artifactId>
<version>2.0.5312</version>
</dependency>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
<version>1.0b3</version>
<exclusions>
<exclusion>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<executions>
<execution>
<id>emma-report</id>
<phase>post-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<taskdef resource="emma_ant.properties" />
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
<if>
<available file="${project.build.directory}/emma"
type="dir" />
<then>
<echo>Process emma report...</echo>
<!-- emma enabled="true"> <instr metadatafile="${project.build.directory}/coverage.em"
mode="overwrite" instrpath="${project.build.directory}/../../../plugins/${emma.instrument.bundles}/target/classes"
/> </emma -->
<emma enabled="true">
<report>
<infileset dir="${project.build.directory}/emma"
includes="*.es,*.em" />
<txt outfile="${project.build.directory}/emma/coverage.txt" />
<xml outfile="${project.build.directory}/emma/coverage.xml" />
<html outfile="${project.build.directory}/emma/coverage.html" />
</report>
</emma>
<loadfile property="emma.txt"
srcFile="${project.build.directory}/emma/coverage.txt"
failonerror="false" />
<echo>${emma.txt}</echo>
</then>
</if>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- Helios (for JBoss) -->
<profile>
<id>platform-helios</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>platform.name</name>
<value>helios</value>
</property>
</activation>
<repositories>
<repository>
<id>helios</id>
<url>http://download.eclipse.org/releases/helios/</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
</profile>
<!-- Indigo -->
<profile>
<id>platform-indigo</id>
<activation>
<property>
<name>platform.name</name>
<value>indigo</value>
</property>
</activation>
<repositories>
<repository>
<id>indigo-repository</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/indigo/</url>
</repository>
</repositories>
</profile>
<!-- Juno -->
<profile>
<id>platform-juno</id>
<activation>
<property>
<name>platform.name</name>
<value>juno</value>
</property>
</activation>
<repositories>
<repository>
<id>juno-repository</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/juno/</url>
</repository>
</repositories>
</profile>
<!-- Kepler -->
<profile>
<id>platform-kepler</id>
<activation>
<property>
<name>platform.name</name>
<value>kepler</value>
</property>
</activation>
<repositories>
<repository>
<id>kepler-repository</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/kepler/</url>
</repository>
</repositories>
</profile>
<!-- Luna -->
<profile>
<id>platform-luna</id>
<activation>
<property>
<name>platform.name</name>
<value>luna</value>
</property>
</activation>
<repositories>
<repository>
<id>luna-repository</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/luna/</url>
</repository>
</repositories>
</profile>
<!-- Mars -->
<profile>
<id>platform-mars</id>
<activation>
<property>
<name>platform.name</name>
<value>mars</value>
</property>
</activation>
<repositories>
<repository>
<id>mars-repository</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/mars/</url>
</repository>
</repositories>
</profile>
<profile>
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200a-plugin</artifactId>
<version>${tycho-extras-version}</version>
<executions>
<execution>
<id>pack200-normalize</id>
<goals>
<goal>normalize</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<version>1.0.5</version>
<executions>
<execution>
<id>sign</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200b-plugin</artifactId>
<version>${tycho-extras-version}</version>
<executions>
<execution>
<id>pack200-pack</id>
<goals>
<goal>pack</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<id>jbosstools-requirements-composite-mirror</id>
<url>http://download.jboss.org/jbosstools/updates/stable/kepler/</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<!-- Tests -->
<repository>
<id>swt-bot</id>
<url>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>orbit-for-junit</id>
<url>http://download.eclipse.org/tools/orbit/downloads/drops/R20110523182458/repository/</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>eclipse-emf</id>
<url>http://download.eclipse.org/modeling/emf/updates/releases/</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>eclipse-gef</id>
<url>http://download.eclipse.org/tools/gef/updates/releases/</url>
<layout>p2</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<!-- VZ -->
<pluginRepository>
<!-- Added to by-pass an invalid JAR on Eclipse repositories -->
<id>maven-central</id>
<url>http://repo1.maven.org/maven2/</url>
</pluginRepository>
<pluginRepository>
<id>eclipse-nexus-central</id>
<url>http://maven.eclipse.org/nexus/content/groups/central/</url>
</pluginRepository>
<pluginRepository>
<id>eclipse-nexus-public</id>
<url>http://maven.eclipse.org/nexus/content/groups/public/</url>
</pluginRepository>
<!-- VZ -->
<pluginRepository>
<id>apache-snapshots</id>
<url>http://repository.apache.org/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
<pluginRepository>
<id>repo.eclipse.org.cbi-releases</id>
<url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
</pluginRepository>
</pluginRepositories>
<servers>
<server>
<id>maven-central</id>
<configuration>
<timeout>10000</timeout>
</configuration>
</server>
<server>
<id>eclipse-nexus-central</id>
<configuration>
<timeout>10000</timeout>
</configuration>
</server>
<server>
<id>eclipse-nexus-public</id>
<configuration>
<timeout>10000</timeout>
</configuration>
</server>
</servers>
</project>