Thanks Edwin. Solved. I used : 'mvn help:effiective-pom' command to get
info about sourceDirectory etc, and which was pointing to non-existant
sources location.

Thanks!

Regards, Jaikumar

-----Original Message-----
From: Edwin Punzalan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 26, 2006 4:34 PM
To: Maven Users List
Subject: Re: Nesting of POMs to subproject level - no sources to compile



You should check where the message "no sources to compile" is printed.

My guess is, its printed when processing (3) project, which I assume 
does not have any sources in project.build.sourceDirectory


^_^



Sharma, Jaikumar wrote:
> My project structure :
>  
>     [project] 
>          |
>          |-------sub-project
>       1. pom.xml |
>                         |------- 2.pom.xml
>                         |
>                         |---- sub sub project
>                                     |
>                                     |------ 3. pom.xml
>  
> I have defined main pom.xml in the [1.project root] -- next pom exists

> at [2.sub-project] level -- and last  pom is at [3.sub sub project 
> level]. In the first and second pom packaging type is 'pom' while at 
> deepest level it is 'jar' and when executing the root level pom, it 
> says no sources to compile!
>  
> I am sure, I am mistaken somewhere!
>  
> Could somebody please point me the clue what is is wrong ?
>  
> Thanks!
>  
> Regards, Jaikumar
>  
>
> BM__MailAutoSig_________________________________________
>
>  
>
> Jaikumar Sharma
>
> Sr.Software Development Engineer
>
>  
>
> Barco Control Rooms
>
> A-5, Sector - 5,
>
> Noida. India 201 301.
>
> Tel +91 120-2421-651 to 659  Ext.313
>
> Fax+91 120 2421 691
>
>  <http://www.barco.com/> http://www.barco.com
>
>  <mailto:[EMAIL PROTECTED]> mailto:[EMAIL PROTECTED]
>
> _________________________________________
>
>  
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message 
> is privileged and confidential, and is intended only for the use of 
> the
> addressee(s) named above and others who have been specifically
authorized to
> receive it. If you are not the intended recipient, you are hereby
notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability
for any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liability for any delays. If you have
> received this message in error, please contact the sender and delete
the
> message. Thank you.
>
>   

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

- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liablility for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.

Reply via email to