Never mind...

My subprojects were trying to extend a non-existent pom in stindex which was causing the error.

Omair

Omair-Inam Abdul-Matin wrote:

I'm using the following project structure
stindex/stindex/ (subproject)
stindex/storagemanager/ (subproject)
stindex/stindex-build/ (subproject)

I have a clean-all goal in the stindex-build defined as follows:

<project
    xmlns:m="jelly:maven"
    xmlns:j="jelly:core">
    <goal name="clean-all">
        <m:reactor
            basedir="${basedir}/.."
            includes="*/project.xml"
                excludes="stindex-build/project.xml"
            goals="clean"
            banner="Cleaning"
            ignoreFailures="false"
        />

    </goal>

  ...

</project>

This mimics closely the maven.xml file in the commons-build directory of the jakarta commons. Now when I try to run maven clean-all from stindex/stindex-build I get the output shown below...

C:\eclipse\workspace\stindex-new\stindex-build>maven clean-all
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc4

Starting the reactor...

BUILD FAILED
File...... C:\eclipse\workspace\stindex-new\stindex-build\maven.xml
Element... m:reactor
Line...... 12
Column.... 11
Error parsing project.xml 'C:\eclipse\workspace\stindex-new\project.xml'
Total time: 2 seconds
Finished at: Sun Jul 11 11:21:37 EDT 2004

I don't understand why maven requires a project.xml file in the parent directory. Browsing through the jakarta commons repository I did not find a project.xml file in the parent directory of to the build directory (http://cvs.apache.org/viewcvs.cgi/jakarta-commons/)... What am I doing wrong...?

Omair


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



Reply via email to