6 Replies Latest reply on Apr 3, 2014 9:57 AM by Thomas Chang

    Problem by building the project "skeleton-plugin"

    Thomas Chang Newbie



      I am reading Heiko Rupps book "How to write a plugin for Jboss ON etc." According to the link in his article I've downloaded the source code "skeleton-plugin-1.0.0.GA.zip" form Plugins - Skeleton Plugin - RHQ - Project Documentation Editor.


      I haven't done anything and simply unzip the file and run it with mvn install. First I got error like:

      Caused by: org.apache.maven.wagon.authorization.AuthorizationException:

      Access denied to: http://repository.jboss.org/maven2/i18nlog/i18nlog/1.0.9/i18nlog-1.0.9.pom, ReasonPhrase:Forbidden.


      From this forum I know URL to the repository is old. The actually one is called https://repository.jboss.org/nexus/content/groups/public/


      I build the project again and goes further but I got another error like:

      Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException:

      Could not find artifact hibernate-annotations:hibernate-annotations:jar:3.2.1.GA in repository.jboss.org (https://repository.jboss.org/)


      I looked into the Index of /nexus/content/groups/public/ and in fact there is only hiberate but no hiberate-annotations.


      How to fix this problem?