Just want to note: that is good advise if you want to release the modules 
separately from the top-level.  It's not strictly necessary if you aren't or if 
you SCM doesn't support releasing from subdirectories (e.g. Mercurial).

-----Original Message-----
From: Dan Tran [mailto:dant...@gmail.com] 
Sent: Thursday, December 03, 2009 12:41 AM
To: Maven Users List
Subject: Re: the module in maven

the reason to make module name to have the same name as artifactId is so that 
you dont have define your scm element in every child pom.  All Maven needs to 
the top pom.xml's scm to figure out out scm element of the child module.  this 
is crucial  when cutting a release the maven way using its infamous 
maven-release-plugin

if you have lots of modules, this convention is very handy.


-Dan

On Wed, Dec 2, 2009 at 9:33 PM, Alexander <the.malk...@gmail.com> wrote:
> Yeah, thats right.
>
> There are some problems?
>
> 2009/12/3 maven apache <apachemav...@gmail.com>
>
>> 2009/12/3 Alexander <the.malk...@gmail.com>
>>
>> > Maven way is to name module directory as module artifact id.
>> >
>> I want to rename the module since the old project are not well 
>> named.So I should rename both the module directory and module artifact id?
>>
>> >
>> > 2009/12/3 maven apache <apachemav...@gmail.com>
>> >
>> > > Hi:
>> > > I want to know how do maven find the module of the parent project:
>> > > for example in the root project whose packaging is pom and the
>> directory
>> > is
>> > > C:/project, I define the following modules:
>> > > -----
>> > >  <module>maven</module>
>> > >  <module>platform</module>
>> > >  <module>main</module>
>> > > --------------
>> > > So the module "maven" should be a directory under the 
>> > > C:/project/maven
>> or
>> > > the directory contains module "maven" can be named as others and 
>> > > its artifactId should be "maven"?
>> > >
>> >
>> >
>> >
>> > --
>> > Regards,
>> > Alexander
>> >
>>
>
>
>
> --
> Regards,
> Alexander
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


                                        
-------------------------------------------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain 
confidential and proprietary information of Alcatel-Lucent and/or its 
affiliated entities. Access by the intended recipient only is authorized. Any 
liability arising from any party acting, or refraining from acting, on any 
information contained in this e-mail is hereby excluded. If you are not the 
intended recipient, please notify the sender immediately, destroy the original 
transmission and its attachments and do not disclose the contents to any other 
person, use it for any purpose, or store or copy the information in any medium. 
Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or 
its affiliated entities.
                                        

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to