| <?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>0.0.1-SNAPSHOT</version> |
| <name>Eclipse BPEL Parent</name> |
| <packaging>pom</packaging> |
| <modules> |
| </modules> |
| |
| <properties> |
| <!-- <tychoVersion>0.11.0</tychoVersion> --> |
| <tychoVersion>0.10.0</tychoVersion> |
| <scmBranch>trunk</scmBranch> |
| <BUILD_ALIAS>CI</BUILD_ALIAS> |
| <memoryOptions1>-Xms512m -Xmx1024m -XX:PermSize=256m</memoryOptions1> |
| <memoryOptions2>-XX:MaxPermSize=256m</memoryOptions2> |
| <systemProperties></systemProperties> |
| <target.platform>e36-wtp32</target.platform> |
| </properties> |
| |
| <build> |
| <sourceDirectory>src</sourceDirectory> |
| <plugins> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.4</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.sonatype.tycho</groupId> |
| <artifactId>maven-osgi-packaging-plugin</artifactId> |
| <version>${tychoVersion}</version> |
| <configuration> |
| <format>'v'yyyyMMdd-HHmm'-${BUILD_ALIAS}'</format> |
| <archiveSite>true</archiveSite> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.sonatype.tycho</groupId> |
| <artifactId>tycho-maven-plugin</artifactId> |
| <version>${tychoVersion}</version> |
| <extensions>true</extensions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.sonatype.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <version>${tychoVersion}</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.sonatype.tycho</groupId> |
| <artifactId>maven-osgi-test-plugin</artifactId> |
| <version>${tychoVersion}</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 three plugins copied in from Chris Aniszczyk's Minerva parent |
| pom --> |
| <plugin> |
| <groupId>org.sonatype.tycho</groupId> |
| <artifactId>maven-osgi-compiler-plugin</artifactId> |
| <version>${tychoVersion}</version> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <!-- TODO remove workaround when https://issues.sonatype.org/browse/TYCHO-473 |
| is fixed --> |
| <groupId>org.sonatype.tycho</groupId> |
| <artifactId>maven-osgi-source-plugin</artifactId> |
| <version>${tychoVersion}</version> |
| <executions> |
| <execution> |
| <id>attach-source</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>plugin-source</goal> |
| </goals> |
| </execution> |
| </executions> |
| </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> |
| </plugins> |
| </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> |
| <!-- NO bpel target platform defined; this is useless for now <profile> |
| <id>helios</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.sonatype.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <version>${tychoVersion}</version> |
| <configuration> |
| <target> |
| <artifact> |
| <groupId>org.eclipse.bpel</groupId> |
| <artifactId>target-platform</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <classifier>${target.platform}</classifier> |
| </artifact> |
| </target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> --> |
| |
| <!-- Time saver: to build everything from scratch (without target platform); |
| To enable it use -P helios-no-target in command line. Do not remove repos |
| that contains the same artefacts, it is done for purpose to make build more |
| stable in case one of the repos is offline. --> |
| <!-- NOT NEEDED? <profile> <id>helios-no-target</id> <activation> <activeByDefault>true</activeByDefault> |
| </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> <repository> <id>eclipse36</id> |
| <url>http://download.eclipse.org/eclipse/updates/3.6/</url> <layout>p2</layout> |
| <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>true</enabled> |
| </releases> </repository> <repository> <id>webtools32</id> <url>http://download.eclipse.org/webtools/repository/helios</url> |
| <layout>p2</layout> <snapshots> <enabled>true</enabled> </snapshots> <releases> |
| <enabled>true</enabled> </releases> </repository> <repository> <id>birt26</id> |
| <url>http://download.eclipse.org/birt/update-site/2.6/ </url> <layout>p2</layout> |
| <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>true</enabled> |
| </releases> </repository> <repository> <id>swtbot-helios</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>m2eclipse</id> <url>http://m2eclipse.sonatype.org/sites/m2e/</url> <layout>p2</layout> |
| <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>true</enabled> |
| </releases> </repository> <repository> <id>m2eclipse-extras</id> <url>http://m2eclipse.sonatype.org/sites/m2e-extras/</url> |
| <layout>p2</layout> <snapshots> <enabled>true</enabled> </snapshots> <releases> |
| <enabled>true</enabled> </releases> </repository> <repository> <id>webtools</id> |
| <url>http://download.eclipse.org/webtools/updates </url> <layout>p2</layout> |
| <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>true</enabled> |
| </releases> </repository> <repository> <id>emf26</id> <url>http://download.eclipse.org/modeling/emf/emf/updates/2.6/R201006141136/ |
| </url> <layout>p2</layout> <snapshots> <enabled>true</enabled> </snapshots> |
| <releases> <enabled>true</enabled> </releases> </repository> <repository> |
| <id>gef</id> <url>http://download.eclipse.org/tools/gef/updates </url> <layout>p2</layout> |
| <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>true</enabled> |
| </releases> </repository> </repositories> </profile> --> |
| |
| <profile> |
| <id>hudson</id> |
| <activation> |
| <property> |
| <name>BUILD_NUMBER</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.sonatype.tycho</groupId> |
| <artifactId>maven-osgi-packaging-plugin</artifactId> |
| <version>${tychoVersion}</version> |
| <configuration> |
| <format>'v'yyyyMMdd-HHmm'-H${BUILD_NUMBER}-${BUILD_ALIAS}' |
| </format> |
| <archiveSite>true</archiveSite> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <!-- NOT NEEDED? <profile> <id>svn-repos</id> <repositories> <repository> |
| <id>svnkit13</id> <url>http://eclipse.svnkit.com/1.3.x/</url> <layout>p2</layout> |
| <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>true</enabled> |
| </releases> </repository> <repository> <id>subclipse16</id> <url>http://subclipse.tigris.org/update_1.6.x/</url> |
| <layout>p2</layout> <snapshots> <enabled>true</enabled> </snapshots> <releases> |
| <enabled>true</enabled> </releases> </repository> <repository> <id>subversive07</id> |
| <url>http://download.eclipse.org/technology/subversive/0.7/update-site/ </url> |
| <layout>p2</layout> <snapshots> <enabled>true</enabled> </snapshots> <releases> |
| <enabled>true</enabled> </releases> </repository> <repository> <id>subversive20</id> |
| <url>http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site/ |
| </url> <layout>p2</layout> <snapshots> <enabled>true</enabled> </snapshots> |
| <releases> <enabled>true</enabled> </releases> </repository> </repositories> |
| </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.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> <execution> <id>attach-artifacts</id> <phase>package</phase> |
| <goals> <goal>attach-artifact</goal> </goals> <configuration> <artifacts> |
| <artifact> <file>${emma.session.out.file}</file> <type>es</type> </artifact> |
| </artifacts> </configuration> </execution> </executions> </plugin --> |
| <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.sonatype.tycho</groupId> |
| <artifactId>maven-osgi-test-plugin</artifactId> |
| <version>${tychoVersion}</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> |
| <!-- NOT NEEDED? <profile> <id>requirements</id> <activation> <file> <exists>${basedir}/requirements.properties</exists> |
| </file> </activation> <properties> <requirements.root>${basedir}/../../../requirements |
| </requirements.root> <requirement.build.root>${requirements.root}/target |
| </requirement.build.root> </properties> <build> <plugins> <plugin> <dependencies> |
| <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> |
| <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <executions> |
| <execution> <id>download-plugin-requirements</id> <phase>generate-test-resources</phase> |
| <goals> <goal>run</goal> </goals> <configuration> <tasks> <taskdef resource="net/sf/antcontrib/antcontrib.properties" |
| /> <if> <available file="${requirements.root}" type="dir" /> <then> <property |
| file="requirements.properties" /> <echo>Requirements build</echo> <ant dir="${requirements.root}" |
| inheritAll="true"> <property name="requirements" value="${requirements}" |
| /> <property name="settings.offline" value="${settings.offline}" /> <property |
| name="skipDownload" value="${skipDownload}" /> </ant> </then> </if> </tasks> |
| </configuration> </execution> </executions> </plugin> </plugins> </build> |
| </profile> --> |
| |
| <!-- NOT NEEDED? <profile> <id>bpel-nightly-trunk</id> <repositories> <repository> |
| <id>bpel-nightly-trunk</id> <url>http://download.eclipse.org/technology/bpel/updates/nightly/trunk/</url> |
| <layout>p2</layout> <snapshots> <enabled>true</enabled> </snapshots> <releases> |
| <enabled>true</enabled> </releases> </repository> </repositories> </profile> --> |
| |
| </profiles> |
| |
| <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> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>sonatype-maven-central</id> |
| <url>http://repository.sonatype.org/content/repositories/central/ |
| </url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </pluginRepository> |
| <pluginRepository> |
| <id>maven-snapshots-sonatype</id> |
| <url>https://repository.apache.org/content/repositories/maven-snapshots-sonatype/ |
| </url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </pluginRepository> |
| <pluginRepository> |
| <id>tycho</id> |
| <url>https://repository.sonatype.org/content/repositories/snapshots/ |
| </url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </pluginRepository> |
| <pluginRepository> |
| <id>apache-snapshots</id> |
| <url>http://repository.apache.org/snapshots/</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </pluginRepository> |
| </pluginRepositories> |
| </project> |