You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Shrinath Managuli <sh...@aspiresys.com> on 2014/05/20 14:13:35 UTC

Maven not recognizing the pom.xml under sub-modules

Hi,
   My folder structure is..


   A
   |
    --pom.xml
   B
   |
    --pom.xml
   Src
   Pom.xml


Outer pom.xml has entry like
 <modules>
      <module>A</module>
      <module>B</module>
  </modules>

But after running the error is:
   The build could not read 1 project
   Child module A of pom.xml does not exist
   Child module B of pom.xml does not exist

Please help with the error.

Thanks,
Shrinath




[Aspire Systems]

This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

Re: Maven not recognizing the pom.xml under sub-modules

Posted by Curtis Rueden <ct...@wisc.edu>.
Hi Shrinath,

> But after running the error is:
>    The build could not read 1 project
>    Child module A of pom.xml does not exist
>    Child module B of pom.xml does not exist

Can you post a sample nonworking project online please? GitHub as a project
or Gist, or pastebin, or similar. Otherwise there is not enough information
to diagnose.

-Curtis



On Tue, May 20, 2014 at 7:13 AM, Shrinath Managuli <
shrinath.managuli@aspiresys.com> wrote:

> Hi,
>    My folder structure is..
>
>
>    A
>    |
>     --pom.xml
>    B
>    |
>     --pom.xml
>    Src
>    Pom.xml
>
>
> Outer pom.xml has entry like
>  <modules>
>       <module>A</module>
>       <module>B</module>
>   </modules>
>
> But after running the error is:
>    The build could not read 1 project
>    Child module A of pom.xml does not exist
>    Child module B of pom.xml does not exist
>
> Please help with the error.
>
> Thanks,
> Shrinath
>
>
>
>
> [Aspire Systems]
>
> This e-mail message and any attachments are for the sole use of the
> intended recipient(s) and may contain proprietary, confidential, trade
> secret or privileged information. Any unauthorized review, use, disclosure
> or distribution is prohibited and may be a violation of law. If you are not
> the intended recipient, please contact the sender by reply e-mail and
> destroy all copies of the original message.
>