EarAssemblerTest failure
------------------------

                 Key: PLUTO-390
                 URL: https://issues.apache.org/jira/browse/PLUTO-390
             Project: Pluto
          Issue Type: Bug
          Components: descriptor
         Environment: Daniel Larsen's environment:
Maven version: 2.0.7
Java version: 1.5.0_12
OS name: "windows xp" version: "5.1" arch: "x86" 

Craig's environment:
Maven 2.0.6 and Java 1.5.0_11 
on Windows XP.
            Reporter: Elliot Metsger
            Assignee: Elliot Metsger
            Priority: Minor
             Fix For: 1.2.0


>From Daniel Larsen:

Here is the contents of
pluto-util/target/surefire-reports/org.apache.pluto.util.assemble.ear.EarAssemblerTest.txt

-------------------------------------------------------------------------------
Test set: org.apache.pluto.util.assemble.ear.EarAssemblerTest
-------------------------------------------------------------------------------
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.954
sec <<< FAILURE!
testEarAssemblyInPlace(org.apache.pluto.util.assemble.ear.EarAssemblerTest)
Time elapsed: 0.187 sec  <<< FAILURE!
junit.framework.AssertionFailedError: WAR archive did not contain any servlets
    at junit.framework.Assert.fail(Assert.java:47)
    at junit.framework.Assert.assertTrue(Assert.java:20)
    at 
org.apache.pluto.util.assemble.ear.EarAssemblerTest.validateEarAssembly(EarAssemblerTest.java:125)
    at 
org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
    at 
org.apache.pluto.util.assemble.ear.EarAssemblerTest.testEarAssemblyInPlace(EarAssemblerTest.java:81)
    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:164)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    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:120)
    at junit.framework.TestSuite.runTest(TestSuite.java:230)
    at junit.framework.TestSuite.run(TestSuite.java:225)
    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:138)
    at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
    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:290)
    at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to