Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Local eclipse instance

I'm not entirely sure this is what you're looking to do, but I believe you can use a remote repository in your pom, but locally configure your settings.xml to a mirror - https://wiki.eclipse.org/Tycho/Target_Platform/Authentication_and_Mirrors

This would make it portable across machines.

On 10 April 2017 at 14:00, Nick Boldt <nickboldt@xxxxxxxxx> wrote:
If you have a locally built p2 update site, you can reference it as
file:///path/to/that/folder in the <url> variable.

You could further externalize that URL as

<properties><eclipseneon>http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/releases/neon/</eclipseneon></properties>

then

<url>${eclipseneon}</url>

so that you could pass in a local file:/// URL via the commandline as

mvn verify -Declipseneon=file:///path/to/the/local/repo/

On Mon, Apr 10, 2017 at 1:55 PM, Evgeniya Katunina
<Evgeniya.Katunina@synopsys.com> wrote:
> Hi all,
>
>
>
> Is there any way to point to the local directory with the Eclipse in the pom
> file instead of adding the p2 repository with such a method:
>
> <repository>
>
>                                 <id>eclipse-neon</id>
>
>
> <url>http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/releases/neon/</url>
>
>                                 <layout>p2</layout>
>
>                 </repository>
>
> ?
>
>
>
> Thanks,
>
> Evgeniya
>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Nick Boldt :: Productization Lead :: JBoss Tools & Dev Studio :: Red Hat, Inc.
http://nick.divbyzero.com
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top