The basic idea with Maven is that one Maven project produces one artifact.
An artifact could be a jar file, a war file, a zip file, or pretty much
anything. There are possibilities to force Maven to produce more than one
artifact though. Normally that's not the right road, but it's your choice.
This is different from normal usage with Ant where you often have an ant
script producing, for instance, several jar files, war file(s) and the ear
including these.
It's just a different mind set. You just have more "projects". I think it is
good, because it encourages a better design and you'll easier find circular
dependencies between jars/libraries.

/Anders

On Thu, Sep 17, 2009 at 11:46, Sammaiah Nagapuri
<[email protected]>wrote:

> Hi all,
>
> I am not getting what it means the following statement. Is it really
> disadvantage from maven. Can anybody explain me with ant?
>
> The restriction imposed by Maven is that only one artifact is generated per
> project (A project in Maven terminology is a folder with a project.xml file
> in it).
>
>
> Thanks & Regards
> Sammaiah Nagapuri
> P  We have a responsibility to the environment
> Before printing this e-mail or any other document, let's ask ourselves
> whether we need a hard copy
>
>
> DISCLAIMER:
>
> -----------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its
> affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily reflect
> the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, modification,
> distribution and / or publication of
> this message without the prior written consent of the author of this e-mail
> is strictly prohibited. If you have
> received this email in error please delete it and notify the sender
> immediately. Before opening any mail and
> attachments please check them for viruses and defect.
>
>
> -----------------------------------------------------------------------------------------------------------------------
>

Reply via email to