Thank you for the help.

I should have mentioned I am using Q4E (Q for eclipse). Should I remove that
plugin, install m2eclipse and proceed with your recommendations?

Thank you.

Jack



Eugene Kuleshov wrote:
> 
> 
>   It is possible that you are hitting into incompatibility of the 
> embedded Maven runtime. As a workaround you can configure m2eclipse to 
> use external Maven installation to launch Maven in the ide and select 
> the same Maven instance as you are using in the command line, e.g. 
> latest Maven release is 2.0.9 can be downloaded from 
> http://maven.apache.org/
> 
>   However if your build also fail in the command line you should address 
> your question to the maven users maling list. See 
> http://maven.apache.org/mail-lists.html
> 
>   regards,
>   Eugene
> 
> 
> JackZiad wrote:
>> Hello,
>>
>> I am a bit new at all of this and I am having trouble understanding what
>> is
>> going on. 
>>
>> Basically I have imported a maven project into Eclipse using
>> (File>Import)
>> and now Eclipse recognizes it as a Maven project. I can execute many
>> goals
>> on that project like compile and package and they work successfully.
>> However, when I execute the "Deploy" goal, I get an error during Maven
>> execution.
>>
>> Below is the list of events while deploying. I have removed the first
>> part
>> which are the transfers because they take a lot of space. It is a bunch
>> of
>> transfers which were completed followed by some checking statements
>> followed
>> by a warning and 2 errors. Let me know if you need more information to
>> help
>> me with this issue.
>>
>> P.S: Eclipse Version: 3.4.0
>>
>> Thank you.
>>
>>
>> info Attempting to resolve a version for plugin:
>> org.apache.maven.plugins:maven-deploy-plugin using meta-version: LATEST 
>>
>> nfo  artifact org.apache.maven.plugins:maven-deploy-plugin: checking for
>> updates from central 
>>
>> info Using version: 2.4 of plugin:
>> org.apache.maven.plugins:maven-deploy-plugin 
>>
>> Starting mojoExecution deploy:deploy
>>
>> Retrieving previous build number from snapshots
>>  
>> warn repository metadata for: 'snapshot
>> it.ericsson.mdp:EclipseTestJack:1.0.0-SNAPSHOT' could not be retrieved
>> from
>> repository: snapshots due to an error: Unsupported Protocol: 'dav':
>> Cannot
>> find wagon which supports the requested protocol: dav 
>>
>> info Repository 'snapshots' will be blacklisted 
>>
>> Error        An error occurred in phase mojoExecution with the exception
>> org.apache.maven.plugin.MojoExecutionException: Error deploying artifact:
>> Unsupported Protocol: 'dav': Cannot find wagon which supports the
>> requested
>> protocol: dav
>>
>> Error        An error occurred in phase projectExecution with the exception
>> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
>> the plugin manager executing goal
>> 'org.apache.maven.plugins:maven-deploy-plugin:2.4:deploy': Mojo execution
>> failed.
>>
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-message-while-executing-%22Deploy%22-plugin-on-imported-Maven-project-into-Eclipse-tp20070671p20091914.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to