rdpstaff / RDPTools

Collection of commonly used RDP Tools for easy building
49 stars 52 forks source link

SERVER ERROR - need to change maven repo URL #31

Closed Mpersicae closed 4 years ago

Mpersicae commented 4 years ago

Hi,

I have been trying to install RDPTools on Ubuntu 18.06. I have run into the following error when I run make

$ make ant -f Clustering/build.xml jar Buildfile: /home/yonathan/RDPTools/Clustering/build.xml

download-ivy: [get] Getting: https://repo.maven.apache.org/maven2/org/apache/ivy/ivy/2.1.0-rc2/ivy-2.1.0-rc2.jar [get] To: /home/yonathan/.ant/lib/ivy.jar [get] Not modified - so not downloaded

init-ivy:

resolve: [ivy:retrieve] :: Ivy 2.1.0-rc2 - 20090704004254 :: http://ant.apache.org/ivy/ :: [ivy:retrieve] :: loading settings :: url = jar:file:/home/yonathan/.ant/lib/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml [ivy:retrieve] :: resolving dependencies :: edu.cme.rdp#clustering;working@yonathan-Aspire-E5-574 [ivy:retrieve] confs: [default] [ivy:retrieve] :: resolution report :: resolve 783ms :: artifacts dl 0ms

|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      default     |   5   |   0   |   0   |   0   ||   0   |   0   |
---------------------------------------------------------------------

[ivy:retrieve] [ivy:retrieve] :: problems summary :: [ivy:retrieve] :::: WARNINGS [ivy:retrieve] module not found: com.sun.xml.bind#jaxb-impl;2.2.7 [ivy:retrieve] ==== local: tried [ivy:retrieve] /home/yonathan/.ant/local/com.sun.xml.bind/jaxb-impl/2.2.7/ivys/ivy.xml [ivy:retrieve] -- artifact com.sun.xml.bind#jaxb-impl;2.2.7!jaxb-impl.jar: [ivy:retrieve] /home/yonathan/.ant/local/com.sun.xml.bind/jaxb-impl/2.2.7/jars/jaxb-impl.jar [ivy:retrieve] ==== shared: tried [ivy:retrieve] /home/yonathan/.ant/shared/com.sun.xml.bind/jaxb-impl/2.2.7/ivys/ivy.xml [ivy:retrieve] -- artifact com.sun.xml.bind#jaxb-impl;2.2.7!jaxb-impl.jar: [ivy:retrieve] /home/yonathan/.ant/shared/com.sun.xml.bind/jaxb-impl/2.2.7/jars/jaxb-impl.jar [ivy:retrieve] ==== public: tried [ivy:retrieve] http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.pom [ivy:retrieve] -- artifact com.sun.xml.bind#jaxb-impl;2.2.7!jaxb-impl.jar: [ivy:retrieve] http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.jar [ivy:retrieve] module not found: commons-cli#commons-cli;1.2 [ivy:retrieve] ==== local: tried [ivy:retrieve] /home/yonathan/.ant/local/commons-cli/commons-cli/1.2/ivys/ivy.xml [ivy:retrieve] -- artifact commons-cli#commons-cli;1.2!commons-cli.jar: [ivy:retrieve] /home/yonathan/.ant/local/commons-cli/commons-cli/1.2/jars/commons-cli.jar [ivy:retrieve] ==== shared: tried [ivy:retrieve] /home/yonathan/.ant/shared/commons-cli/commons-cli/1.2/ivys/ivy.xml [ivy:retrieve] -- artifact commons-cli#commons-cli;1.2!commons-cli.jar: [ivy:retrieve] /home/yonathan/.ant/shared/commons-cli/commons-cli/1.2/jars/commons-cli.jar [ivy:retrieve] ==== public: tried [ivy:retrieve] http://repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.pom [ivy:retrieve] -- artifact commons-cli#commons-cli;1.2!commons-cli.jar: [ivy:retrieve] http://repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar [ivy:retrieve] module not found: junit#junit;4.8.2 [ivy:retrieve] ==== local: tried [ivy:retrieve] /home/yonathan/.ant/local/junit/junit/4.8.2/ivys/ivy.xml [ivy:retrieve] -- artifact junit#junit;4.8.2!junit.jar: [ivy:retrieve] /home/yonathan/.ant/local/junit/junit/4.8.2/jars/junit.jar [ivy:retrieve] ==== shared: tried [ivy:retrieve] /home/yonathan/.ant/shared/junit/junit/4.8.2/ivys/ivy.xml [ivy:retrieve] -- artifact junit#junit;4.8.2!junit.jar: [ivy:retrieve] /home/yonathan/.ant/shared/junit/junit/4.8.2/jars/junit.jar [ivy:retrieve] ==== public: tried [ivy:retrieve] http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.pom [ivy:retrieve] -- artifact junit#junit;4.8.2!junit.jar: [ivy:retrieve] http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar [ivy:retrieve] module not found: commons-codec#commons-codec;1.8 [ivy:retrieve] ==== local: tried [ivy:retrieve] /home/yonathan/.ant/local/commons-codec/commons-codec/1.8/ivys/ivy.xml [ivy:retrieve] -- artifact commons-codec#commons-codec;1.8!commons-codec.jar: [ivy:retrieve] /home/yonathan/.ant/local/commons-codec/commons-codec/1.8/jars/commons-codec.jar [ivy:retrieve] ==== shared: tried [ivy:retrieve] /home/yonathan/.ant/shared/commons-codec/commons-codec/1.8/ivys/ivy.xml [ivy:retrieve] -- artifact commons-codec#commons-codec;1.8!commons-codec.jar: [ivy:retrieve] /home/yonathan/.ant/shared/commons-codec/commons-codec/1.8/jars/commons-codec.jar [ivy:retrieve] ==== public: tried [ivy:retrieve] http://repo1.maven.org/maven2/commons-codec/commons-codec/1.8/commons-codec-1.8.pom [ivy:retrieve] -- artifact commons-codec#commons-codec;1.8!commons-codec.jar: [ivy:retrieve] http://repo1.maven.org/maven2/commons-codec/commons-codec/1.8/commons-codec-1.8.jar [ivy:retrieve] module not found: commons-io#commons-io;2.4 [ivy:retrieve] ==== local: tried [ivy:retrieve] /home/yonathan/.ant/local/commons-io/commons-io/2.4/ivys/ivy.xml [ivy:retrieve] -- artifact commons-io#commons-io;2.4!commons-io.jar: [ivy:retrieve] /home/yonathan/.ant/local/commons-io/commons-io/2.4/jars/commons-io.jar [ivy:retrieve] ==== shared: tried [ivy:retrieve] /home/yonathan/.ant/shared/commons-io/commons-io/2.4/ivys/ivy.xml [ivy:retrieve] -- artifact commons-io#commons-io;2.4!commons-io.jar: [ivy:retrieve] /home/yonathan/.ant/shared/commons-io/commons-io/2.4/jars/commons-io.jar [ivy:retrieve] ==== public: tried [ivy:retrieve] http://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.pom [ivy:retrieve] -- artifact commons-io#commons-io;2.4!commons-io.jar: [ivy:retrieve] http://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve] :: UNRESOLVED DEPENDENCIES :: [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve] :: com.sun.xml.bind#jaxb-impl;2.2.7: not found [ivy:retrieve] :: commons-cli#commons-cli;1.2: not found [ivy:retrieve] :: junit#junit;4.8.2: not found [ivy:retrieve] :: commons-codec#commons-codec;1.8: not found [ivy:retrieve] :: commons-io#commons-io;2.4: not found [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve] :::: ERRORS [ivy:retrieve] SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.pom [ivy:retrieve] SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.jar [ivy:retrieve] SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.pom [ivy:retrieve] SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar [ivy:retrieve] SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.pom [ivy:retrieve] SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar [ivy:retrieve] SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.8/commons-codec-1.8.pom [ivy:retrieve] SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.8/commons-codec-1.8.jar [ivy:retrieve] SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.pom [ivy:retrieve] SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar [ivy:retrieve] [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED /home/yonathan/RDPTools/Clustering/build.xml:104: impossible to resolve dependencies: resolve failed - see output for details

Total time: 2 seconds Makefile:15: recipe for target 'Clustering/dist/Clustering.jar' failed make: *** [Clustering/dist/Clustering.jar] Error 1


I am fairly certain I know what the problem is, but I can't figure out how to fix it. The URLs for the Maven repository are no longer valid, but can be fixed by simply changing http to https.

My problem: I can't find the file which specifies the URL for the Ivy:retrieve function. I am not very familiar with Java, and don't have an intuitive grasp on where I should be looking. Any help with this issue would be very much appreciated.

Many thanks, Y.

n1mus commented 4 years ago

I am having the same issue

mariabernard commented 4 years ago

As everyone else, I could not install RDPTools which is a dependency of an other pipeline. When changed do you plan to create a new release ? It would be nice and will allow to use conda to install RDPTools.

gunturus commented 4 years ago

@mariabernard thanks for letting us know. I am aware of the issue. It is a bit of a trivial problem for me. There is a default url used by the ANT compiler which seems to be hidden.

gunturus commented 4 years ago

@mariabernard I have made some change can you check if it is working for you

mariabernard commented 4 years ago

Hi @gunturus

Sounds good when installing the code on your master branch. But not if we want to install the last released version. It would be nice to make a new release or to correct the last one (2.0.2)!

Thanks for your quick debug anyway

gunturus commented 4 years ago

@mariabernard I made a new release. Thank you for point that out~ Let me know if it is building as intended.

Mpersicae commented 4 years ago

Hi @gunturus

Thanks for looking into this. I acquired the new release and now when I run make I get the following output:

mkdir lib
ant -f Clustering/build.xml jar
Buildfile: /home/yonathan/RDPTools/Clustering/build.xml

download-ivy:
      [get] Getting: http://insecure.repo1.maven.org/maven2/org/apache/ivy/ivy/2.1.0-rc2/ivy-2.1.0-rc2.jar
      [get] To: /home/yonathan/.ant/lib/ivy.jar
      [get] Not modified - so not downloaded

init-ivy:

resolve:
[ivy:retrieve] :: Ivy 2.1.0-rc2 - 20090704004254 :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: file = /home/yonathan/RDPTools/Clustering/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: edu.cme.rdp#clustering;working@yonathan-Aspire-E5-574
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  found com.sun.xml.bind#jaxb-impl;2.2.7 in maven
[ivy:retrieve]  found com.sun.xml.bind#jaxb-core;2.2.7 in maven
[ivy:retrieve]  found javax.xml.bind#jaxb-api;2.2.7 in maven
[ivy:retrieve]  found com.sun.istack#istack-commons-runtime;2.16 in maven
[ivy:retrieve]  found com.sun.xml.fastinfoset#FastInfoset;1.2.12 in maven
[ivy:retrieve]  found javax.xml.bind#jsr173_api;1.0 in maven
[ivy:retrieve]  found commons-cli#commons-cli;1.2 in maven
[ivy:retrieve]  found junit#junit;4.8.2 in maven
[ivy:retrieve]  found commons-codec#commons-codec;1.8 in maven
[ivy:retrieve]  found commons-io#commons-io;2.4 in maven
[ivy:retrieve] downloading http://insecure.repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.jar ...
[ivy:retrieve] ....................................................... (898kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] com.sun.xml.bind#jaxb-impl;2.2.7!jaxb-impl.jar (524ms)
[ivy:retrieve] downloading http://insecure.repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar ...
[ivy:retrieve] ....... (40kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] commons-cli#commons-cli;1.2!commons-cli.jar (75ms)
[ivy:retrieve] downloading http://insecure.repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar ...
[ivy:retrieve] ............. (231kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] junit#junit;4.8.2!junit.jar (117ms)
[ivy:retrieve] downloading http://insecure.repo1.maven.org/maven2/commons-codec/commons-codec/1.8/commons-codec-1.8.jar ...
[ivy:retrieve] ............................... (257kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] commons-codec#commons-codec;1.8!commons-codec.jar (396ms)
[ivy:retrieve] downloading http://insecure.repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar ...
[ivy:retrieve] ............ (180kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] commons-io#commons-io;2.4!commons-io.jar (98ms)
[ivy:retrieve] downloading http://insecure.repo1.maven.org/maven2/com/sun/xml/bind/jaxb-core/2.2.7/jaxb-core-2.2.7.jar ...
[ivy:retrieve] ............. (216kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] com.sun.xml.bind#jaxb-core;2.2.7!jaxb-core.jar (273ms)
[ivy:retrieve] downloading http://insecure.repo1.maven.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.12/FastInfoset-1.2.12.jar ...
[ivy:retrieve] ................... (286kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] com.sun.xml.fastinfoset#FastInfoset;1.2.12!FastInfoset.jar (523ms)
[ivy:retrieve] downloading http://insecure.repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.2.7/jaxb-api-2.2.7.jar ...
[ivy:retrieve] ....... (97kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] javax.xml.bind#jaxb-api;2.2.7!jaxb-api.jar (315ms)
[ivy:retrieve] downloading http://insecure.repo1.maven.org/maven2/com/sun/istack/istack-commons-runtime/2.16/istack-commons-runtime-2.16.jar ...
[ivy:retrieve] .... (22kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] com.sun.istack#istack-commons-runtime;2.16!istack-commons-runtime.jar (402ms)
[ivy:retrieve] downloading http://insecure.repo1.maven.org/maven2/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar ...
[ivy:retrieve] ...... (48kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] javax.xml.bind#jsr173_api;1.0!jsr173_api.jar (181ms)
[ivy:retrieve] :: resolution report :: resolve 16566ms :: artifacts dl 2920ms
    ---------------------------------------------------------------------
    |                  |            modules            ||   artifacts   |
    |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
    ---------------------------------------------------------------------
    |      default     |   10  |   10  |   10  |   0   ||   10  |   10  |
    ---------------------------------------------------------------------
[ivy:retrieve] 
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: ERRORS
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/net/java/jvnet-parent/1/jvnet-parent-1.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/net/java/jvnet-parent/1/jvnet-parent-1.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7-sources.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.2.7/jaxb-impl-2.2.7-javadoc.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-core/2.2.7/jaxb-core-2.2.7.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-core/2.2.7/jaxb-core-2.2.7.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-core/2.2.7/jaxb-core-2.2.7-sources.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-core/2.2.7/jaxb-core-2.2.7-javadoc.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.2.7/jaxb-api-2.2.7.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.2.7/jaxb-api-2.2.7.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.2.7/jaxb-api-2.2.7-sources.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.2.7/jaxb-api-2.2.7-javadoc.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/istack/istack-commons-runtime/2.16/istack-commons-runtime-2.16.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/istack/istack-commons-runtime/2.16/istack-commons-runtime-2.16.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/istack/istack-commons/2.16/istack-commons-2.16.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/istack/istack-commons/2.16/istack-commons-2.16.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/net/java/jvnet-parent/3/jvnet-parent-3.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/net/java/jvnet-parent/3/jvnet-parent-3.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/istack/istack-commons-runtime/2.16/istack-commons-runtime-2.16-sources.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/istack/istack-commons-runtime/2.16/istack-commons-runtime-2.16-javadoc.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.12/FastInfoset-1.2.12.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.12/FastInfoset-1.2.12.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/fastinfoset/fastinfoset-project/1.2.12/fastinfoset-project-1.2.12.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/fastinfoset/fastinfoset-project/1.2.12/fastinfoset-project-1.2.12.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.12/FastInfoset-1.2.12-sources.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.2.12/FastInfoset-1.2.12-javadoc.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0-sources.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0-javadoc.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/commons/commons-parent/11/commons-parent-11.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/commons/commons-parent/11/commons-parent-11.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2-sources.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2-javadoc.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2-sources.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2-javadoc.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.8/commons-codec-1.8.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.8/commons-codec-1.8.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/commons/commons-parent/28/commons-parent-28.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/commons/commons-parent/28/commons-parent-28.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/apache/13/apache-13.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/apache/13/apache-13.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.8/commons-codec-1.8-sources.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-codec/commons-codec/1.8/commons-codec-1.8-javadoc.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/commons/commons-parent/25/commons-parent-25.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/commons/commons-parent/25/commons-parent-25.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/apache/9/apache-9.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/apache/9/apache-9.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4-sources.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4-javadoc.jar
[ivy:retrieve] 
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[ivy:retrieve] :: retrieving :: edu.cme.rdp#clustering
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  10 artifacts copied, 0 already retrieved (2281kB/10ms)

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-ap-cmdline-properties:

-init-macrodef-javac-with-processors:

-init-macrodef-javac-without-processors:

-init-macrodef-javac:

-init-macrodef-test-impl:

-init-macrodef-junit-init:

-init-macrodef-junit-single:

-init-test-properties:

-init-macrodef-junit-batch:

-init-macrodef-junit:

-init-macrodef-junit-impl:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:test-impl

-init-macrodef-testng:

-init-macrodef-testng-impl:

-init-macrodef-test:

-init-macrodef-junit-debug:

-init-macrodef-junit-debug-batch:

-init-macrodef-junit-debug-impl:

-init-macrodef-test-debug-junit:

-init-macrodef-testng-debug:

-init-macrodef-testng-debug-impl:

-init-macrodef-test-debug-testng:

-init-macrodef-test-debug:

-init-debug-args:

-init-macrodef-nbjpda:

-init-macrodef-debug:

-init-macrodef-java:

-init-presetdef-jar:

-init-ap-cmdline-supported:

-init-ap-cmdline:

init:

-deps-jar-init:

deps-jar:
    [mkdir] Created dir: /home/yonathan/RDPTools/Clustering/build

-warn-already-built-jar:
[propertyfile] Updating property file: /home/yonathan/RDPTools/Clustering/build/built-jar.properties

-check-call-dep:

-maybe-call-dep:

download-ivy:
      [get] Getting: https://repo.maven.apache.org/maven2/org/apache/ivy/ivy/2.1.0-rc2/ivy-2.1.0-rc2.jar
      [get] To: /home/yonathan/.ant/lib/ivy.jar
      [get] Not modified - so not downloaded

init-ivy:

resolve:
[ivy:retrieve] :: loading settings :: file = /home/yonathan/RDPTools/AlignmentTools/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: edu.cme.rdp#AlignmentTools;working@yonathan-Aspire-E5-574
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  found commons-lang#commons-lang;2.6 in maven
[ivy:retrieve]  found commons-cli#commons-cli;1.2 in maven
[ivy:retrieve] downloading http://insecure.repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.jar ...
[ivy:retrieve] ................ (277kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] commons-lang#commons-lang;2.6!commons-lang.jar (136ms)
[ivy:retrieve] :: resolution report :: resolve 1081ms :: artifacts dl 139ms
    ---------------------------------------------------------------------
    |                  |            modules            ||   artifacts   |
    |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
    ---------------------------------------------------------------------
    |      default     |   2   |   1   |   1   |   0   ||   2   |   1   |
    ---------------------------------------------------------------------
[ivy:retrieve] 
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: ERRORS
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/commons/commons-parent/17/commons-parent-17.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/commons/commons-parent/17/commons-parent-17.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/apache/apache/7/apache-7.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6-sources.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6-javadoc.jar
[ivy:retrieve] 
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[ivy:retrieve] :: retrieving :: edu.cme.rdp#AlignmentTools
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  2 artifacts copied, 0 already retrieved (317kB/4ms)

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-ap-cmdline-properties:

-init-macrodef-javac-with-processors:

-init-macrodef-javac-without-processors:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:javac

-init-macrodef-javac:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:depend

-init-macrodef-test-impl:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:test-impl

-init-macrodef-junit-init:

-init-macrodef-junit-single:

-init-test-properties:

-init-macrodef-junit-batch:

-init-macrodef-junit:

-init-macrodef-junit-impl:

-init-macrodef-testng:

-init-macrodef-testng-impl:

-init-macrodef-test:

-init-macrodef-junit-debug:

-init-macrodef-junit-debug-batch:

-init-macrodef-junit-debug-impl:

-init-macrodef-test-debug-junit:

-init-macrodef-testng-debug:

-init-macrodef-testng-debug-impl:

-init-macrodef-test-debug-testng:

-init-macrodef-test-debug:

-init-debug-args:

-init-macrodef-nbjpda:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/1:nbjpdastart

-init-macrodef-debug:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:debug

-init-macrodef-java:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/1:java

-init-presetdef-jar:

-init-ap-cmdline-supported:

-init-ap-cmdline:

init:

-deps-jar-init:

deps-jar:
    [mkdir] Created dir: /home/yonathan/RDPTools/AlignmentTools/build

-warn-already-built-jar:
[propertyfile] Updating property file: /home/yonathan/RDPTools/Clustering/build/built-jar.properties

-check-call-dep:

-maybe-call-dep:

download-ivy:
      [get] Getting: https://repo.maven.apache.org/maven2/org/apache/ivy/ivy/2.1.0-rc2/ivy-2.1.0-rc2.jar
      [get] To: /home/yonathan/.ant/lib/ivy.jar
      [get] Not modified - so not downloaded

init-ivy:

resolve:
[ivy:retrieve] :: loading settings :: file = /home/yonathan/RDPTools/ReadSeq/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: edu.cme.rdp#ReadSeq;working@yonathan-Aspire-E5-574
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  found commons-lang#commons-lang;2.6 in maven
[ivy:retrieve]  found commons-cli#commons-cli;1.2 in maven
[ivy:retrieve]  found commons-io#commons-io;2.4 in maven
[ivy:retrieve] :: resolution report :: resolve 52ms :: artifacts dl 3ms
    ---------------------------------------------------------------------
    |                  |            modules            ||   artifacts   |
    |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
    ---------------------------------------------------------------------
    |      default     |   3   |   0   |   0   |   0   ||   3   |   0   |
    ---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: edu.cme.rdp#ReadSeq
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  3 artifacts copied, 0 already retrieved (498kB/3ms)

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-ap-cmdline-properties:

-init-macrodef-javac-with-processors:

-init-macrodef-javac-without-processors:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:javac

-init-macrodef-javac:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:depend

-init-macrodef-test-impl:

-init-macrodef-junit-init:

-init-macrodef-junit-single:

-init-test-properties:

-init-macrodef-junit-batch:

-init-macrodef-junit:

-init-macrodef-junit-impl:

-init-macrodef-testng:

-init-macrodef-testng-impl:

-init-macrodef-test:

-init-macrodef-junit-debug:

-init-macrodef-junit-debug-batch:

-init-macrodef-junit-debug-impl:

-init-macrodef-test-debug-junit:

-init-macrodef-testng-debug:

-init-macrodef-testng-debug-impl:

-init-macrodef-test-debug-testng:

-init-macrodef-test-debug:

-init-debug-args:

-init-macrodef-nbjpda:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/1:nbjpdastart

-init-macrodef-debug:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:debug

-init-macrodef-java:
Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/1:java

-init-presetdef-jar:

-init-ap-cmdline-supported:

-init-ap-cmdline:

init:

-deps-jar-init:

deps-jar:
    [mkdir] Created dir: /home/yonathan/RDPTools/ReadSeq/build

-warn-already-built-jar:
[propertyfile] Updating property file: /home/yonathan/RDPTools/Clustering/build/built-jar.properties

-check-automatic-build:

-clean-after-automatic-build:

-verify-automatic-build:

-pre-pre-compile:
    [mkdir] Created dir: /home/yonathan/RDPTools/ReadSeq/build/classes

-pre-compile:

-copy-persistence-xml:

-compile-depend:

-do-compile:
    [mkdir] Created dir: /home/yonathan/RDPTools/ReadSeq/build/empty
    [javac] Compiling 73 source files to /home/yonathan/RDPTools/ReadSeq/build/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 5
    [javac] error: Source option 5 is no longer supported. Use 6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED
/home/yonathan/RDPTools/Clustering/nbproject/build-impl.xml:896: The following error occurred while executing this line:
/home/yonathan/RDPTools/Clustering/nbproject/build-impl.xml:1470: The following error occurred while executing this line:
/home/yonathan/RDPTools/AlignmentTools/nbproject/build-impl.xml:896: The following error occurred while executing this line:
/home/yonathan/RDPTools/AlignmentTools/nbproject/build-impl.xml:1414: The following error occurred while executing this line:
/home/yonathan/RDPTools/ReadSeq/nbproject/build-impl.xml:920: The following error occurred while executing this line:
/home/yonathan/RDPTools/ReadSeq/nbproject/build-impl.xml:300: Compile failed; see the compiler error output for details.

Total time: 27 seconds
Makefile:15: recipe for target 'Clustering/dist/Clustering.jar' failed
make: *** [Clustering/dist/Clustering.jar] Error 1

It seems the issue has been partially resolved. There are still a number of links that use HTTP when the repository server requires HTTPS

Thanks, Y.

gunturus commented 4 years ago

I have tested the build myself. It works as intended. Can I ask what version of ANT and JDK you are using? Although there are HTTPS errors. It seems to be still downloading the required jar repos.

Mpersicae commented 4 years ago

I am using Apache Ant/1.10.5 and openjdk/11.0.6

Does this have to do with the javac error I see in my make output?

-do-compile:
    [mkdir] Created dir: /home/yonathan/RDPTools/ReadSeq/build/empty
    [javac] Compiling 73 source files to /home/yonathan/RDPTools/ReadSeq/build/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 5
    [javac] error: Source option 5 is no longer supported. Use 6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

Thanks, Y.

gunturus commented 4 years ago

@Mpersicae can you try use ANT1.9 also you will need to downgrade the jdk to 7

mariabernard commented 4 years ago

Just to share my experiment, I use

and everything works.

Mpersicae commented 4 years ago

Hi,

Thank you @mariabernard for the information. JDK 7 is no longer supported by Ubuntu and is difficult to acquire, but I downgraded to JDK 8 and was able to build successfully.

Y.