Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Test runtime with platform specific fragments

On 01/03/2014 03:36 PM, Greg Amerson wrote:
I tried setting up an explicit dependency to my win32 fragment since I'm trying to run the tests on windows.  But it fails with these errors:
How did you set it up? Did you use http://www.eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/test-mojo.html#dependencies in tycho-surefire-plugin configuration?
  <dependencies>
    <dependency>
      <type>p2-installable-unit</type>
      <artifactId>example.fragment.win32.win32.x86_64</artifactId>
      <version>0.0.0</version>
    </dependency>
  </dependencies>
should be able to resolve against current reactor. Did you also make sure that the fragment is listed in the parent pom BEFORE the test plugins (IIRC extra dependencies for surefire are still not part of the initial dependency resolution so you need to ensure dependencies have been processed at the time surefire starts).--
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top