Re: maven roadmap - should i stay or should i go

2005-03-24 Thread Brett Porter
Vincent has pretty well summed it up. I will try to clarify the document. Though the basic concepts are the same, Maven 2.x is really quite different, and it will require some work to move a project over to it. How much depends on how heavily you customise your Maven 1.x project - if you stick to

Re: maven roadmap - should i stay or should i go

2005-03-24 Thread Serge Huber
Brett Porter wrote: Vincent has pretty well summed it up. I will try to clarify the document. Though the basic concepts are the same, Maven 2.x is really quite different, and it will require some work to move a project over to it. How much depends on how heavily you customise your Maven 1.x

Re: maven roadmap - should i stay or should i go

2005-03-24 Thread Brett Porter
Arg I want Maven 2 now :) Be patient, good things come to those who wait :) Just kidding, keep up the great work guys, but it's a long wait to Maven 2 it seems. Can you enlighten us as to the major road blocks you're encountering with Maven 2 ? It has almost entirely been available time

How to distinguish compile, test and runtime dependency?

2005-03-24 Thread =?ISO-8859-2?Q?Libor_Kramoli=B9?=
Hello. Image I work on webapp ABC. The application connects to XYZ database and use JUnit for testing. Now I have to specify dependency on jdbc2_0-stdext.jar, jdbc-xyz.jar and junit.jar. And now I would like to say SRC is compiled just with jdbc2_0-stdext.jar (I do not want to have

Re: How to distinguish compile, test and runtime dependency?

2005-03-24 Thread Andrew Thornton
Libor Kramoli wrote: Image I work on webapp ABC. The application connects to XYZ database and use JUnit for testing. Now I have to specify dependency on jdbc2_0-stdext.jar, jdbc-xyz.jar and junit.jar. And now I would like to say SRC is compiled just with jdbc2_0-stdext.jar (I do not want to

Log file creation

2005-03-24 Thread GOKULAM Jayaram
Hi all, I am trying to create a log file when a java compile fails, or when a deployment fails and so on. Can anybody help me how I should achieve this please. Thanks in advance, Jayaram Confidentiality Statement: This message is intended only for the individual or entity to which it is

RE: Log file creation

2005-03-24 Thread Deblauwe, Wim
redirect the output to a file: maven jar:compile debug.txt if you need to catch the stderr output as well: maven jar:compile debug.txt 21 regards, Wim P.S.: This is on Windows ofcourse -Original Message- From: GOKULAM Jayaram [mailto:[EMAIL PROTECTED] Sent: donderdag 24 maart 2005

RE: Log file creation

2005-03-24 Thread GOKULAM Jayaram
Thanks Deblauwe. But am calling java:compile from within maven.xml file. My maven.xml file looks like project default=build xmlns:j=jelly:core xmlns:maven=jelly:maven xmlns:ant=jelly:ant goal name=nec:go prereqs=scm:cvs-checkout-project,java:compile,jar:jar,war:war,rar:rar,e

RE: Log file creation

2005-03-24 Thread Vincent Massol
You can use the Ant record task but it'll log only the Ant tasks used by Maven (javac being one of them). Check the Ant manual for more details. -Vincent -Original Message- From: GOKULAM Jayaram [mailto:[EMAIL PROTECTED] Sent: jeudi 24 mars 2005 11:07 To: Maven Users List Subject:

Re: Problem deploying to remote repository an artifact that already exists

2005-03-24 Thread Kenney Westerhof
On Wed, 23 Mar 2005, Craig S. Cottingham wrote: According to the FTP message it seems your FTP server is configured not to allow file overwrites (if this were a simple file permission issue, the message would probably say 'Permission Denied'). This is most common when using anonymous ftp

Re: maven roadmap - should i stay or should i go

2005-03-24 Thread Steve Molloy
Huh... Exactly how much trouble are we talking about to switch custom plugins and such??? Is Jelly replaced? And if so, with what and why? Does it mean all the custom stuff I'm currently implementing will be thrown out if I upgrade to 2.x when it comes out? I'd like my stuff to be in production

Re: maven roadmap - should i stay or should i go

2005-03-24 Thread Nicolas Chalumeau
All old plugin in jelly will be suported. As far I know the trouble will be with all the goal you have in your maven.xml as (I am maybe wrong) this file not be use in M2 Nicolas On Thu, 24 Mar 2005 08:39:49 -0500, Steve Molloy [EMAIL PROTECTED] wrote: Huh... Exactly how much trouble are we

Re: maven roadmap - should i stay or should i go

2005-03-24 Thread Brett Porter
Huh... Exactly how much trouble are we talking about to switch custom plugins and such??? Is Jelly replaced? Yes, though we are trying hard to put in a replacement that can transparently run old Jelly scripts with minimal changes. Part of the problem is that people have come to rely on bugs in

Re: maven roadmap - should i stay or should i go

2005-03-24 Thread Steve Molloy
OK, that is usually simple stuff anyway. Thanks for the relief... Steve On Thu, 2005-24-03 at 14:47 +0100, Nicolas Chalumeau wrote: All old plugin in jelly will be suported. As far I know the trouble will be with all the goal you have in your maven.xml as (I am maybe wrong) this file

Re: maven roadmap - should i stay or should i go

2005-03-24 Thread Serge Huber
I once got the great advice from a MevenIDE developer that I should keep the maven.xml file to a strict minimum, and develop plugins mostly using Java classes. I've used that advice well, and it looks like at least for me, migrating to Maven 2 wouldn't be too much of a problem. Maybe this

Re: maven roadmap - should i stay or should i go

2005-03-24 Thread Brett Porter
http://maven.apache.org/using/bestpractices.html#Scripting On Thu, 24 Mar 2005 15:02:15 +0100, Serge Huber [EMAIL PROTECTED] wrote: I once got the great advice from a MevenIDE developer that I should keep the maven.xml file to a strict minimum, and develop plugins mostly using Java classes.

Re: maven roadmap - should i stay or should i go

2005-03-24 Thread Serge Huber
Brett Porter wrote: http://maven.apache.org/using/bestpractices.html#Scripting Oops sorry... I didn't check out the new content yet :) Regards, Serge Huber. On Thu, 24 Mar 2005 15:02:15 +0100, Serge Huber [EMAIL PROTECTED] wrote: I once got the great advice from a MevenIDE developer that I

Re: maven roadmap - should i stay or should i go

2005-03-24 Thread Milos Kleint
I've added a maven plugin project template into Mevenide for Netbeans. It creates a project with plugin files, you have code completion in the plugin.jelly file etc. Regards Milos Kleint Brett Porter wrote: http://maven.apache.org/using/bestpractices.html#Scripting On Thu, 24 Mar 2005 15:02:15

How to : Build non-java artifacts ?

2005-03-24 Thread Ha ryon
Hi, Instead of reinventing a build system, I am currently trying to use maven concepts and engines to compile and document non-java projects. In the instance, I'm working on building up NWN (Neverwinter Nights : a computer game) custom content package add-ons. The 'sources' are xml files, 3D

Avoid tests being run twice when deploying

2005-03-24 Thread Deblauwe, Wim
Hi, During the night, I would like to build all my modules. Since a module might depend on a change made in another module during that day, I want to deploy a snapshot version to our server repository. Using the multiproject plugin, I call the following goals: maven clean site jar:deploy This

RE: Generate Download Page ?

2005-03-24 Thread Vincent Massol
Yes, there is a trick :-) 1/ You need to define the following property: # Location where the artifacts are distributed. This property is optional. # If it is not defined, then the Download report will not be added to the # navigation menu. # NOTE: In the future this information will be

Ear plugin and multiproject

2005-03-24 Thread Daniel Or
Hi. I have an ear project that has additional resource (the resource should get into the META-INF dir). I have specified maven.ear.src and maven.ear.resources. When I run maven only for this project I get the resource into the ear. When I run it as a part of multiproject it doesn't get into

Re: Generate Download Page ?

2005-03-24 Thread Ha ryon
ahah ! cool, thanks a lot. On Thu, 24 Mar 2005 17:30:31 +0100, Vincent Massol [EMAIL PROTECTED] wrote: Yes, there is a trick :-) 1/ You need to define the following property: # Location where the artifacts are distributed. This property is optional. # If it is not defined, then the

sequence of prereqs in maven.xml file

2005-03-24 Thread GOKULAM Jayaram
Hi, I have been trying to keep my maven.xml file in the following manner. project default=build xmlns:j=jelly:core xmlns:maven=jelly:maven xmlns:ant=jelly:ant goal name=nec:go prereqs=scm:cvs-checkout-project,java:compile,dashboard:report,xdoc /goal /project But am getting a weird