hi,<br>for time being you can add -Dmaven.test.failure.ignore=true parameter to build, that will tell maven, not to fail if one of the tests fail.<br>I would recommend you to use oracle's JDK6 for building, we are working on fixing build to work also on other jdks.<br>
<br>--<br>tomaz<br><br><div class="gmail_quote">On Thu, Aug 23, 2012 at 10:15 AM, MIMIFIR Pierre Jacques <span dir="ltr"><<a href="mailto:pierrejacques.mimifir@gmail.com" target="_blank">pierrejacques.mimifir@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Scott,<br>
<br>
Thanks for your reply. I had the same problems with ./build.sh clean<br>
install.<br>
<br>
Regards,<br>
mpj<br>
-----Message d'origine-----<br>
De : Scott Marlow [mailto:<a href="mailto:smarlow@redhat.com">smarlow@redhat.com</a>]<br>
Envoyé : jeudi 23 août 2012 04:54<br>
À : Pierre-Jacques MIMIFIR<br>
Cc : <a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
Objet : Re: [jboss-as7-dev] Need help: Build Failed<br>
<div class="HOEnZb"><div class="h5"><br>
Did you try a "./build.sh clean install"? After updating AS source, its<br>
good to do a clean build.<br>
<br>
On 08/22/2012 07:53 PM, Pierre-Jacques MIMIFIR wrote:<br>
> Hi All,<br>
> Today I was trying to build jboss7 release 7.1.2 on my FreeBSD box<br>
> with OpenJDK 1.6.<br>
> After a few moments of compiling task. I have on Error At: [INFO]<br>
> JBoss Application Server: Platform MBean integration FAILURE [1:31.627s].<br>
> ...<br>
> ERROR] Please refer to<br>
> /home/pierre/jbossas-jboss-as-fe5b783/platform-mbean/target/surefire-r<br>
> eports<br>
> for the individual test results.<br>
> ...<br>
> The message into the test file journal is: failure<br>
> message="thread-cpu-time-enabled is undefined"<br>
> type="junit.framework.AssertionFailedError">junit.fra<br>
> mework.AssertionFailedError: thread-cpu-time-enabled is undefined<br>
> at junit.framework.Assert.fail(Assert.java:50)<br>
> at junit.framework.Assert.assertTrue(Assert.java:20)<br>
> at<br>
> org.jboss.as.platform.mbean.PlatformMBeanResourceUnitTestCase.validate<br>
> Resource(PlatformMBeanResourceUn<br>
> itTestCase.java:595)<br>
> at<br>
> org.jboss.as.platform.mbean.PlatformMBeanResourceUnitTestCase.basicRes<br>
> ourceTest(PlatformMBeanResourceU<br>
> nitTestCase.java:563)<br>
> at<br>
> org.jboss.as.platform.mbean.PlatformMBeanResourceUnitTestCase.testThre<br>
> adingMXBean(PlatformMBeanResourc<br>
> eUnitTestCase.java:340)<br>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
> at<br>
><br>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57<br>
)<br>
> at<br>
><br>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl<br>
.java:43)<br>
> at java.lang.reflect.Method.invoke(Method.java:616)<br>
> at<br>
><br>
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.<br>
java:45)<br>
> at<br>
><br>
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.j<br>
ava:15)<br>
> at<br>
><br>
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.ja<br>
va:42)<br>
> at<br>
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMeth<br>
> od.java:20)<br>
><br>
> What does it mean by : thread-cpu-time-enabled ilèundefined.<br>
><br>
> It is a maven problem or a JVM ?<br>
><br>
> I will appreciate your help.<br>
><br>
> Thanks,<br>
> mpj<br>
><br>
><br>
> _______________________________________________<br>
> jboss-as7-dev mailing list<br>
> <a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
jboss-as7-dev mailing list<br>
<a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</div></div></blockquote></div><br>