Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Can Tycho Compute target platform from local files instead of using nexus?

With regards to network traffic, I don’t think that target files are any better or worse than repositories with layout p2 in the POM.


For having p2 implement an update policy like Maven, there is only an open enhancement request [1] but nothing is implemented.


What does work is offline mode. You’d need to run without -o  though every now and then if the reference p2 repositories change.









From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Jeff MAURY
Sent: Mittwoch, 24. April 2013 22:59
To: Tycho user list
Subject: Re: [tycho-user] Can Tycho Compute target platform from local files instead of using nexus?


The best way to do in Tycho is to use a target file and the target file will be referencing your Nexus P2 repository. I think this make no big difference except that if you use target file, then the content and index of the P2 repositories used by this target file will be cached somewhere in the Maven repository.



On Wed, Apr 24, 2013 at 10:22 PM, Peter Kahn <citizenkahn@xxxxxxxxx> wrote:

Hi all,

We integrated tycho into a larger maven build.  Each time we build tycho starts "Computing target platform for MavenProject" and spends a minute chatting with our nexus p2 repository.  I'd like to configure tycho so it works similar to m2 snapshots and only checks nexus if the local p2 repository lacks files or once per day.

Is there a way to configur tycho to compute it's platform from $HOME/.m2/repository/p2 instead of the more remote nexus repository?

[INFO] Computing target platform for MavenProject: com....feature:4.0.0-SNAPSHOT @ trunk/.../pom.xml
[INFO] Loading repository '' from mirror 'p2-internal-repository' at 'http://mynexus/nexus/content/groups/'



Peter Kahn
Awareness - Intention - Action

tycho-user mailing list


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

Back to the top