When i try with mvn install on hibernate search source ,i have this error in a eclipse console:
(i have jdk 1.6_17 ,maven 2.2.1,windows vista o.s. and i have follow instruction for compile here:https://www.hibernate.org/462.html#A6)
Thanks,
alex.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building A custom project
[INFO]
[INFO] Id: org.hibernate:hibernate-search-quickstart:jar:3.2.0-SNAPSHOT
[INFO] task-segment: [test]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
url =
http://repo1.maven.org/maven2Downloading:
http://repo1.maven.org/maven2/org/hiber ... Beta-4.pomurl =
http://repo1.maven.org/maven2Downloading:
http://repo1.maven.org/maven2/org/hiber ... Beta-4.jar[ERROR]
Transitive dependency resolution for scope: compile has failed for your project.
Error message: Missing:
----------
1) org.hibernate:hibernate-search:jar:3.2.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-search -Dversion=3.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.hibernate -DartifactId=hibernate-search -Dversion=3.2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.hibernate:hibernate-search-quickstart:jar:3.2.0-SNAPSHOT
2) org.hibernate:hibernate-search:jar:3.2.0-SNAPSHOT
2) org.hibernate:hibernate-entitymanager:jar:3.5.0-Beta-4
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-entitymanager -Dversion=3.5.0-Beta-4 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.hibernate -DartifactId=hibernate-entitymanager -Dversion=3.5.0-Beta-4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.hibernate:hibernate-search-quickstart:jar:3.2.0-SNAPSHOT
2) org.hibernate:hibernate-entitymanager:jar:3.5.0-Beta-4
----------
2 required artifacts are missing.
for artifact:
org.hibernate:hibernate-search-quickstart:jar:3.2.0-SNAPSHOT
from the specified remote repositories:
central (
http://repo1.maven.org/maven2)
Group-Id: org.hibernate
Artifact-Id: hibernate-search-quickstart
Version: 3.2.0-SNAPSHOT
From file: C:\eclipse\workspace\hibernate-search-archetype\pom.xml
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Mon Feb 15 19:19:23 CET 2010
[INFO] Final Memory: 2M/10M
[INFO] ------------------------------------------------------------------------