Foros de discusión

IVY trying to resolve sources that no longer exist (jargs) ?

thumbnail
Mark Hyde, modificado hace 10 años.

IVY trying to resolve sources that no longer exist (jargs) ?

New Member Mensajes: 12 Fecha de incorporación: 20/03/13 Mensajes recientes
I find this very strange, but I can't see anything particularly wrong on my end.

I am behind a firewall.

Freshly downloaded and installed:

liferay-plugins-sdk-6.2.0.
Eclipse Kepler
Liferay IDE 2.0.1.201401270944-ga2

I found the other note where it was required to insert a proxy line in the build-common-ivy.xml file and got over that hump.

Now, when I try to create a new project, it goes away for a long time in the [ivy:resolve] step and eventually fails with:
[ivy:resolve] :::: ERRORS
[ivy:resolve] Server access Error: Connection timed out: connect url=https://repository.jboss.org/nexus/content/repositories/releases/net/sf/jargs/1.0/jargs-1.0.jar
[ivy:resolve] Server access Error: Connection timed out: connect url=https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/net/sf/jargs/1.0/jargs-1.0.jar
[ivy:resolve] Server access Error: Connection timed out: connect url=http://repo1.maven.org/maven2/net/sf/jargs/1.0/jargs-1.0.jar
[ivy:resolve] Server access Error: Connection timed out: connect url=http://repository.ow2.org/nexus/content/repositories/public/net/sf/jargs/1.0/jargs-1.0.jar
[ivy:resolve] Server access Error: Connection timed out: connect url=http://repository.primefaces.org/net/sf/jargs/1.0/jargs-1.0.jar

I'm pretty sure it's not a proxy error because all my non-Liferay stuff works fine. The funny thing is that if I plug one the above urls into my browser, say the https://repository.jboss.org/nexus/content/repositories/releases/net/sf/jargs/1.0/jargs-1.0.jar then you find out that it doesn't exist. In fact you have to back all the way up to /releases to get a working link and then it appears that the whole "net" package doesn't even exist in that repository. Similar results with the other repositories.

Am I losing my mind? Or has something gone wrong with the net.sf.jargs dependency?

Thanks,
mark
thumbnail
Apoorva Prakash, modificado hace 10 años.

RE: IVY trying to resolve sources that no longer exist (jargs) ?

Liferay Master Mensajes: 658 Fecha de incorporación: 15/06/10 Mensajes recientes
Mark Hyde:
I find this very strange, but I can't see anything particularly wrong on my end.

I am behind a firewall.

Freshly downloaded and installed:

liferay-plugins-sdk-6.2.0.
Eclipse Kepler
Liferay IDE 2.0.1.201401270944-ga2

I found the other note where it was required to insert a proxy line in the build-common-ivy.xml file and got over that hump.

Now, when I try to create a new project, it goes away for a long time in the [ivy:resolve] step and eventually fails with:
[ivy:resolve] :::: ERRORS
[ivy:resolve] Server access Error: Connection timed out: connect url=https://repository.jboss.org/nexus/content/repositories/releases/net/sf/jargs/1.0/jargs-1.0.jar
[ivy:resolve] Server access Error: Connection timed out: connect url=https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/net/sf/jargs/1.0/jargs-1.0.jar
[ivy:resolve] Server access Error: Connection timed out: connect url=http://repo1.maven.org/maven2/net/sf/jargs/1.0/jargs-1.0.jar
[ivy:resolve] Server access Error: Connection timed out: connect url=http://repository.ow2.org/nexus/content/repositories/public/net/sf/jargs/1.0/jargs-1.0.jar
[ivy:resolve] Server access Error: Connection timed out: connect url=http://repository.primefaces.org/net/sf/jargs/1.0/jargs-1.0.jar

I'm pretty sure it's not a proxy error because all my non-Liferay stuff works fine. The funny thing is that if I plug one the above urls into my browser, say the https://repository.jboss.org/nexus/content/repositories/releases/net/sf/jargs/1.0/jargs-1.0.jar then you find out that it doesn't exist. In fact you have to back all the way up to /releases to get a working link and then it appears that the whole "net" package doesn't even exist in that repository. Similar results with the other repositories.

Am I losing my mind? Or has something gone wrong with the net.sf.jargs dependency?

Thanks,
mark


Create a folder with name '.ivy' (without quotes) inside your plugin SDK (if not created by your failed build) and drop the attached jar file in this folder.

Do start build, and relax, it takes a bit of time when you do build for the first time.

HTH.

Archivos adjuntos:

Deepa P, modificado hace 9 años.

RE: IVY trying to resolve sources that no longer exist (jargs) ?

New Member Mensaje: 1 Fecha de incorporación: 12/05/14 Mensajes recientes
Hello,

I am facing same issue. I have created folder called .ivy and copied the jar as suggested.
Still I get the same error.

Can anyone help on this?
thumbnail
Mark Hyde, modificado hace 9 años.

RE: IVY trying to resolve sources that no longer exist (jargs) ?

New Member Mensajes: 12 Fecha de incorporación: 20/03/13 Mensajes recientes
Was reviewing posts and thought I'd add another bit of info here.

Being in a company, behind a firewall seems to be the biggest reason this happens. As turns out, you have set proxy information specifically for Ivy.

In build-common-ivy.xml, you need to add a <setproxy proxyhost="host" proxyport="port" />. I put it right after the <mkdir dir="${ivy.home}" /> line and that took care of it.

mark