Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 34813 invoked from network); 26 May 2004 07:13:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 May 2004 07:13:12 -0000 Received: (qmail 46854 invoked by uid 500); 26 May 2004 07:13:46 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 46788 invoked by uid 500); 26 May 2004 07:13:46 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 46746 invoked by uid 98); 26 May 2004 07:13:45 -0000 Received: from cziegeler@s-und-n.de by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(212.8.217.2):. Processed in 0.305544 secs); 26 May 2004 07:13:45 -0000 X-Qmail-Scanner-Mail-From: cziegeler@s-und-n.de via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(212.8.217.2):. Processed in 0.305544 secs) Received: from unknown (HELO mail.s-und-n.de) (212.8.217.2) by hermes.apache.org with SMTP; 26 May 2004 07:13:44 -0000 Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id B168819F57D for ; Wed, 26 May 2004 09:12:50 +0200 (CEST) Received: from hw0386 ([10.10.2.43]) by notes.sundn.de (Lotus Domino Release 6.5) with ESMTP id 2004052609042353-1182 ; Wed, 26 May 2004 09:04:23 +0200 From: "Carsten Ziegeler" To: Subject: RE: [VOTE] - Move Cocoon to Maven Date: Wed, 26 May 2004 09:12:39 +0200 Organization: S&N AG MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <40B37A05.5020800@apache.org> Thread-Index: AcRCd6DT8FJVaM04RhCx4MM2PdDF1wAdzHJA X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 6.5|September 26, 2003) at 26.05.2004 09:04:23, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 6.5|September 26, 2003) at 26.05.2004 09:04:24, Serialize complete at 26.05.2004 09:04:24 Message-ID: Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stefano Mazzocchi wrote: > > Carsten Ziegeler wrote: > > > Although the vote is over, just my 2 cents: > > > > Maven is a really useful tool *if* you know how to use it! I think > > most projects that tried to use Maven and failed did not > use it in the > > right way. Just look at the mess Avalon tried to do with Maven. > > If you want to use Maven, you have to use it the way Maven > tells you > > to do it. If you don't like this way, don't use Maven at all. > > > > But if you choose to go this road, you will benefit from > it. We moved > > several projects from Ant to Maven and have a lot of > advantages now. > > (There are some disadvantages of course, like only one source > > directory etc.) > > > > Anyways, using Maven for Cocoon *now* is near to impossible or we > > would loose all benefits Maven would provide us. If we > would have each > > block as a standalone sub project (aka real blocks) then we could > > benefit from Maven. > > Can you elaborate more on this? what would that give us? > In my opinion Maven has three advantages: 1. No need to write/maintain a build script anymore - everything "just works". Now I know that this might be a very optimistic view of Maven and many disagree. We switched several projects from Ant to Maven. Now we can use Maven out of the box, don't need to adjust the build script just to add new functionality. For example adding JUnit tests is just describing "here is my source directory containing the tests" and that's it. A good example is the Pluto project: first we had a very ugly ant script (80KB), that noone could really maintain and even worse it worked best on windows and didn't work on other OS. Now we simply use Maven and it works. 2. You describe the whole project: developers, mailing lists, repository etc. Everything about your project is at one central place. 3. The biggest advantage imho (and again this is my personal opinion - others might differ of course) are the different reports you get for free: code style checkings, metrics, test reports - you name it. When we switched one particalur porject we got for the first time metrics about our project and saw some potential problems in our code that we could then fix. Without Maven noone cared about such things - with Maven you start using them. And everything can be shown on your website (even deploying the website can be done by Maven). So summarizing: you start to use things that you haven't used before (perhaps because of being lazy) and in the end your project/code can benefit from these new things. Carsten