Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Fail build if p2 repository reference in target file is not found?


I think you can file a JIRA as Tycho should have discarded the local cached value as it was several monthes old.


On Thu, Jun 6, 2013 at 8:03 PM, Bruno Medeiros <> wrote:

Is there a way to fail a Tycho build if a required p2 repository referenced in a .target platform configuration is missing?

This is what's happening in this situation:
[INFO] Computing target platform for MavenProject: org.dsource:descent.compiler:0.6.1.qualifier @ D:\projects\DDT\descent.compiler\pom.xml
[WARNING] Failed to access p2 repository, use local cache.

The build was latently broken. But locally it still succeeded due to the local cache, and so this problem went unnoticed for a few months, until a build was attempted on a new machine.

Bruno Medeiros

tycho-user mailing list


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top