编译 Hibernate 需要使用的 settings.xml 文件

因为编译 Hibernate 的时候需要使用 JBoss 的远程仓库。

可以通过修改 settings.xml 来让 Maven 识别远程仓库。

建议使用下面内容来覆盖掉你本地的 setting.xml 配置文件。[code]


repos


<jdk16_home>/opt/java/jdk-1.6</jdk16_home>




jboss
http://repository.jboss.com/maven2

true


false
never



jboss-snapshot
http://snapshots.jboss.org/maven2

false


true






jboss-plugins
http://repository.jboss.com/maven2

true


false



jboss-snapshot-plugins
http://snapshots.jboss.org/maven2

false


true
never




repos [/code]