removed unused config and added comments
[taxeditor.git] / eu.etaxonomy.taxeditor.test / pom.xml
index 2fdee3be14e73bed09e76914a8c237047b16dcce..6bf850435417960fd35e5647c76759a5fd53dfa1 100644 (file)
@@ -1,82 +1,54 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
 <project>\r
 \r
-       <parent>\r
-               <groupId>eu.etaxonomy</groupId>\r
-               <artifactId>taxeditor-parent</artifactId>\r
-               <version>3.4.0-SNAPSHOT</version>\r
-       </parent>\r
-       <modelVersion>4.0.0</modelVersion>\r
-       <artifactId>eu.etaxonomy.taxeditor.test</artifactId>\r
-       <packaging>eclipse-test-plugin</packaging>\r
-       <name>UI Test Bundle</name>\r
-       <description>Holds all UI tests for the Taxonomic Editor</description>\r
-       <!-- <repositories> -->\r
-       <!-- <repository> -->\r
-       <!-- <id>ganymede</id> -->\r
-       <!-- <layout>p2</layout> -->\r
-       <!-- <url>http://download.eclipse.org/releases/galileo</url> -->\r
-       <!-- </repository> -->\r
-       <!-- <repository> -->\r
-       <!-- <id>swtbot</id> -->\r
-       <!-- <layout>p2</layout> -->\r
-       <!-- <url>http://download.eclipse.org/technology/swtbot/galileo/dev-build/update-site</url> -->\r
-       <!-- </repository> -->\r
-       <!-- </repositories> -->\r
-\r
-       <build>\r
-               <plugins>\r
-                       <plugin>\r
-                               <groupId>org.eclipse.tycho</groupId>\r
-                               <artifactId>tycho-maven-plugin</artifactId>\r
-                               <version>${tycho.version}</version>\r
-                               <extensions>true</extensions>\r
-                       </plugin>\r
-                       <plugin>\r
-                               <groupId>org.eclipse.tycho</groupId>\r
-                               <artifactId>target-platform-configuration</artifactId>\r
-                               <version>${tycho.version}</version>\r
-                               <configuration>\r
-                                       <resolver>p2</resolver>\r
-                               </configuration>\r
-                       </plugin>\r
-                       <plugin>\r
-                               <groupId>org.eclipse.tycho</groupId>\r
-                               <artifactId>tycho-surefire-plugin</artifactId>\r
-                               <version>${tycho.version}</version>\r
-                               <configuration>\r
-                                       <useUIHarness>true</useUIHarness>\r
-                                       <useUIThread>false</useUIThread>\r
-                                       <includes>\r
-                                               <include>**/*Test.java</include>\r
-                                       </includes>\r
-                                       <product>eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product</product>\r
-                       <application>eu.etaxonomy.taxeditor.application.application</application>\r
-                                       <!-- <dependency>
-                                               <type>p2-installable-unit</type>
-                                               <artifactId>eu.etaxonomy.taxeditor.product</artifactId>
-                                               <version>0.0.0</version>
-                                       </dependency> -->\r
-                               </configuration>\r
-                       </plugin>\r
-                       <!-- <plugin>
-                       <groupId>org.eclipse.tycho</groupId>
-                       <artifactId>maven-osgi-test-plugin</artifactId>
-                       <version>${tycho.version}</version>
-                       <configuration>
-                       <useUIHarness>true</useUIHarness>
-                       <useUIThread>false</useUIThread>
-                       <product>eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product</product>
-                       <application>org.eclipse.ui.ide.workbench</application>
-                       <dependencies>
-                       <dependency>
-                       <type>p2-installable-unit</type>
-                       <artifactId>eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product</artifactId>
-                       <version>0.0.0</version>
-                       </dependency>
-                       </dependencies>
-                       </configuration>
-                       </plugin> -->\r
-               </plugins>\r
-       </build>\r
+  <parent>\r
+    <groupId>eu.etaxonomy</groupId>\r
+    <artifactId>taxeditor-parent</artifactId>\r
+    <version>3.5.2-SNAPSHOT</version>\r
+  </parent>\r
+  <modelVersion>4.0.0</modelVersion>\r
+  <artifactId>eu.etaxonomy.taxeditor.test</artifactId>\r
+  <packaging>eclipse-test-plugin</packaging>\r
+  <name>UI Test Bundle</name>\r
+  <description>Holds all Tests for the Taxonomic Editor</description>\r
+  <build>\r
+    <plugins>\r
+      <plugin>\r
+        <groupId>org.eclipse.tycho</groupId>\r
+        <artifactId>target-platform-configuration</artifactId>\r
+        <version>${tycho.version}</version>\r
+        <configuration>\r
+          <filters>\r
+            <!-- Work around for https://bugs.eclipse.org/bugs/show_bug.cgi?id=348045 -->\r
+            <!-- taken from https://wiki.eclipse.org/index.php?title=Tycho/Target_Platform#Filtering -->\r
+            <filter>\r
+              <type>p2-installable-unit</type>\r
+              <id>org.eclipse.equinox.servletbridge.extensionbundle</id>\r
+              <removeAll />\r
+            </filter>\r
+          </filters>\r
+        </configuration>\r
+      </plugin>\r
+      <plugin>\r
+        <groupId>org.eclipse.tycho</groupId>\r
+        <artifactId>tycho-surefire-plugin</artifactId>\r
+        <version>${tycho.version}</version>\r
+        <configuration>\r
+          <!-- currently we run only the non-ui unit tests so we don't  the harness-->\r
+          <!-- <useUIHarness>true</useUIHarness> -->\r
+          <dependencies>\r
+          <!-- This will pull the feature and its dependent plugins into the classpath\r
+               for the tests. Note that this requires ALL taxeditor projects to be\r
+               installed. -->\r
+            <dependency>\r
+              <type>eclipse-feature</type>\r
+              <artifactId>eu.etaxonomy.taxeditor.feature</artifactId>\r
+              <!-- This is the minimum required version -->\r
+              <version>1.0.0</version>\r
+            </dependency>\r
+          </dependencies>\r
+        </configuration>\r
+      </plugin>\r
+    </plugins>\r
+  </build>\r
 </project>
\ No newline at end of file