-
Notifications
You must be signed in to change notification settings - Fork 33
Maven_Repositories
Alexey Valikov edited this page Aug 31, 2017
·
1 revision
Hyperjaxb3 uses the following Maven resporitories:
- http://repo1.maven.org/maven2/ - central Maven 2 repository.
- http://download.java.net/maven/2 - dev.java.net Maven 2 repository.
-
http://download.java.net/maven/1 - dev.java.net Maven 2 repository. Don't foget to specify
<layout>legacy</layout>
for this one. - http://repository.jboss.com/maven2 - JBoss Maven 2 repository.
In March 2009 there were some changes to the dev.java.net Maven 2 repository which may cause old builds fail with messages like:
The plugin 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin' does not exist or no valid version could be found.
Please see this post for more information about the change
If you're getting this, the problem may be that you have old repository URLs (like https:``//maven2-repository.dev.java.net/nonav/repository
or https:``//maven-repository.dev.java.net/nonav/repository
in your POMs. Make sure you're using the correct URLs:
<repositories>
<repository>
<id>maven2-repository.dev.java.net</id>
<url>http://download.java.net/maven/2</url>
</repository>
<repository>
<id>maven-repository.dev.java.net</id>
<url>http://download.java.net/maven/1</url>
<layout>legacy</layout>
</repository>
</repositories>
The same applies to pluginRepositories
.