11-11-2011 09:32 AM
Hi, i have download the webworks project from this link https://github.com/blackberry/WebWorks, and i specifie the root for this project, but when i try this command in cmd: mvn clean install -DPRODUCT_VERSION=[2.3.0.0]
i have this result :
C:\Users\moa>mvn clean install -DPRODUCT_VERSION=[2.3.0.0]
[INFO] Scanning for projects...
[INFO] --------------------------------------------------
[INFO] BUILD FAILURE
[INFO] --------------------------------------------------
[INFO] Total time: 0.141s
[INFO] Finished at: Fri Nov 11 16:23:48 EET 2011
[INFO] Final Memory: 1M/3M
[INFO] --------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM
in this directory (C:\Users\moa). Please verify you invoked Maven from the corr
ect directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/M
Exception
can you help me plz!!
11-11-2011 03:27 PM
Hello ahmadahmad.
Based on the log, it seems like you are not building from the right folder. Please make sure you have the needed environment variables as described in the online instructions at https://github.com/blackberry/WebWorks. Then navigate to the root folder of your local GitHub WebWorks repo before you invoke “mvn clean install”. That repo should contain the pom file.
Regards,
Daniel