Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 46915 invoked from network); 8 Feb 2006 22:07:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Feb 2006 22:07:30 -0000 Received: (qmail 54049 invoked by uid 500); 8 Feb 2006 22:07:24 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 54032 invoked by uid 500); 8 Feb 2006 22:07:24 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 54020 invoked by uid 99); 8 Feb 2006 22:07:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2006 14:07:24 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [159.53.36.120] (HELO sf7.svr.bankone.net) (159.53.36.120) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2006 14:07:22 -0800 Received: from se6.svr.bankone.net (se6.svr.bankone.net [155.180.234.127]) by sf7.svr.bankone.net (Switch-3.1.7/Switch-3.1.7) with ESMTP id k18MUDr8027031 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Wed, 8 Feb 2006 17:30:13 -0500 Received: from svr.bankone.net (cssnat232.bankone.net [172.18.0.232]) by se6.svr.bankone.net (Switch-3.1.7/Switch-3.1.7) with ESMTP id k18M6wZB004690 for ; Wed, 8 Feb 2006 17:06:58 -0500 Received: from ([10.21.212.166]) by imf1.svr.bankone.net with ESMTP id KP-BRATB.24797283; Wed, 08 Feb 2006 17:06:31 -0500 In-Reply-To: <20060208210628.GA14625@interware.hu> Subject: Re: Deploying Cocoon Projects w/ Maven 2 To: users@cocoon.apache.org X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 Message-ID: From: ian.d.stewart@jpmchase.com Date: Wed, 8 Feb 2006 17:06:44 -0500 X-MIMETrack: Serialize by Router on MIUSMF007/JPMCHASE(Release 6.5.3|September 14, 2004) at 02/08/2006 05:06:31 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Zsolt, Thanks for the reply. Unfortunately, we have multiple projects using the Cocoon servlet, so packaging the Cocoon project inside cocoon.war and redeploying isn't really an option. I guess it's time to start digging into the Maven development docs... Thanks, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 Zsolt Czinkos cc: Subject: Re: Deploying Cocoon Projects w/ Maven 2 02/08/2006 04:06 PM Please respond to users Hi I've just stareted working with cocoon and maven, and I found these pages, which helped me: http://maven.apache.org/general.html#scope-provided http://maven.apache.org/guides/mini/guide-webapp.html You can create a webapp archetyped project, and set dependencies. Cocoon is in the maven2 repository. (I haven't finished setting up the maven environment, so probably it's not that simple, but this is the way, I follow) czinkos On Wed, Feb 08, 2006 at 11:52:29AM -0500, ian.d.stewart@jpmchase.com wrote: > I'm currently in the process of setting up a Cocoon project to use Maven 2 > to automate the build process. I'm now at the stage where I have built and > package the source and am ready to deploy the resulting artifacts to our > Cocoon environment. We have multiple projects running in this environment, > so just redeploying the Cocoon WAR is not an option. > > Ideally, what I would like to be able to do is something like: > > mvn cocoon:deploy > > Which would install JAR's created during the packaging step under > $CATALINA_BASE/webapps/cocoon/WEB-INF/lib and install the content > (sitemap.xmap, views, CForm's, etc) into a subdirectory under > $CATALINA_BASE/webapps/cocoon. > > Is this something that could feasibly be done using Maven 2? If so, are > there any resources (plugins, howtos, etc) that I could consult to enable > this? > > > Thanks, > Ian > > It's better to be hated for who you are > than loved for who you are not > > Ian D. Stewart > Appl Dev Analyst-Advisory, DCS Automation > JPMorganChase Global Technology Infrastructure > Phone: (614) 244-2564 > Pager: (888) 260-0078 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org