-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: how to compile hibernate-search-4.2.0
PostPosted: Fri Feb 01, 2013 3:47 am 
Regular
Regular

Joined: Fri Feb 04, 2011 8:34 pm
Posts: 66
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?
Thanks
Sam


Top
 Profile  
 
 Post subject: Re: how to compile hibernate-search-4.2.0
PostPosted: Fri Feb 01, 2013 7:02 am 
Hibernate Team
Hibernate Team

Joined: Fri Sep 09, 2011 3:18 am
Posts: 295
Hi,
I think you aren't using the maven JBoss repository

Have you tried to run it with the command:
mvn install -s settings-example.xml

If it works you can copy the configuration of the repository in the settings-example.xml in your $HOME/.m2/settings.xml
?


Top
 Profile  
 
 Post subject: Re: how to compile hibernate-search-4.2.0
PostPosted: Sat Feb 02, 2013 8:15 am 
Regular
Regular

Joined: Fri Feb 04, 2011 8:34 pm
Posts: 66
Great! That works.
Thanks very much.
Samuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.