Someone has changed the name of a test case.
One test case is excluded by default in the configuration.
I'm exclude the AES test case again in the pom.
You should be able to call mvn install without extra configuration.
Bernd
Craig McClanahan schrieb:
On 2/20/06, *Craig McClanahan* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
On 2/20/06, *Dennis Byrne* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
What do the reports say under commons\target\surefire-reports ?
Those were all changed over the weekend.
Interesting ... all 20 failures were security exceptions (one of
them below for an example). This is with Sun's JDK 1.4.2_10-b03) on
Linux. It works fine when you run under JDK 1.5.0_05.
Spoke too soon ... similar but different errors under JD 1.5.0_05 on Linux.
javax.faces.FacesException : java.security.InvalidKeyException: Illegal
key size
at org.apache.myfaces.util.StateUtils.encrypt(StateUtils.java:214)
at org.apache.myfaces.util.StateUtils.construct(StateUtils.java:164)
at
org.apache.myfaces.util.AbstractStateUtilsTest.testConstructionString(AbstractStateUtilsTest.java:65)
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 junit.framework.TestCase.runTest (TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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.battery.JUnitBattery.executeJUnit(JUnitBattery.java:230)
at org.apache.maven.surefire.battery.JUnitBattery.execute
(JUnitBattery.java:204)
at
org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:218)
at org.apache.maven.surefire.Surefire.run(Surefire.java:166)
at org.apache.maven.surefire.Surefire.run (Surefire.java:90)
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.SurefireBooter.runTestsInProcess(SurefireBooter.java:246)
at org.apache.maven.surefire.SurefireBooter.run
(SurefireBooter.java:195) at
org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:366)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:432)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:530)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(DefaultLifecycleExecutor.java:270)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
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: java.security.InvalidKeyException: Illegal key size
at javax.crypto.Cipher.a(DashoA12275)
at javax.crypto.Cipher.a (DashoA12275)
at javax.crypto.Cipher.a(DashoA12275)
at javax.crypto.Cipher.init(DashoA12275)
at javax.crypto.Cipher.init(DashoA12275)
at org.apache.myfaces.util.StateUtils.encrypt (StateUtils.java:206)
... 48 more
testConstruction(org.apache.myfaces.util.StateUtilsAES_CBCTest) Time
elapsed: 0.002 sec <<< ERROR!
Craig
--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333