Thank you for your reply. I want to build the entire project recursively from
the parent and not by individual project. Is there any way in Continuum to
build the project from the parent pom.xml. I have added the my parent pom.xml
for the project by using Pom Url under the Add Maven 2.0+ Project. Inside my
parent pom.xml I have some other modules like this:
-----
<modules>
<module>../Moduel_A</module>
<module>../Moduel_B/module>
<module>../Moduel_C</module>
</modules>
-------
Inside all of the pom.xml for each module such as (Moduel_A, Moduel_B, etc..),
I have configure the<SCM>...</SCM>. Also, I have already done this step which
was mentioned in continuum documentation that If you want to build recursively
from the parent, you have to remove the --non-recursive or -N argument under
the "Build Definitions" section of your parent project.
Or use the checkbox "For multi modules project, load only root as
recursive build" when adding a m2 project.
But after all I still get the same error when I try to build from the parent
pom.xml:
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
...
Project ID: unknown
Reason: Could not find the model file
'C:\apache-continuum-1.2.3\data\working-directory\Moduel_A'. for project unknown
Could anyone tell me what is wrong?
Thanks.
________________________________
From: java javae <[email protected]>
To: [email protected]
Sent: Tuesday, January 27, 2009 11:29:31 AM
Subject: Error building POM (may not be this project's POM).
Hi,
I have a problem with compiling my projects under continuum using the top
parent of my projects. I remove the --non-recursive flag on the build
directive of my top projects.
The pom.xml of the modules projects looks like this:
...
<modules>
<module>../Project_A</module>
<module>../Project_B/module>
<module>../Project_C</module>
</modules>
...
when I try to build from the top parent of my project pom.xml I get this error:
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
...
Project ID: unknown
Reason: Could not find the model file
'C:\apache-continuum-1.2.3\data\working-directory\Project_A'. for project
unknown
Any idea why I get this error?
Thanks.