You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org> on 2006/03/08 17:06:41 UTC

[jira] Commented: (GERONIMO-1713) j2ee-builder module migration to Maven2

    [ http://issues.apache.org/jira/browse/GERONIMO-1713?page=comments#action_12369485 ] 

Anita Kulshreshtha commented on GERONIMO-1713:
----------------------------------------------

This jar is needed by tomcat-builder. The  j2ee-builder  module  sets a property to skip tests in pom.xml :
<maven.test.skip>true</maven.test.skip>
After removing this I get the following error - 

[INFO] [xmlbeans:xmlbeans {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 21 source files to D:\anita\geronimo\geronimo-1.1\modules\j2ee-builder
\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 6 source files to D:\anita\geronimo\geronimo-1.1\modules\j2ee-builder\
target\test-classes
[INFO] [surefire:test]
[INFO] Setting reports dir: D:\anita\geronimo\geronimo-1.1\modules\j2ee-builder\
target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
[surefire] Running org.apache.geronimo.j2ee.deployment.EARConfigBuilderTest
org.apache.maven.surefire.battery.assertion.BatteryTestFailedException: junit.fr
amework.TestSuite
        at org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBatt
ery.java:258)
        at org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.j
ava:216)
        at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBo
oter.java:304)
        at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:220)

        at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:368)

        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:415)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:531)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:472)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:451)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:303)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:270)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.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(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBatt
ery.java:242)
        ... 29 more
Caused by: java.lang.NullPointerException
        at org.apache.maven.surefire.report.ReporterManager.testFailed(ReporterM
anager.java:344)
        at org.apache.maven.surefire.report.ReporterManager.testError(ReporterMa
nager.java:334)
        at org.apache.maven.surefire.battery.TestListenerInvocationHandler.handl
eAddError(TestListenerInvocationHandler.java:151)
        at org.apache.maven.surefire.battery.TestListenerInvocationHandler.invok
e(TestListenerInvocationHandler.java:124)
        at $Proxy0.addError(Unknown Source)
        at junit.framework.TestResult.addError(TestResult.java:36)
        at junit.framework.TestResult.runProtected(TestResult.java:133)
        at junit.extensions.TestSetup.run(TestSetup.java:23)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        ... 34 more
BATTERY ABORTED
org.apache.maven.surefire.Surefire
org.apache.geronimo.j2ee.deployment.EARConfigBuilderTest
Exception encountered when invoking execute on a subsuite.
junit.framework.TestSuite
[surefire] Running org.apache.geronimo.j2ee.deployment.EJBRefContextTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] There are some test failure.
[INFO] -------------------------------------------------------------------------
---
[INFO] For more information, run Maven with the -e switch
[INFO] -------------------------------------------------------------------------
---
[INFO] Total time: 18 seconds
[INFO] Finished at: Wed Mar 08 10:53:14 EST 2006
[INFO] Final Memory: 9M/22M

> j2ee-builder module migration to Maven2
> ---------------------------------------
>
>          Key: GERONIMO-1713
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1713
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha

>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira