I am trying to build hibernate from source, and get a maven dependency error. Can anyone point me to directions that will really work for building hibernate?
Here is the page from which I am following the directions
http://www.hibernate.org/sourcecode.htmlI've cut and paste'd the maven repository and plugins settings into my .m2/settings.xml. Then while running mvn clean install a jar file can not be found from the nexus.
[INFO] Installing C:\java\hibernateCore\332ga\Branch_3_3_2_GA_CP\parent\pom.xml to C:\Documents and
Settings\Administrator\.m2\repository\org\hibernate\hibernate-parent\3.3.2.GA_CP02\hibernate-parent-
3.3.2.GA_CP02.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Hibernate Core
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
Downloading:
http://repository.jboss.com/maven2/java ... 12.0.GA.pom
[INFO] Unable to find resource 'javassist:javassist:pom:3.12.0.GA' in repository jboss (
http://repository.jboss.com/maven2)
Downloading:
http://repo1.maven.org/maven2/javassist ... 2.0.GA.pom[INFO] Unable to find resource 'javassist:javassist:pom:3.12.0.GA' in repository central (
http://repo1.maven.org/maven2)
Downloading:
http://repository.jboss.com/maven2/java ... 12.0.GA.jar
[INFO] Unable to find resource 'javassist:javassist:jar:3.12.0.GA' in repository jboss (
http://repository.jboss.com/maven2)
Downloading:
http://repo1.maven.org/maven2/javassist ... 2.0.GA.jar[INFO] Unable to find resource 'javassist:javassist:jar:3.12.0.GA' in repository central (
http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) 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 -Dversion=3.12.0.GA -Dpack
aging=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 -Dversion=3.12.0.GA -Dpackag
ing=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.hibernate:hibernate-core:jar:3.3.2.GA_CP02
2) javassist:javassist:jar:3.12.0.GA
----------
1 required artifact is missing.
for artifact:
org.hibernate:hibernate-core:jar:3.3.2.GA_CP02
from the specified remote repositories:
jboss-snapshot (
http://snapshots.jboss.org/maven2),
central (
http://repo1.maven.org/maven2),
jboss (
http://repository.jboss.com/maven2)