resteasy的repository有关问题

resteasy的repository问题
用以前的1.x版本的resteasy,需要在pom.xml中添加

   <repository>
      <id>jboss</id>
      <url>http://repository.jboss.org/maven2</url>
   </repository>

但现在resteasy到了2.x版本,需要把repository修改成

  <repository>
   <id>JBoss repository</id>
    <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
  </repository>