Skip to main content

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

Hello.

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 http://download.eclipse.org/tools/orbit/downloads/drops/S20130308121626/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

Back to the top