Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 6365 invoked from network); 15 Dec 2008 23:44:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2008 23:44:53 -0000 Received: (qmail 89321 invoked by uid 500); 15 Dec 2008 23:45:05 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 89299 invoked by uid 500); 15 Dec 2008 23:45:05 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 89290 invoked by uid 99); 15 Dec 2008 23:45:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 15:45:05 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.63] (HELO smtp108.prem.mail.sp1.yahoo.com) (98.136.44.63) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 15 Dec 2008 23:44:43 +0000 Received: (qmail 41354 invoked from network); 15 Dec 2008 23:44:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=wv3kmNN3eJadbIUIJeScpbWEoDz5iULm1rV84wvozhiX/+xnRQP1KDROFVzQpFyj2PhG5qUpetWLY48JGXbH8oRnaTIp9lxnO926DYjyj6ABTSHEBOU40c4HxXfpr43Qzob6AW4sSxVOtdf8/q8FM8Qn908GLUSKDW8ny2Plza4= ; Received: from unknown (HELO ?10.11.55.45?) (david_jencks@76.76.148.215 with plain) by smtp108.prem.mail.sp1.yahoo.com with SMTP; 15 Dec 2008 23:44:22 -0000 X-YMail-OSG: Ty2REmwVM1koRM2z9FfvmcRA2fS9uDmt_aEqaBf1PnivPiAc__OFgpmefN9ic2qFZkvF9xo9d2r3byxZrMn8vkaPKi5EuTYNvv6UyCu7ssVsZn6hFJj2KCSuVoCxe0Mveb1R7hHPFmRror7.7jpI8wSSUfAhMqQwGOyhQGqvCd8le7AEk8rYbRN63ZpBS3kzGJpu8o7H5z5WSM9q7z4iqo0jK9ahHw-- X-Yahoo-Newman-Property: ymail-3 Message-Id: <3E6CD54C-DEB2-4277-A1C2-C44A8FDD9F5C@yahoo.com> From: David Jencks To: user@geronimo.apache.org In-Reply-To: <21022411.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: How to Use Maven with Geronimo J2EE project Date: Mon, 15 Dec 2008 15:44:20 -0800 References: <21007724.post@talk.nabble.com> <15C984C5-4BEF-458A-B29C-0321230C0273@yahoo.com> <21022411.post@talk.nabble.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org On Dec 15, 2008, at 1:25 PM, bongosdude wrote: > > Should I check out 2.2 dev trunk from this URL > > https://svn.apache.org/repos/asf/geronimo/server/trunk That's the url. We have not yet branched 2.2 away from trunk thanks david jencks > > > Can you provide SVN url where I can check out 2.2 dev? > > Thanks > > > djencks wrote: >> >> >> On Dec 15, 2008, at 12: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. >> >> I forgot that the framework plugin group is new to geronimo >> 2.2[SNAPSHOT], i.e. trunk. We're working on a release but it will be >> a few weeks yet. However the plugin groups make custom assemblies so >> much easier that you may want to work against trunk until 2.2 is >> actually out. >> >> thanks >> david jencks >> >>> >>> >>> 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. >>> >>>> >>>> >>>> 1. How can maven be used to generate geronimo*.xml and deployment >>>> artifacts? >>> >>> You need to write the geronimo plan yourself and put it under src/ >>> main/plan/plan.xml. I believe the easiest way to do this is the GEP >>> wizards, although there are some wizards in the admin console as >>> well. The car-maven-plugin is used to convert the plan + >>> application to a geronimo plugin. >>>> >>>> >>>> 2 What is geronimo plugin? I look at geronimo samples plugin (i.e. >>>> bank >>>> plugin), I did not see any geronimo*.xml artifact in EAR file. >>> >>> Javaee apps are not really supposed to have vendor specific plans >>> inside them starting with j2ee 1.4, you are supposed to use a >>> separate plan and jsr-88 to deploy the plan + app to a server. In >>> geronimo you can "pre-deploy" into a plugin that can then be >>> installed in any geronimo server. The samples are set up to build >>> an app, and then one (for ejb-only apps) or two (jetty/tomcat) >>> plugins and then (with the it profile) run a simple integration >>> test. >>>> >>>> >>>> 3. is there maven geronimo plugin that can generate geronimo*.xml >>>> file? Or >>>> we can create one and point maven to include geronimo*.xml in EAR >>>> file? >>> >>> The geronimo plan doesn't go in the application but is supplied >>> separately in the plugin project at src/main/plan/plan.xml >>> >>> Hope this helps, >>> david jencks >>> >>>> >>>> >>>> Thanks >>>> -Bongos >>>> >>>> ----- >>>> B Amigo:super: >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/How-to-Use-Maven-with-Geronimo-J2EE-project-tp21007724s134p21007724.html >>>> Sent from the Apache Geronimo - Users mailing list archive at >>>> Nabble.com. >>>> >>> >> >> >> > > > ----- > B Amigo:super: > -- > View this message in context: http://www.nabble.com/How-to-Use-Maven-with-Geronimo-J2EE-project-tp21007724s134p21022411.html > Sent from the Apache Geronimo - Users mailing list archive at > Nabble.com. >