Actually what I like to do is to tell maven to use
System.getProperty("user.os") and select the right dependence, is that
possible?Carfield Yim wrote: > > I see... thanks, now I can resolve and download the correct swt library. > However, we would like to make the test running with maven correctly for > Windows and Linux. How can I tell maven to use correct platform of > library? > > > lukewpatterson wrote: >> >> These are in the repo >> >> <groupId>org.eclipse.swt.gtk.linux</groupId> >> <artifactId>x86_64</artifactId> >> [1] >> >> <groupId>org.eclipse.swt.gtk.linux</groupId> >> <artifactId>x86</artifactId> >> [2] >> >> The (groupId/artifactId)s are different than what you had listed. >> >> >> >> [1] - >> http://repo1.maven.org/maven2/org/eclipse/swt/gtk/linux/x86_64/3.3.0-v3346/ >> [2] - >> http://repo1.maven.org/maven2/org/eclipse/swt/gtk/linux/x86/3.3.0-v3346/ >> > > -- View this message in context: http://www.nabble.com/Problem-of-resolving-eclipse-swt-linux-library-tp19103219p19168597.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
