Page 1 of 1

Maven repository configuration in Nexus

Posted: Tue Jul 14, 2015 9:16 am
by damienr
Hi,

I’ve attempted to use the following url http://www.oxygenxml.com/maven in our Nexus server when configuring an Oxygen Repository. But got the following message from your server:

$ curl --proxy 172.24.88.41:8080 http://www.oxygenxml.com/maven

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.oxygenxml.com/maven/">here</a>.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at www.oxygenxml.com Port 80</address>
</body></html>

Re: Maven repository configuration in Nexus

Posted: Tue Jul 14, 2015 4:40 pm
by alex_jitianu
Hi,

The Maven repository from http://www.oxygenxml.com/maven/ is not intended to be accessed directly. Maven builds URLs that identify each artifact. For example: http://oxygenxml.com/maven/com/oxygenxm ... 16.1.0.jar

I don't have much experience with Nexus server but I think you can configure a Proxy Repository for our Maven repository.

Best regards,
Alex

Re: Maven repository configuration in Nexus

Posted: Thu Jul 23, 2015 9:55 am
by damienr
Hi,

this is what we did: a proxy repository in Nexus.
Still stuck.

Damien

Re: Maven repository configuration in Nexus

Posted: Thu Jul 23, 2015 11:14 am
by alex_jitianu
Hello Damien,

Please give it another try. We've added permissions for file listing on the repository location.

Best regards,
Alex

Re: Maven repository configuration in Nexus

Posted: Thu Jul 23, 2015 1:28 pm
by damienr
Perfect, that fix our problem.

thanks
Damien