Error "The goal you specified requires a project to execute but there is no POM in this directory" after executing maven command -


i have pom.xml in c:\users\aarmijos\desktop\factura electronica\miyt\componentes-1.0.4\sources\pom.xml , executed:

mvn install:install-file -dgroupid=es.mityc.jumbo.adsi -dartifactid=xmlsec-1.4.2-adsi -dversion=1.0 -dpackaging=jar -dfile=c:\users\aarmijos\desktop\factura electronica\miyt\componentes-1.0.4\core\xmlsec-1.4.2-adsi-1.0.jar 

however returned error below:

[info] scanning projects... [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 0.310s [info] finished at: thu may 02 16:48:29 cot 2013 [info] final memory: 2m/15m [info] ------------------------------------------------------------------------ [error] goal specified requires project execute there no pom  in directory (c:\users\aarmijos). please verify invoked maven  correct directory. -> [help 1] 

can explain why fails?

this link helped: https://stackoverflow.com/a/11199865/1307104

i edit command adding quotes every parameter this:

mvn install:install-file "-dgroupid=org.mozilla" "-dartifactid=jss" "-dversion=4.2.5" "-dpackaging=jar" "-dfile=c:\users\aarmijos\workspace\componentes-1.0.4\deps\jss-4.2.5.jar"

it's worked.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -