You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Randy Francisco <kr...@gmail.com> on 2006/07/27 04:42:33 UTC

Error in mvn install:install......

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

Re: Error in mvn install:install......

Posted by Allan Ramirez <ar...@exist.com>.
and there is no space between the groupId and artifactId parameter.

Cheers,
allan

Napoleon Esmundo Ramirez wrote:
> 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 <kr...@gmail.com> 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
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Error in mvn install:install......

Posted by Napoleon Esmundo Ramirez <nr...@gmail.com>.
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 <kr...@gmail.com> 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
>
>