You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Sharma, Jaikumar" <ja...@barco.com> on 2006/04/26 12:51:55 UTC

Nesting of POMs to subproject level - no sources to compile

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

 <ma...@barco.com> mailto:jaikumar.sharma@barco.com

_________________________________________

 
- - - - - - - 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.

Re: Nesting of POMs to subproject level - no sources to compile

Posted by Edwin Punzalan <ep...@exist.com>.
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
>
>  <ma...@barco.com> mailto:jaikumar.sharma@barco.com
>
> _________________________________________
>
>  
> - - - - - - - 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org