Moved mac specific vm arg to profile
Change-Id: I574727940f1be42fe8fa64f39e949303079a6c07
diff --git a/org.eclipse.fmc.blockdiagram.editor.tests/pom.xml b/org.eclipse.fmc.blockdiagram.editor.tests/pom.xml
index eb90f27..e3859b1 100644
--- a/org.eclipse.fmc.blockdiagram.editor.tests/pom.xml
+++ b/org.eclipse.fmc.blockdiagram.editor.tests/pom.xml
@@ -12,32 +12,74 @@
<version>0.11.0-SNAPSHOT</version>
</parent>
<properties>
-
+
</properties>
<build>
<sourceDirectory>src</sourceDirectory>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <useUIHarness>true</useUIHarness>
- <useUIThread>true</useUIThread>
- <argLine>-Xmx512m -XX:MaxPermSize=256m -XstartOnFirstThread</argLine>
- <excludes>
- <exclude>**/Meta*.java</exclude>
- </excludes>
- <bundleStartLevel>
- <bundle>
- <id>org.eclipse.fmc.blockdiagram.editor</id>
- <level>1</level>
- <autoStart>true</autoStart>
- </bundle>
- </bundleStartLevel>
- </configuration>
- </plugin>
- </plugins>
-
</build>
+ <profiles>
+ <profile>
+ <id>macosx</id>
+ <activation>
+ <os>
+ <name>mac os x</name>
+ <family>mac</family>
+ </os>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <useUIHarness>true</useUIHarness>
+ <useUIThread>true</useUIThread>
+ <argLine>-Xmx512m -XX:MaxPermSize=256m -XstartOnFirstThread</argLine>
+ <excludes>
+ <exclude>**/Meta*.java</exclude>
+ </excludes>
+ <bundleStartLevel>
+ <bundle>
+ <id>org.eclipse.fmc.blockdiagram.editor</id>
+ <level>1</level>
+ <autoStart>true</autoStart>
+ </bundle>
+ </bundleStartLevel>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <useUIHarness>true</useUIHarness>
+ <useUIThread>true</useUIThread>
+ <argLine>-Xmx512m -XX:MaxPermSize=256m</argLine>
+ <excludes>
+ <exclude>**/Meta*.java</exclude>
+ </excludes>
+ <bundleStartLevel>
+ <bundle>
+ <id>org.eclipse.fmc.blockdiagram.editor</id>
+ <level>1</level>
+ <autoStart>true</autoStart>
+ </bundle>
+ </bundleStartLevel>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
\ No newline at end of file