Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 071df5963ce67009f96a3d4e10315a13790ca80f (plain) (tree)


















                                                                                                           
                                                 



                                                 
                                                   















































                                                                                                                     
                                                                   

































































                                                                                                                            










































                                                                                                                                











                                                                      



                                                                   




                                                                              






                                                                      

                             









                                                               
<?xml version="1.0" encoding="UTF-8"?>
<!--
 - Copyright (c) 2015 SAP SE and others.
 - 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
 -
 - Contributors:
 -    SAP SE - initial API and implementation
 -->

<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>

	<parent>
		<groupId>org.eclipse.tycho.extras</groupId>
		<artifactId>tycho-extras</artifactId>
		<version>1.5.0-SNAPSHOT</version>
	</parent>

	<artifactId>tycho-extras-its</artifactId>

	<name>Tycho Extras Integration Tests</name>

	<properties>
		<its-maven-version>3.3.3</its-maven-version>
		<maven-dir>${project.build.directory}/apache-maven-${its-maven-version}</maven-dir>
	</properties>

	<build>
		<testResources>
			<testResource>
				<directory>src/test/resources</directory>
				<filtering>true</filtering>
				<includes>
					<include>**/pom.xml</include>
					<include>**/*.properties</include>
					<include>**/.mvn/extensions.xml</include>
				</includes>
			</testResource>
			<testResource>
				<directory>src/test/resources</directory>
				<filtering>false</filtering>
				<excludes>
					<exclude>**/pom.xml</exclude>
					<exclude>**/*.properties</exclude>
					<exclude>**/.mvn/extensions.xml</exclude>
				</excludes>
			</testResource>
		</testResources>

		<plugins>
			<plugin>
				<artifactId>maven-dependency-plugin</artifactId>
				<executions>
					<execution>
						<id>unpack-maven</id>
						<phase>generate-resources</phase>
						<goals>
							<goal>unpack-dependencies</goal>
						</goals>
						<configuration>
							<includeArtifactIds>apache-maven</includeArtifactIds>
							<outputDirectory>${project.build.directory}</outputDirectory>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho.extras</groupId>
				<artifactId>tycho-p2-extras-plugin</artifactId>
				<version>${tycho-version}</version>
				<executions>
					<execution>
						<id>mirror-kepler-test-repo</id>
						<phase>process-test-classes</phase>
						<goals>
							<goal>mirror</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<source>
						<repository>
							<url>http://download.eclipse.org/releases/kepler/201402280900/</url>
							<layout>p2</layout>
						</repository>
					</source>
					<ius>
						<iu>
							<id>org.eclipse.osgi</id>
							<version>3.9.1.v20140110-1610</version>
						</iu>
						<iu>
							<id>org.eclipse.equinox.launcher</id>
							<version>1.3.0.v20130327-1440</version>
						</iu>
						<iu>
							<id>org.eclipse.core.runtime</id>
							<version>3.9.100.v20131218-1515</version>
						</iu>
						<iu>
							<id>org.junit</id>
							<version>4.11.0.v201303080030</version>
						</iu>
					</ius>
					<filter>
						<osgi.ws>win32</osgi.ws>
						<osgi.os>win32</osgi.os>
						<osgi.arch>x86_64</osgi.arch>
					</filter>
					<includePacked>false</includePacked>
					<includeOptional>false</includeOptional>
					<destination>${project.basedir}/repositories/kepler</destination>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<executions>
					<execution>
						<id>source-jar</id>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
						<phase>NONE</phase>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-deploy-plugin</artifactId>
				<configuration>
						<!-- test artifacts only, skip deployment-->
					<skip>true</skip>
				</configuration>
			</plugin>
		</plugins>
		<pluginManagement>
			<plugins>
				<!-- Configure lifecycle mapping for m2eclipse -->
				<plugin>
					<groupId>org.eclipse.m2e</groupId>
					<artifactId>lifecycle-mapping</artifactId>
					<version>1.0.0</version>
					<configuration>
						<lifecycleMappingMetadata>
							<pluginExecutions>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>org.apache.maven.plugins</groupId>
										<artifactId>maven-dependency-plugin</artifactId>
										<versionRange>[2.1,)</versionRange>
										<goals>
											<goal>unpack-dependencies</goal>
											<goal>unpack</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore />
									</action>
								</pluginExecution>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>org.eclipse.tycho.extras</groupId>
										<artifactId>tycho-p2-extras-plugin</artifactId>
										<versionRange>[0.22.0,)</versionRange>
										<goals>
											<goal>mirror</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore />
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>

	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
		</dependency>
		<dependency>
			<groupId>org.eclipse.tycho</groupId>
			<artifactId>tycho-testing-harness</artifactId>
		</dependency>
		<dependency>
			<groupId>org.eclipse.tycho.extras</groupId>
			<artifactId>tycho-pomless</artifactId>
		</dependency>
		<dependency>
			<groupId>org.eclipse.tycho.extras</groupId>
			<artifactId>tycho-dependency-tools-plugin</artifactId>
			<version>${project.version}</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.tycho</groupId>
			<artifactId>tycho-versions-plugin</artifactId>
			<version>${tycho-version}</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.tycho</groupId>
			<artifactId>tycho-core</artifactId>
		</dependency>
		<dependency>
			<groupId>org.apache.maven</groupId>
			<artifactId>apache-maven</artifactId>
			<version>${its-maven-version}</version>
			<classifier>bin</classifier>
			<type>tar.gz</type>
			<scope>provided</scope>
		</dependency>
	</dependencies>

</project>

Back to the top