When I try to build shale at the root level (i.e. building all subprojects) I get an error trying to build shale-core. It throws a NoClassDefFoundError on ViewExpiredException (see error below). It appears I'm somehow using a JSF 1.1 implementation. How should I go about building with a JSF 1.2? I'm on Mac OSX Tiger so I figured the jdk 1.5 profile would fire.
Thanks, Greg Error messages: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.shale.util.TokenProcessorTestCase Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.703 sec <<< FAILURE! Running org.apache.shale.util.ConverterHelperTestCase Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.094 sec <<< FAILURE! Running org.apache.shale.util.MessagesTestCase Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.135 sec <<< FAILURE! Running org.apache.shale.util.LoadBundleTestCase Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.127 sec <<< FAILURE! Results : Tests in error: testPristine(org.apache.shale.util.TokenProcessorTestCase) testMultiple(org.apache.shale.util.TokenProcessorTestCase) testMessagePropertyOverride(org.apache.shale.util.TokenProcessorTestCase) testMessageFacesConfigBundleOverride(org.apache.shale.util.TokenProcessorTestCase) testMessageDefault(org.apache.shale.util.TokenProcessorTestCase) testNullViewRoot(org.apache.shale.util.ConverterHelperTestCase) testEngish(org.apache.shale.util.MessagesTestCase) testFrench(org.apache.shale.util.MessagesTestCase) testPristine(org.apache.shale.util.MessagesTestCase) testEngish(org.apache.shale.util.LoadBundleTestCase) testFrench(org.apache.shale.util.LoadBundleTestCase) testPristine(org.apache.shale.util.LoadBundleTestCase) Tests run: 12, Failures: 0, Errors: 12, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. One of the surefire reports has this: java.lang.NoClassDefFoundError: javax/faces/application/ViewExpiredException at org.apache.shale.test.mock.lifecycle.MockLifecycle.<init>(MockLifecycle.java:52) at org.apache.shale.test.mock.lifecycle.MockLifecycleFactory.<init>(MockLifecycleFactory.java:45) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at javax.faces.FactoryFinder.newFactoryInstance(FactoryFinder.java:138) at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:107) at org.apache.shale.test.base.AbstractJsfTestCase.setUp(AbstractJsfTestCase.java:125) at org.apache.shale.util.TokenProcessorTestCase.setUp(TokenProcessorTestCase.java:61) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) 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.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)