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?

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.

Jeff


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 'http://download.eclipse.org/releases/juno' from mirror 'p2-internal-repository' at 'http://mynexus/nexus/content/groups/p2.group.public/'


Thanks

Peter

--
Peter Kahn
citizenkahn@xxxxxxxxx
http://www.google.com/profiles/citizenkahn
Awareness - Intention - Action

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Jeff MAURY


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

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top