It is configurable, and should be, just like the src and test directories. If it isn't, I don't see how one can 'easily' transform an ant project to maven without jumping through hoops.

Is there any particular and good reason why you want to change it?

By using this setting, it is easier to be the 'lone gunman' on a project using maven, while the rest 'still' uses ant.


Isn't it better to use what everybody else is using?

That is what everybody keeps telling me when I say I use maven and they use ant. The one strength of maven I liked is that it is easy to tailor into conforming to an existing (ant) build. One of these things is the maven.build.dir. On a number of occasions I've transformed this into 'build' instead of 'target'.


BTW, I haven't found any plugins yet who ignore this setting. The following are the ones I use regularly:
- eclipse - xdoc - site
- java - jar - war
- ear - artifact - test
- clover - simian - multiproject
- javadoc - dist - createjarbundle
- changes - faq - scm


Martijn

Maczka Michal wrote:

-----Original Message-----
From: Gisbert Amm [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 17, 2005 11:36 AM
To: Maven Users List
Subject: Re: How to configure the name of the target directory?


Yes, maven.build.dir is exactly what I was looking for. Sorry for bothering you with a RTFM question. I had somehow overseen it (not yet fully waken up, I suppose ;-)


Thanks,
Gisbert

Hey



I think it won't be that wise to change it.

I bet it is so commonly used now that some plugins may have hardcoded paths
which are using target directory.
Is there any particular and good reason why you want to change it? Isn't it better to use what everybody else is using?



Michal

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to