lievendoclo / Valkyrie-RCP

A fork from http://www.gitorious.org/valkyrie-rcp
Apache License 2.0
23 stars 10 forks source link

Maven repository does not work - 404 not found #1

Closed cmadsen closed 11 years ago

cmadsen commented 11 years ago

Accessing https://raw.github.com/Ekito/maven-repo/master/releases

wget https://raw.github.com/Ekito/maven-repo/master/releases --2012-08-07 14:01:16-- https://raw.github.com/Ekito/maven-repo/master/releases Resolving raw.github.com... 207.97.227.243 Connecting to raw.github.com|207.97.227.243|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2012-08-07 14:01:17 ERROR 404: Not Found.

ndeverge commented 11 years ago

You have to specify a full path to an artefact, not just a directory, for instance:

wget https://raw.github.com/Ekito/maven-repo/master/releases/org/valkyriercp/valkyrie-rcp-core/1.0/valkyrie-rcp-core-1.0.jar

cmadsen commented 11 years ago

Ok.

My real problem is that I'm trying to make our nexus (1.5) repository proxy to https://raw.github.com/Ekito/maven-repo/master/releases and that does not seem to work.

ndeverge commented 11 years ago

I don't know the Nexus config, but you have to know that Maven repositories hosted on Github are not real Maven repositories, they are just some remotly accessible file systems. Look at the Nexus config if you can add the repository as some static content.

cmadsen commented 11 years ago

I managed to make it work with a proxy in nexus to https://raw.github.com/Ekito/maven-repo/master/releases and setting Download Remote Indexes to false.

ndeverge commented 11 years ago

Great ! Thanks for the feedback.