Jean-Pierre Sevigny wrote:

Hi,

Salut,

I am trying to set up our build environment using Maven. We are currently
using an internally developped build
tool, but i am evaluating Maven as we are thinking of having an easier build
process.

I have a few issues, but again i am not that experienced with Maven and Ant,
and maybe you have some answers.

1) We already have our jars stored on a server, but not as the Maven
structure ( product/jars/product.jar). Is this
structure configurable ? I tried setting the <jar> tag without success...

I don't believe it is supported yet, but it is a feature
that many people asked, so it might be possible in a
+/- near future.

2) It's kind of annoying having to list the dependencies at several places,
i.e. in the build.xml, project.xml, etc.
What i would like is having them listed say, in dep.list, (just plainly
listed, not under <dependencies>..). Can this
be done ? (I'm thinking about writing a "mavenize" target, that will
generate the <dependencies> tags.., but is this already
done ?).

You only have to set them in project.xml.
The build.xml file is generated using "maven ant",
and the dependencies listed there are from the project.xml.

"maven ant" is a backward compatibility tool, so that
people can still use plain Ant with mavenized projects.
The build.xml file is never used.

3) Do projects having dependencies which themselves depend on common
dependencies handled ? I.e. if my project depends on
file1.jar and file2.jar, and file1.jar has a dependency on file2.jar, does
Maven provides a way to handle this ?

This is not yet handled, but it should definitely be
supported in the next few days/weeks.
This is an important feature that is missing.

4) How well does Maven supports builds per profiles, i.e. generating a
distribution for different profiles (dev, migration, production, etc..).

The only "profile" that I know is "SNAPSHOT".
ie, you can deploy a snapshot version of your project,
which represents the latest code.

Regards,
Jean-Pierre S�vigny

Cheers,
St�phane


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com

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

Reply via email to