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?

You can see https://docs.sonatype.org/display/Nexus/Nexus+OSGi+Experimental+Features+-+P2+Repository+Plugin but I think it is not uptodate.

Jeff


On Thu, Apr 25, 2013 at 4:44 AM, Greg Amerson <gregory.amerson@xxxxxxxxxxx> wrote:
Regarding using target files that point to a nexus p2 repository that enable caching.... is there a cookbook blueprint for this type of config?  I'm sure there is somewhere.  Mainly I'm wondering about nexus p2 repository.  I recently installed a local nexus oss server and would love to have p2 repositories cached there.

Greg


On Thu, Apr 25, 2013 at 4:59 AM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
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

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




--
Greg Amerson
Liferay Developer Tools
Liferay, Inc. www.liferay.com

_______________________________________________
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