Try mvn install I don't remember ever using the compile target.
On 10/29/05, Petra Fiedler <[EMAIL PROTECTED]> wrote: > Hey, > > i've installed maven 2.0 as described on the website. then i tried to > run the example which is there described. But when i invoke "mvn > compile" i always get the same error message: > > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Building Maven Default Project > [INFO] task-segment: [compile] > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] > ------------------------------------------------------------------------- > --- > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Cannot execute mojo: resources. It requires a project, but the > build is not using one. > > what could be the problem? > > Thanks for help! > Petra > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]