Hello,

Your -Dfile argument contains spaces. Try using quotes around the value.  If
it still fails, go to that directory and execute the command right there.

Cheers!
Nap

On 7/27/06, Randy Francisco <[EMAIL PROTECTED]> wrote:

Hi!!! Kinda stuck  in this problem I badly need help can anyone helpme?





I'm trying to execute this command



            *mvn install:install-file
-DgroupId=uk.ltd.getahead-DartifactId=dwr\-
*

*Dversion=2.0 -Dpackaging=jar -Dfile=C:\Documents and
Settings\AdminUser\Desktop\july26\itd\website\dwr.jar*



And all I got is this…





*[INFO] Scanning for projects...*

*[INFO] Searching repository for plugin with prefix: 'install'.*

*[INFO]
------------------------------------------------------------------------*

*[ERROR] BUILD FAILURE*

*[INFO]
------------------------------------------------------------------------*

*[INFO] Invalid task 'and': you must specify a valid lifecycle phase, or a
goal i*

*n the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal*

*[INFO]
------------------------------------------------------------------------*

*[INFO] For more information, run Maven with the -e switch*

*[INFO]
------------------------------------------------------------------------*

*[INFO] Total time: 1 second*

*[INFO] Finished at: Thu Jul 27 10:35:09 PDT 2006*

*[INFO] Final Memory: 1M/4M*

*[INFO]
------------------------------------------------------------------------*

* *

* *

* *

Did I missed something? Help me please tnx in advance


Reply via email to