Maven repository configuration in Nexus

<oXygen/> general issues.
damienr
Posts: 8
Joined: Wed Jan 22, 2014 5:30 pm

Maven repository configuration in Nexus

Post by damienr » Tue Jul 14, 2015 9:16 am

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>

alex_jitianu
Posts: 835
Joined: Wed Nov 16, 2005 11:11 am

Re: Maven repository configuration in Nexus

Post by alex_jitianu » Tue Jul 14, 2015 4:40 pm

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

damienr
Posts: 8
Joined: Wed Jan 22, 2014 5:30 pm

Re: Maven repository configuration in Nexus

Post by damienr » Thu Jul 23, 2015 9:55 am

Hi,

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

Damien

alex_jitianu
Posts: 835
Joined: Wed Nov 16, 2005 11:11 am

Re: Maven repository configuration in Nexus

Post by alex_jitianu » Thu Jul 23, 2015 11:14 am

Hello Damien,

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

Best regards,
Alex

damienr
Posts: 8
Joined: Wed Jan 22, 2014 5:30 pm

Re: Maven repository configuration in Nexus

Post by damienr » Thu Jul 23, 2015 1:28 pm

Perfect, that fix our problem.

thanks
Damien

Post Reply