Details

      Description

      This configuration needs to be moved from [1] to build/parent/pom.xml

      <properties>
      	<surefire.timeout>7200</surefire.timeout>		
      	<integrationTestsSystemProperties>-Dusage_reporting_enabled=false</integrationTestsSystemProperties>
      	<devstudio.repository>https://devstudio.redhat.com/10.0/snapshots/updates/</devstudio.repository>
      	<testProduct>com.jboss.devstudio.core.product</testProduct>
      </properties>
      
      <profile>
      	<id>mac-installPath</id>
      	<activation>
      		<os>
      			<family>mac</family>
      		</os>
      	</activation>
      	<properties>
      		<test.installPath.OSX>/devstudio.app/Contents/Eclipse/</test.installPath.OSX>
      	</properties>
      </profile>
      
      		<profile>
      			<id>install-base</id>
      			<activation>
      				<property>
      					<name>test.installBase</name>
      				</property>
      			</activation>
      			<properties>
      				<test.installPath>${test.installBase}${test.installPath.OSX}</test.installPath>
      			</properties>
      			<build>
      				<plugins>
      					<plugin>
      						<groupId>org.eclipse.tycho</groupId>
      						<artifactId>tycho-surefire-plugin</artifactId>
      						<configuration>
      							<work>${test.installPath}</work>
      							<product>${testProduct}</product>
      						</configuration>
      					</plugin>
      				</plugins>
      			</build>
      		</profile>
      		<profile>
      			<!-- Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=388084 -->
      			<id>osx</id>
      			<activation>
      				<os>
      					<family>mac</family>
      				</os>
      			</activation>
      			<properties>
      				<platformSystemProperties> -XstartOnFirstThread </platformSystemProperties>
      			</properties>
      		</profile>
      		<profile>
      			<id>download-devstudio</id>
      			<activation>
      				<property>
      					<name>!test.installBase</name>
      				</property>
      			</activation>
      			<build>
      				<plugins>
      					<plugin>
      						<groupId>org.eclipse.tycho</groupId>
      						<artifactId>tycho-surefire-plugin</artifactId>
      						<configuration>
      							<product>${testProduct}</product>
      						</configuration>
      					</plugin>
      					<plugin>
      						<groupId>org.eclipse.tycho</groupId>
      						<artifactId>target-platform-configuration</artifactId>
      						<configuration>
            							<dependency-resolution>
                 							<extraRequirements>
      									<requirement>
      										<type>p2-installable-unit</type>
      										<id>com.jboss.devstudio.core.feature.feature.group</id>
      										<versionRange>0.0.0</versionRange>
      									</requirement>
               							</extraRequirements>
          							</dependency-resolution>
      						</configuration>
      					</plugin>
      				</plugins>
      			</build>
      			<repositories>
      				<repository>
      					<id>devstudio-repo</id>
      					<name>devstudio-repo</name>
      					<layout>p2</layout>
      					<url>${devstudio.repository}</url>
      				</repository>
      			</repositories>
      		</profile>
      
      
      	<build>
      		<plugins>
      			<plugin>
      				<groupId>org.eclipse.tycho</groupId>
      				<artifactId>tycho-surefire-plugin</artifactId>
      				<configuration>
      					<useUIThread>false</useUIThread>
      					<appArgLine>-pluginCustomization ${basedir}/../pluginCustomization.ini</appArgLine>
      					<systemProperties>
      						<org.eclipse.update.reconcile>false</org.eclipse.update.reconcile>
      						<!-- JBDS-4077 this should be passed in from Jenkins or commandline -->
      						<tpc.version>${TARGET_PLATFORM_VERSION_MAX}</tpc.version>
      					</systemProperties>
      					<explodedBundles>
      						<bundle>org.mozilla.xulrunner.cocoa.macosx</bundle>
      						<bundle>org.mozilla.xulrunner.gtk.linux.x86</bundle>
      						<bundle>org.mozilla.xulrunner.gtk.linux.x86_64</bundle>
      						<bundle>org.mozilla.xulrunner.win32.win32.x86</bundle>
      					</explodedBundles>
      				</configuration>
      			</plugin>
      		</plugins>
      	</build>
      
      

      We need to find out how to deal with pluginCustomization.ini [2]. Download from somewhere?

      [1] https://github.com/jbosstools/jbosstools-integration-tests/blob/master/tests/pom.xml
      [2] https://github.com/jbosstools/jbosstools-integration-tests/blob/master/tests/pluginCustomization.ini

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rawagner Rastislav Wagner
                Reporter:
                psrna Pavol Srna
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: