Maven 3 and java.net Maven 1 artifacts

Recently I needed to debug some features on JOSSO. So I checked out the source and started to build the project. At some point, it starts to nag about it cannot resolve some artifact because it wants to download some dependency from java.net Maven/1 repository layout:

(http://download.java.net/maven/1): No connector available to access repository java.net

After a couple of hours of searching and trying different things, the workaround for me is to download Apache Maven 2 and use it to build the project. I originally tried building the source with Apache Maven 3. The point is that although the project may specify legacy option on some dependencies, it does not work with Apache Maven 3.

Leave a Reply

Your email address will not be published. Required fields are marked *