geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bongosdude <bongosd...@gmail.com>
Subject Re: How to Use Maven with Geronimo J2EE project
Date Thu, 18 Dec 2008 02:30:09 GMT


The build from the trunk is failed with error. I have to try again another
day. Hope that these bugs are fixed by then.

INFO] The following tests failed:
[INFO]     * webservices-testsuite/jaxws-provider-tests -
/Users/Dad/Documents/opensource/geronimo-trunk-2.2/testsuite/webservices-testsuite/jaxws-provider-tests/build.log
[INFO]     * webservices-testsuite/jaxws-tests -
/Users/Dad/Documents/opensource/geronimo-trunk-2.2/testsuite/webservices-testsuite/jaxws-tests/build.log
[INFO]     * webservices-testsuite/jaxws-wsa-tests -
/Users/Dad/Documents/opensource/geronimo-trunk-2.2/testsuite/webservices-testsuite/jaxws-wsa-tests/build.log
[INFO]     * webservices-testsuite/saaj-tests -
/Users/Dad/Documents/opensource/geronimo-trunk-2.2/testsuite/webservices-testsuite/saaj-tests/build.log
[INFO]     * webservices-testsuite/stax-tests -
/Users/Dad/Documents/opensource/geronimo-trunk-2.2/testsuite/webservices-testsuite/stax-tests/build.log
[INFO] 
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] 5 of 35 tests failed
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 123 minutes 17 seconds
[INFO] Finished at: Wed Dec 17 20:48:06 EST 2008
[INFO] Final Memory: 385M/747M
[INFO]
------------------------------------------------------------------------


Kevan Miller wrote:
> 
> 
> On Dec 15, 2008, at 3:10 AM, David Jencks wrote:
> 
>>
>> On Dec 14, 2008, at 7:17 PM, bongosdude wrote:
>>
>>>
>>> I would lile to use maven to mange our project build/deploy during
>>> development, QA and production release. Maven is good at managing
>>> dependencies. While GEP can get us up to speed in development, it  
>>> is tricky
>>> to manage dependency using eclipse among team members. I have tried  
>>> to read
>>> geronimo sample to see how maven is used to build and deploy geronimo
>>> sample. However, I could not find out how maven is used with  
>>> gernonimo.
>>>
>>> Can someone help to explain or give me suggestions on how I can  
>>> learn more
>>> on this subject?
>>
>> 0. For team-wide access set up a team accessible maven repository.   
>> I've demoed this using sonatype nexus which works great but you can  
>> also set up httpd or presumably a lot of other things.
>>
>> 1. set up a maven project for each of your apps to use the geronimo  
>> car-maven-plugin to "pre-deploy" your application into a geronimo  
>> plugin. Deploy it into the team-wide maven repository (configure the  
>> deploymenManagement of your pom to point to the team repo)
>>
>> 2. set up a maven  project to assemble a custom server, again using  
>> the car-maven-plugin.  Include the framework plugin group and your  
>> apps and any optional stuff from geronimo you might want such as  
>> parts of the admin console.  Everything else needed will be pulled  
>> in too.
>>
>> 3. After deploying the assembled server it too will be available  
>> from the shared repo.
>>
>> There are a couple geronimo archetypes to help setting up these  
>> maven projects but they are rather primitive and dont use the new  
>> archetype plugin features.... they still might help.
>> geronimo-plugin-archetype sets up a plugin project
>> geronimo-assembly-archetype sets up a custom server assembly project.
>>
>> Perhaps the simplest example of all this in action is in geronimo  
>> trunk in the plugins/monitoring console: along with the base code,  
>> and the monitoring console portal application, we build plugins for  
>> the app and a server containing the monitoring console and run a  
>> simple integration test.
> 
> Just going to point out that this is not the *only* technique of using  
> maven with Geronimo. You can also build your application, and deploy  
> it (using maven or using Geronimo administrative commands). Building a  
> customized server is certainly a nice feature. However, it's not the  
> only option...
> 
> This would be a nice documentation project for someone...
> 
> --kevan
> 
> 


-----
B Amigo:super:
-- 
View this message in context: http://www.nabble.com/How-to-Use-Maven-with-Geronimo-J2EE-project-tp21007724s134p21065882.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message