| Problem with maven build for SWTBot Tests [message #667195] |
Wed, 27 April 2011 07:01 |
manasa Messages: 32 Registered: October 2010 |
Member |
|
|
Hi,
I have an SWTBot test in an eclipse plugin and I am facing problems trying to integrate it with tycho build.
I am using maven3.0 for the build and my test plugin is named, org.eclipse.emf.query2.index.ui.test, where i have my sources in src folder.
Tycho configuration can be found in the link below.
https://hudson.eclipse.org/hudson/job/tycho-query2-nightly/c onfigure
My pom.xml is configured as given below.
<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>
<artifactId>org.eclipse.emf.query2_parent</artifactId>
<groupId>org.eclipse.emf.query2</groupId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../releng/pom.xml</relativePath>
</parent>
<!-- <repositories>
<repository>
<id>ganymede</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/galileo</url>
</repository>
<repository>
<id>swtbot</id>
<layout>p2</layout>
<url>http://download.eclipse.org/technology/swtbot/galileo/dev-build/update-site</url>
</repository>
</repositories> -->
<artifactId>org.eclipse.emf.query2.index.ui.test</artifactId>
<packaging>eclipse-test-plugin</packaging>
<name>EMF Query2 Index UI Tests</name>
<description>Index View - UI Test</description>
<build>
<!-- name of the generated bundle -->
<finalName>org.eclipse.emf.query2.index.ui.test</finalName>
<!-- specification of the source directory -->
<sourceDirectory>${basedir}/src</sourceDirectory>
<!-- <resources>
<resource>
<directory>${basedir}/src</directory>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
</resources> -->
<plugins>
<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>maven-osgi-test-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<useUIHarness>true</useUIHarness>
<useUIThread>false</useUIThread>
<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>
</dependencies>
</configuration>
</plugin>
</plugins>
</build>
</project>
Can i get any information on what is wrong with the above config, or if some required details are missing in the above mentioned configuration.
Thanks in advance,
Regards,
Manasa
|
|
|
Powered by
FUDForum. Page generated in 0.01485 seconds