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
Post a Comment