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/07 15:02:39 UTC

[jira] Created: (GERONIMO-1706) j2ee module migration to Maven2

j2ee module migration to Maven2
-------------------------------

         Key: GERONIMO-1706
         URL: http://issues.apache.org/jira/browse/GERONIMO-1706
     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


[jira] Updated: (GERONIMO-1706) Module migration to Maven2: j2ee

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1706?page=all ]

Prasad Kashyap updated GERONIMO-1706:
-------------------------------------

    Attachment: pom.xml

Pruned the dependency list.

> Module migration to Maven2: j2ee
> --------------------------------
>
>          Key: GERONIMO-1706
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1706
>      Project: Geronimo
>         Type: Sub-task
>   Components: buildsystem
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>  Attachments: pom.xml
>


-- 
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


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

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1706?page=comments#action_12369232 ] 

Anita Kulshreshtha commented on GERONIMO-1706:
----------------------------------------------

There are test failures in this module : 

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
[surefire] Running org.apache.geronimo.j2ee.j2eeobjectnames.NameFactoryTest
[surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.109 sec
[surefire] Running org.apache.geronimo.j2ee.management.DomainTest
[surefire] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.453 sec <<<<<<<< FAILURE !!
[surefire] Running org.apache.geronimo.j2ee.management.JVMTest
[surefire] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.031 sec <<<<<<<< FAILURE !!
[surefire] Running org.apache.geronimo.j2ee.management.ServerTest
[surefire] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.015 sec <<<<<<<< FAILURE !!
[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: 1 minute 2 seconds
[INFO] Finished at: Tue Mar 07 09:01:18 EST 2006
[INFO] Final Memory: 12M/22M
[INFO] ----------------------------------------------------------------------------


> j2ee module migration to Maven2
> -------------------------------
>
>          Key: GERONIMO-1706
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1706
>      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


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

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1706?page=comments#action_12369233 ] 

Anita Kulshreshtha commented on GERONIMO-1706:
----------------------------------------------

The management.DomainTest fails and leaves a kernel running behind, which causes all the other tests to fail  
-------------------------------------------------------------------------------
Battery: org.apache.geronimo.j2ee.management.DomainTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.485 sec 

testStandardInterface(org.apache.geronimo.j2ee.management.DomainTest)  Time elapsed: 0.469 sec  <<< ERROR!

[ stdout ] ---------------------------------------------------------------



[ stderr ] ---------------------------------------------------------------



[ stacktrace ] -----------------------------------------------------------

java.lang.NoClassDefFoundError: org/apache/geronimo/system/serverinfo/BasicServerInfo
	at org.apache.geronimo.j2ee.management.Abstract77Test.setUp(Abstract77Test.java:61)
	at org.apache.geronimo.j2ee.management.DomainTest.setUp(DomainTest.java:38)
	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 .......................................................................

> j2ee module migration to Maven2
> -------------------------------
>
>          Key: GERONIMO-1706
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1706
>      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


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

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1706?page=comments#action_12369245 ] 

Anita Kulshreshtha commented on GERONIMO-1706:
----------------------------------------------

Yes, you are right. The way to get around that is to build : 
cd modules/util            mvn install
cd ../system                  mvn -Dmaven.test.skip=true install
cd ..\j2ee                       mvn install 
After building the system, comment it out in the parent pom. 

    Here are the results :
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
[surefire] Running org.apache.geronimo.j2ee.j2eeobjectnames.NameFactoryTest
[surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.031 sec
[surefire] Running org.apache.geronimo.j2ee.management.DomainTest
[surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.89 sec
[surefire] Running org.apache.geronimo.j2ee.management.JVMTest
[surefire] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.234 sec
[surefire] Running org.apache.geronimo.j2ee.management.ServerTest
[surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.109 sec
[INFO] [jar:jar]
[INFO] Building jar: D:\anita\geronimo\geronimo-1.1\modules\j2ee\target\geronimo-j2ee-1.2-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing D:\anita\geronimo\geronimo-1.1\modules\j2ee\target\geronimo-j2ee-1.2-SNAPSHOT.jar to C:\Documents and
Settings\User\.m2\repository\org\apache\geronimo\geronimo-j2ee\1.2-SNAPSHOT\geronimo-j2ee-1.2-SNAPSHOT.jar
[INFO] [maven-one-plugin:install-maven-one-repository {execution: default}]
[INFO] Installing D:\anita\geronimo\geronimo-1.1\modules\j2ee\target\geronimo-j2ee-1.2-SNAPSHOT.jar to C:\Documents and
Settings\User\.maven\repository\org.apache.geronimo\jars\geronimo-j2ee-1.2-SNAPSHOT.jar
[INFO] ----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Tue Mar 07 10:16:44 EST 2006
[INFO] Final Memory: 7M/12M
[INFO] ----------------------------------------------------------------------------

> j2ee module migration to Maven2
> -------------------------------
>
>          Key: GERONIMO-1706
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1706
>      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


[jira] Commented: (GERONIMO-1706) Module migration to Maven2: j2ee

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1706?page=comments#action_12370927 ] 

Jacek Laskowski commented on GERONIMO-1706:
-------------------------------------------

Committed revision 386779. Please verify it works and report. Anything left here?

> Module migration to Maven2: j2ee
> --------------------------------
>
>          Key: GERONIMO-1706
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1706
>      Project: Geronimo
>         Type: Sub-task
>   Components: buildsystem
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>  Attachments: pom.xml, pruned-dep-j2ee.patch
>


-- 
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


[jira] Closed: (GERONIMO-1706) Module migration to Maven2: j2ee

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1706?page=all ]
     
Anita Kulshreshtha closed GERONIMO-1706:
----------------------------------------

    Fix Version: 1.2
     Resolution: Fixed

> Module migration to Maven2: j2ee
> --------------------------------
>
>          Key: GERONIMO-1706
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1706
>      Project: Geronimo
>         Type: Sub-task
>     Security: public(Regular issues) 
>   Components: buildsystem
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.2
>  Attachments: pom.xml, pruned-dep-j2ee.patch
>


-- 
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


[jira] Updated: (GERONIMO-1706) Module migration to Maven2: j2ee

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1706?page=all ]

Prasad Kashyap updated GERONIMO-1706:
-------------------------------------

      Component: buildsystem
        Summary: Module migration to Maven2: j2ee   (was: j2ee module migration to Maven2)
    Description: 
    Environment: 

> Module migration to Maven2: j2ee 
> ---------------------------------
>
>          Key: GERONIMO-1706
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1706
>      Project: Geronimo
>         Type: Sub-task
>   Components: buildsystem
>     Reporter: Anita Kulshreshtha
>     Assignee: 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


[jira] Assigned: (GERONIMO-1706) j2ee module migration to Maven2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1706?page=all ]

Anita Kulshreshtha reassigned GERONIMO-1706:
--------------------------------------------

    Assign To: Anita Kulshreshtha

The test failures were due to a kernel left behind by test failures in the system module.
This issue can be closed now. 

> j2ee module migration to Maven2
> -------------------------------
>
>          Key: GERONIMO-1706
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1706
>      Project: Geronimo
>         Type: Sub-task
>     Reporter: Anita Kulshreshtha
>     Assignee: 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


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

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1706?page=comments#action_12369239 ] 

Jacek Laskowski commented on GERONIMO-1706:
-------------------------------------------

Isn't it because the system module's jar is missing, which causes the failure of the server, but alas leaves it running?

> j2ee module migration to Maven2
> -------------------------------
>
>          Key: GERONIMO-1706
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1706
>      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


[jira] Updated: (GERONIMO-1706) Module migration to Maven2: j2ee

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1706?page=all ]

Prasad Kashyap updated GERONIMO-1706:
-------------------------------------

    Attachment: pruned-dep-j2ee.patch

Pruned dependencies list

> Module migration to Maven2: j2ee
> --------------------------------
>
>          Key: GERONIMO-1706
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1706
>      Project: Geronimo
>         Type: Sub-task
>   Components: buildsystem
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>  Attachments: pom.xml, pruned-dep-j2ee.patch
>


-- 
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


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

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1706?page=comments#action_12369248 ] 

Jacek Laskowski commented on GERONIMO-1706:
-------------------------------------------

It may happen during the migration when we don't specify the dependencies properly. Your example makes a good point that before we call the migration successful we'll need to remove all Geronimo's jars and try to build it again. It should not fail.

I think we can call the module migrated. Anita, could you confirm that so I can close it.

> j2ee module migration to Maven2
> -------------------------------
>
>          Key: GERONIMO-1706
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1706
>      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