[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] please test staged tycho 0.14.0
|
That's perfect!
Thanks.
----- Original Message -----
From: "Igor Fedorenko" <igor@xxxxxxxxxxxxxx>
To: tycho-user@xxxxxxxxxxx
Sent: Tuesday, February 7, 2012 3:23:50 PM
Subject: Re: [tycho-user] please test staged tycho 0.14.0
Try this
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tychoVersion}</version>
<configuration>
<dependency-resolution>
<optionalDependencies>ignore</optionalDependencies>
</dependency-resolution>
</configuration>
</plugin>
(note <dependency-resolution> element)
--
Regards,
Igor
On 12-02-07 9:09 AM, Michael Istria wrote:
> Hi,
>
> I'm giving a try for JBoss Tools.
>
> Following bug 351842 [1] about optional dependencies: we have a bundle which has greedy/optional depedencies on patform-specific bundles. Before 0.14, it could build fine since these dependencies were not at all included in the Maven context (correct me if I'm wrong).
> Now I gave a try with 0.14 and optionalDependencies=ignore, and it seems that Tycho/p2 tries to resolve these dependencies, in vain (they don't seem to be available in Tycho internal p2 repo).
> Here is the configuration:
> <!--
> ISSUE: our platform-specific optional/greedy deps are not resolved by Tycho/p2
> WORKAROUND: Ignore optional dependencies => NOT WORKING
> TODO: Find out why p2 can't resolve that stuff
> -->
> <build>
> <plugins>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>tycho-compiler-plugin</artifactId>
> <version>${tychoVersion}</version>
> <configuration>
> <optionalDependencies>ignore</optionalDependencies>
> </configuration>
> </plugin>
> </plugins>
> </build>
>
> Did I do something wrong?
> Otherwise I conclude that Tycho cannot even start a build when an optional dependency cannot be resolved, which is for our use-case a "more-or-less" blocking point (since I assume/hope an issue could be on our side too). I know think that ignoring optional-dependency should be in target-platform-configuration rather than in compiler.
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=351842
>
> ----- Original Message -----
> From: "Jan Sievers"<jan.sievers@xxxxxxx>
> To: "Tycho user list"<tycho-user@xxxxxxxxxxx>
> Sent: Tuesday, February 7, 2012 8:32:16 AM
> Subject: [tycho-user] please test staged tycho 0.14.0
>
> tycho 0.14.0 has been staged to [1], see release notes [2] for details.
>
> Please test it by adding the snippet [3] to your parent pom or settings.xml.
> Report problems on this mailing list or in bugzilla [4].
>
> We will promote the release to the Maven central repository sometime next week
> if no major regressions are found.
>
> --
> Tycho Team
>
>
> [1] https://oss.sonatype.org/content/repositories/orgeclipsetycho-004/
> [2] http://wiki.eclipse.org/Tycho/Release_Notes/0.14
> [3]
>
> <pluginRepositories>
> <pluginRepository>
> <id>tycho-0.14.0-staged</id>
> <url>https://oss.sonatype.org/content/repositories/orgeclipsetycho-004/</url>
> </pluginRepository>
> </pluginRepositories>
>
> [4] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Tycho&rep_platform=All&op_sys=All&version=0.14.0
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user