1 Reply Latest reply on Feb 1, 2013 5:21 AM by Nicklas Karlsson

    Failed to compile hibernate-search-4.2.0

    Sam W Expert

      Hi I want to test org.hibernate.search.test.spatial package for hibernate-seasrch-4.2.0 final.

      But I encountered the following error exception:


      Quote:

      [INFO] Hibernate Search Aggregator ....................... SUCCESS [7.686s]
      [INFO] Hibernate Search Analyzer Framework ............... SUCCESS [4.973s]
      [INFO] Hibernate Search Engine ........................... FAILURE [0.236s]
      [INFO] Hibernate Search ORM .............................. SKIPPED
      [INFO] Hibernate Search .................................. SKIPPED
      [INFO] Hibernate Search Testing .......................... SKIPPED
      [INFO] Hibernate Search Infinispan Backend ............... SKIPPED
      [INFO] Hibernate Search Quickstart ....................... SKIPPED
      [INFO] Hibernate Search Module ........................... SKIPPED
      [INFO] Hibernate Search Integration and Performance Tests SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 18.565s
      [INFO] Finished at: Fri Feb 01 18:37:05 EST 2013
      [INFO] Final Memory: 7M/16M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Plugin org.jboss.maven.plugins:maven-injection-plugin:1.0.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.jboss.maven.plugins:maven-injection-plugin:jar:1.0.2: Failure to find org.jboss.maven.plugins:maven-injection-plugin:pom:1.0.2 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException



      What should I do in order to get it to compile?

       

      Any suggestion is very appreicated

      Sam