Hi,
Thanks Nikola  for your answer .Here is what i founfd as solution :
In order to use it's own directory layout we have to
1)Configuring sourceDirectory, resources and other elements of the
build section.
2)Change the plugin configuration...

There is an interresting link which talks about the first key point (
Overriding the Pom.xml in general )
http://www.javaworld.com/javaworld/jw-05-2006/jw-0529-maven.html?page=1

But I still  don't  know  what are the changes to make on de plugins
configuration.

Regards,

Samid.

2006/11/26, Nikola Milutinovic <[EMAIL PROTECTED]>:
> I looked at the plugin selection but i did not find how to customise the
pom.xml in order to use my own  project structure on Maven2.

> Is there a Maven plugin allowing  that ?


Hi.

Sorry I was unclear. Basically, all predefined locations in a Maven2 project
are set in something called Super-POM. I believe it can be found in the
Maven install directory. All of those settings can be overridden in your
POM.

The main problem is what those settings are and where to set them. Usually,
you would customize each Maven plugin you are using in your build process.
Also, there are some global properties that control behavior of Maven, like
defining build dir ("./target", by default).

You might have to look at settings for each, or at least the most frequently
used, plugins and see what applies to your case.

Nix.





____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to