Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: cb683cee871b3aa4484ff9ba71a074e82d18afc8 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                                                                      

                                      
                                                        
                                     
                                                             
           
 
                                          
                                                         




                                                   





                                                                                    
 

                                         
                            



                                                                                              

                                                                                         



                                                                                                                 
                                                                                             
                                                                  


                                                                                   


                                                                                                            
                                                                                                            
                                                                       



                                                                                                                       









































































































































































































































                                                                                                                                                                                                                            
          
<?xml version="1.0" encoding="UTF-8"?>
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.eclipse.tcf</groupId>
    <artifactId>org.eclipse.tcf.maven-build</artifactId>
    <version>1.3.0-SNAPSHOT</version>
    <relativePath>../../../admin/pom-build.xml</relativePath>
  </parent>

	<version>1.3.1.qualifier</version>
	<artifactId>org.eclipse.tcf.te.tests</artifactId>
	<packaging>eclipse-test-plugin</packaging>

	<properties>
		<jacoco.append>true</jacoco.append>
		
		<ui.test.vmargs>-Xint -Xmx512m -XX:MaxPermSize=256m</ui.test.vmargs>
	</properties>

    <profiles>
        <profile>
            <id>tests</id>

			<build>
				<plugins>
                    <plugin>
						<groupId>org.eclipse.tycho</groupId>
						<artifactId>tycho-surefire-plugin</artifactId>
						<version>${tycho-version}</version>
						<configuration>
							<useUIHarness>true</useUIHarness>
							<useUIThread>true</useUIThread>
							<product>org.eclipse.platform.ide</product>
							<argLine>${tycho.testArgLine} ${ui.test.vmargs}</argLine>
                            <application>org.eclipse.ui.ide.workbench</application>
							<testFailureIgnore>true</testFailureIgnore>
							<showEclipseLog>true</showEclipseLog>
                            <testRuntime>p2Installed</testRuntime>
							<!--
							<debugPort>8003</debugPort>
							-->
				    
						    <systemProperties>
						        <osgi.debug>${basedir}/tracing/.options</osgi.debug>
						        <tcf.agent.path>${WORKSPACE}/.agent</tcf.agent.path>
						    </systemProperties>

                        	<testSuite>org.eclipse.tcf.te.tests</testSuite>
							<testClass>org.eclipse.tcf.te.tests.suites.AllTests</testClass>
                        </configuration>
					</plugin>
			
					<plugin>
						<groupId>org.codehaus.gmaven</groupId>
						<artifactId>gmaven-plugin</artifactId>
						<executions>
							<execution>
								<phase>validate</phase>
								<goals>
									<goal>execute</goal>
								</goals>
								<configuration>
									<source>
									project.properties['qualified.bundle.version'] = project.properties['unqualifiedVersion'].replace('qualifier', project.properties['buildQualifier'])
									</source>
								</configuration>
							</execution>
						</executions>
					</plugin>
			
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-antrun-plugin</artifactId>
						<executions>
							<execution>
								<id>generate-report</id>
								<phase>post-integration-test</phase>
								<goals>
									<goal>run</goal>
								</goals>
								<configuration>
									<target>
										<typedef resource="org/jacoco/ant/antlib.xml"/>
										<echo message="Coverage report"/>
										<report>
											<executiondata>
												<fileset dir="${project.build.directory}" includes="jacoco.exec"/>
											</executiondata>
											<structure name="Code Coverage - Target Explorer">
												<group name="org.eclipse.tcf.te.core">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.core/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.core/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.core.cdt">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.core.cdt/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.core.cdt/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.launch.core">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.launch.core/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.launch.core/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.runtime">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.runtime.concurrent">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime.concurrent/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime.concurrent/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.runtime.model">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime.model/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime.model/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.runtime.persistence">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime.persistence/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime.persistence/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.runtime.services">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime.services/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime.services/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.runtime.statushandler">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime.statushandler/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime.statushandler/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.runtime.stepper">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime.stepper/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.runtime.stepper/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.tcf.core">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.core/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.core/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.tcf.core.model">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.core.model/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.core.model/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.tcf.filesystem.core">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.filesystem.core/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.filesystem.core/src"/>
													</sourcefiles>
												</group>

												<group name="org.eclipse.tcf.te.tcf.launch.core">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.launch.core/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.launch.core/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.tcf.locator">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.locator/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.locator/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.tcf.log.core">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.log.core/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.log.core/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.tcf.processes.core">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.processes.core/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.processes.core/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.tcf.services.contexts">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.services.contexts/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.services.contexts/src"/>
													</sourcefiles>
												</group>
										
												<group name="org.eclipse.tcf.te.tcf.terminals.core">
													<classfiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.terminals.core/target/classes"/>
													</classfiles>
													<sourcefiles>
														<fileset dir="${basedir}/../org.eclipse.tcf.te.tcf.terminals.core/src"/>
													</sourcefiles>
												</group>
										
											</structure>
								
											<html destdir="${project.build.directory}/coverage"
										  		  footer="Code Coverage Report for Target Explorer ${qualified.bundle.version}"
										  		  locale="de"/>
											<csv destfile="${project.build.directory}/coverage/coverage.csv"/>
											<xml destfile="${project.build.directory}/coverage/coverage.xml"/>
										</report>
									</target>
								</configuration>
							</execution>
						</executions>
						<dependencies>
							<dependency>
								<groupId>org.jacoco</groupId>
								<artifactId>org.jacoco.ant</artifactId>
								<version>${jacoco-version}</version>
							</dependency>
						</dependencies>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
</project>

Back to the top