That one is only on master and will be released with 11.3

On 1/15/20 12:50 PM, antonio wrote:
The DownloadBinariesTask has a "repos" variable you can set. This is a list of Maven repositories to use.

This seems to default to

----
    private String repos = "https://repo1.maven.org/maven2/";;


    /**
     * Space separated URL prefixes for maven repositories.
     * Should generally include a trailing slash.
     * You may include multiple URLs separated by spaces
     * in which case they will be tried in order.
     */
    public void setRepos(String repos) {
        this.repos = repos;
    }
 ----

I imagine you can set the property in the "<downloadbinaries" task in nbbuild/build.xml, I haven't tried it myself, though.

Cheers,
Antonio

El 15/1/20 a las 21:31, John Elliot V | ProgClub escribió:
Ah, thanks Fabian, that explains it.

I tried grepping for central.maven.org, but I haven't been able to
figure out how to override the setting for http://central.maven.org/
with https://repo1.maven.org/ -- can you tell me how I can do that..?

Regards,
John Elliot V

[1]
jj5@jj-dev:~/desktop/netbeans/source$ search central.maven.org
DEPENDENCIES:  - jsr305-2.0.0.jar: JSR305 Annotations for Findbugs
(http://central.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar)
nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java:
       url = "http://central.maven.org/maven2/"; + cacheName;
Binary file
nbbuild/build/antclasses/org/netbeans/nbbuild/extlibs/DownloadBinaries.class
matches
Binary file nbbuild/netbeans/harness/tasks.jar matches
platform/api.annotations.common/external/jsr305-2.0.0-license.txt:URL:
http://central.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar

On 16/1/20 7:21 am, Fabian Bahle wrote:
Hello John,

Maven just announced (https://twitter.com/ASFMavenProject/status/1217495225905577984) that the turned off the HTTP support of Maven Central repo, you should use https://repo1.maven.org <https://repo1.maven.org/> instead.


Regards,
Fabian

Am 15.01.2020 um 21:12 schrieb John Elliot V | ProgClub <[email protected]>:

Hello again.

I've been following up on Eirik's request [1] for more testing of my
proposed patch on various Ubuntu desktops, but all of a sudden I'm
having trouble compiling from source.

This worked yesterday but is failing now. My guess is it's a transient
networking problem? (Seems to be HTTP 501: Not Implemented)

I'm building from netbeans-11.2-source.zip with the command:

ant -Dcluster.config=full -Dpermit.jdk9.builds=true

The error message looks like this [2].

Do I just wait for network services from http://central.maven.org/ to
resume? Or is there some other action I can take?

Regards,
John Elliot V

[1]
https://mail-archives.apache.org/mod_mbox/netbeans-dev/202001.mbox/%3CBL0PR20MB2098FA4608142A1F4F719C04A1340%40BL0PR20MB2098.namprd20.prod.outlook.com%3E

[2]

nbantext:
[TestDownload] Creating
/var/export/jj-dev/netbeans/source/harness/apisupport.harness/build/asm-all-5.0.1.jar
[TestDownload] Downloading:
http://central.maven.org/maven2/org/ow2/asm/asm-all/5.0.1/asm-all-5.0.1.jar
[TestDownload] Could not download
2F7553F50B0D14ED811B849C282DA8C1FFC32AAE-asm-all-5.0.1.jar to
/var/export/jj-dev/netbeans/source/harness/apisupport.harness/build/asm-all-5.0.1.jar:
java.io.IOException: Skipping download from
http://central.maven.org/maven2/org/ow2/asm/asm-all/5.0.1/asm-all-5.0.1.jar
due to response code 501
  [nbmerge] Failed to build target: all-apisupport.harness


--
|_|O|_| ProgClub
|_|_|O| Because every programmer needs a good club!
|O|O|O| https://www.progclub.org/



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to