"mvn install" works for me now (using the latest 2.0.7 Maven). For some reason not all the files/folders in http://svn.apache.org/repos/asf/incubator/cxf/trunk got checked out the first time, which caused the pom file to be missing. I did another svn co which fixed the problem for me.
Thanks to all who replied. Glen Am Mittwoch, den 27.06.2007, 09:39 +0800 schrieb Freeman Fang: > Hi Glen, > > Yes, you run mvn install from right place. > > It's weird you get such error, would you please check there is pom.xml > under this directory? > > Btw, what's the version of your mvn? > Thanks very much > > Freeman > > > > > Glen Mazza wrote: > > Hello, on the CXF building page[1] it says: > > > > "To build CXF simply execute: > > $ mvn install" > > > > But from which directory of the source code download should I run that > > command from? When I run it from the root download directory (i.e., the > > one that has "buildtools", "rt", "distribution", etc., as folders within > > it), I get this error, which might be indicating I'm running it from the > > wrong location: > > > > [INFO] Cannot execute mojo: resources. It requires a project with an > > existing pom.xml, but the build is not using one. > > > > > > Thanks, > > Glen > > > > [1] http://cwiki.apache.org/confluence/display/CXF/Building > > > >
