出现一个包未注册的情况。[code][INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
- javassist:javassist:jar:3.12.0.GA
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=javassist -DartifactId=javassist -Dvers
ion=3.12.0.GA -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=javassist -DartifactId=javassist -Dversio
n=3.12.0.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.hibernate:hibernate-core:jar:3.6.0-SNAPSHOT
2) javassist:javassist:jar:3.12.0.GA
1 required artifact is missing.
for artifact:
org.hibernate:hibernate-core:jar:3.6.0-SNAPSHOT
from the specified remote repositories:
jboss-releases (http://repository.jboss.org/maven2),
central (http://repo1.maven.org/maven2),
jboss-snapshots (http://snapshots.jboss.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Wed Jun 23 16:51:30 EDT 2010
[INFO] Final Memory: 29M/51M
[INFO] ------------------------------------------------------------------------
D:\workdir\OSS\hibernate>[/code]