irods-contrib / metalnx-web

Metalnx Web Application
https://metalnx.github.io/
BSD 3-Clause "New" or "Revised" License
36 stars 36 forks source link

Compilation Error #196

Closed NhlamuloChauke closed 3 years ago

NhlamuloChauke commented 3 years ago

Hi I was compilling Metalnx(metalnx-web-1-stable) version 4. I am getting the following error with the command:

mvn clean generate-sources package -Ppreprod -Dmaven.test.skip=true

Failed to execute goal on project emc-metalnx-shared: Could not resolve dependencies for project com.emc.metalnx:emc-metalnx-shared:jar:1.4.0: Failed to collect dependencies at com.emc.metalnx:emc-metalnx-services:jar:1.4.0 -> org.irods.jargon:jargon-core:jar:4.1.10.0-RELEASE -> com.claymoresystems:puretls:jar:1.1: Failed to read artifact descriptor for com.claymoresystems:puretls:jar:1.1: Could not transfer artifact com.claymoresystems:puretls:pom:1.1 from/to ci.dev.repository (http://ci-dev.renci.org/nexus/content/repositories/public): ci-dev.renci.org: Unknown host ci-dev.renci.org -> [Help 1]

Your response will be highly appreciated

kuntzagk commented 3 years ago

Hi,

does your machine have direct internet connection or through a proxy? I think I had similar errors when building docker image from source.

I run maven this way:

mvn package -Dmaven.test.skip=true -Dhttp.proxyHost=${proxy_host} -Dhttps.proxyHost=${proxy_host} \
   -Dhttp.proxyPort=${proxy_port} -Dhttp.proxyUser=${proxy_user} \
   -Dhttp.proxyPassword=${proxy_pass} -Dhttps.proxyPort=${proxy_port} \
   -Dhttps.proxyUser=${proxy_user} -Dhttps.proxyPassword=${proxy_pass} \
NhlamuloChauke commented 3 years ago

@kuntzagk I am using Direct internet. How to set the http_proxy and https_proxy variables? @kuntzagk can you help me with that. much appreciated.

kuntzagk commented 3 years ago

If your using direct internet without proxy you do not neet proxy settings. It seems that ci-dev.renci.org really does not exist. I also cannot find any reference to it in the code.

trel commented 3 years ago

Why are you interested in building the old version of Metalnx?

The ci-dev machine at renci has been gone for 2-3 years.

Building 2.2.0 or master is recommended.

michael-conway commented 3 years ago

I'll try to go back in my memory, I want to say some of those libraries moved...Better to build a later version though!