This is a bit of a misunderstanding. There's no restriction in Maven that only 
one artifact be generated per project (also, in Maven 2, it's pom.xml, not 
project.xml). There must be one primary artifact, but many (if not most) Maven 
projects actually produce multiple artifacts. source and javadoc jars are the 
most common, but it is also not uncommon to see test jars (i.e. jars of test 
classes) and the like.
 
Justin

________________________________

From: Sammaiah Nagapuri [mailto:[email protected]]
Sent: Thu 9/17/2009 5:46 AM
To: [email protected]
Subject: only one artifact per project



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