If we cannot use Maven Central or some other "big" official repositories that 
guarantee some integrity, then we might as well use our own setup.

In the future http://hg.netbeans.org/binaries might be going away, but we still 
have http://netbeans.osuosl.org/binaries/ which is under my control and where 
we have a lot of bandwidth and enough space. Also see the article about this 
https://jaxenter.com/netbeans/towards-building-netbeans-new-home

So I suggest we don't make this overly complicated. Right now we can leave some 
binaries as they are and keep using http://hg.netbeans.org/binaries until it 
goes down. Later on we can switch to http://netbeans.osuosl.org/binaries/ (and 
perhaps also add a new folder just for new binaries, perhaps 
http://netbeans.osuosl.org/apache-binaries/ or something).

--emi

>-------- Original Message --------
>Subject: Do we want multiple download servers
>Local Time: November 1, 2017 11:29 AM
>UTC Time: November 1, 2017 9:29 AM
>From: [email protected]
>To: [email protected]
>
>Hi all,
>
> PROBLEM:
>
> The mylyn binaries are not available in Maven central. Nor in any other
> Maven repository.
>
> SOLUTION:
>
> We could use the eclipse downloads system, with automatic mirror
> selection, with [1].
>
> So, for instance, to download the jar file
> org.eclipse.mylyn.tasks.core_3.17.0.v20150828-2026.jar for the
> o.eclipse.mylyn.tasks.core module we could use the url [2], and we could
> then use an appropriate SHA-1 to verify that the download is correct.
>
> All mylyn binaries are available there (maybe other binaries as well).
>
> Currently the build system uses a single server
> (nbbuild/default-properties.xml|binaries.server). But we could specify
> multiple download servers and try to download from them in order, until
> the download succeeds.
>
> QUESTIONS:
>
> Would it be a good idea to add support for multiple URLs into
> "binaries.server"? Is it ok to download binaries from the
>www.eclipse.org/downloads URL? Do you want me to submit a PR with this?
>
> Thanks,
> Antonio
>
>
> [1]
>http://www.eclipse.org/downloads/download.php?file=/mylyn/drops/3.17.0/v20150909-1855/plugins
>
> [2]
>http://www.eclipse.org/downloads/download.php?file=/mylyn/drops/3.17.0/v20150909-1855/plugins/org.eclipse.mylyn.tasks.core_3.17.0.v20150828-2026.jar
>

Reply via email to