[Dspace-tech] ERROR:Cannot execute mojo: resources

2009-06-22 Thread olufunmilayo favour
Hi all. the following error occured when'ever I try building my project using 
mvn package viz:
 
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\usercd C:\apache-maven-2.1.0\bin
C:\apache-maven-2.1.0\binmvn package
[INFO] Scanning for projects...
[INFO] 
[INFO] Building Maven Default Project
[INFO]    task-segment: [package]
[INFO] 
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Cannot execute mojo: resources. It requires a project with an existing po
m.xml, but the build is not using one.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 second
[INFO] Finished at: Mon Jun 22 01:59:12 PDT 2009
[INFO] Final Memory: 3M/7M
[INFO] 
C:\apache-maven-2.1.0\bin
 
Pls, what's the cause and how do I rectify it. Thanks
 


  --
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] ERROR:Cannot execute mojo: resources

2009-06-22 Thread Keith Gilbertson
Hi.

Are you attempting to build DSpace? 

If so, do you get this same error when you run the mvn package command
from the [dspace-source]/dspace/ directory?


-- keith

On Mon, 2009-06-22 at 02:47 -0700, olufunmilayo favour wrote:
 Hi all. the following error occured when'ever I try building my
 project using mvn package viz:
  
 Microsoft Windows XP [Version 5.1.2600]
 (C) Copyright 1985-2001 Microsoft Corp.
 C:\Documents and Settings\usercd C:\apache-maven-2.1.0\bin
 C:\apache-maven-2.1.0\binmvn package
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building Maven Default Project
 [INFO]task-segment: [package]
 [INFO]
 
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Cannot execute mojo: resources. It requires a project with an
 existing po
 m.xml, but the build is not using one.
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 1 second
 [INFO] Finished at: Mon Jun 22 01:59:12 PDT 2009
 [INFO] Final Memory: 3M/7M
 [INFO]
 
 C:\apache-maven-2.1.0\bin
  
 Pls, what's the cause and how do I rectify it. Thanks
  
 
 --
 Are you an open source citizen? Join us for the Open Source Bridge conference!
 Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
 Need another reason to go? 24-hour hacker lounge. Register today!
 http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
 ___ DSpace-tech mailing list 
 DSpace-tech@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech