Is the SVN trunk broken or i am doing something wrong .. have been trying to build the core package since yesterday .. one of the test always fails with the following error
Code:
org.apache.maven.BuildFailureException: There are test failures.
Please refer to ../workspace/hibernate-core/testsuite/target/surefire-reports for the individual test results.
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
And if i execute maven with the option skip test set to true mvn -Dmaven.test.skip=true instal then it shouts about some missing jar file in the jboss maven repository
Code:
Downloading: http://repository.jboss.com/maven2/org/slf4j/jcl-over-slf4j/1.4.2/jcl-over-slf4j-1.4.2.pom
Downloading: http://snapshots.jboss.org/maven2/org/slf4j/jcl-over-slf4j/1.4.2/jcl-over-slf4j-1.4.2.pom
Downloading: http://repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/1.4.2/jcl-over-slf4j-1.4.2.pom
Downloading: http://repository.jboss.com/maven2/org/slf4j/jcl-over-slf4j/1.4.2/jcl-over-slf4j-1.4.2.jar
Downloading: http://snapshots.jboss.org/maven2/org/slf4j/jcl-over-slf4j/1.4.2/jcl-over-slf4j-1.4.2.jar
Downloading: http://repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/1.4.2/jcl-over-slf4j-1.4.2.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.slf4j:jcl-over-slf4j:jar:1.4.2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.slf4j -DartifactId=jcl-over-slf4j -Dversion=1.4.2 -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.slf4j -DartifactId=jcl-over-slf4j -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.hibernate:hibernate-tutorials:pom:3.4.0-SNAPSHOT
2) org.slf4j:jcl-over-slf4j:jar:1.4.2
----------
1 required artifact is missing.
for artifact:
org.hibernate:hibernate-tutorials:pom:3.4.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
jboss-snapshot (http://snapshots.jboss.org/maven2),
jboss (http://repository.jboss.com/maven2)