On using 0.12.0 version of m2eclipse the wagon-maven-plugin worked.
Nigel
From: m2e-users-bounces@xxxxxxxxxxx [mailto:m2e-users-bounces@xxxxxxxxxxx] On Behalf Of Nigel Weinronk
Sent: 15 January 2011 07:49
To: 'Maven Integration for Eclipse users mailing list'
Subject: Re: [m2e-users] wagon-maven-plugin not finding sesttings.xml password
Thanks for your reply
I am new to web development so I have a few questions on your questions – sorry.
Is the settings.xml properly specified in the preferences?
Preferences -> user settings -> This is pointing to the .m2/settings.xml – I assume this is all that is required ?
Is this working on the command line?
I am only using maven from within m2eclipse – can I run the command line from here ? if so how ?
You may also want to give a try to https://repository.sonatype.org/content/sites/forge-sites/m2e/0.12.1/S/0.12.1.20110112-1712/
I have tried in the pass to use help -> install new software for m2eclipse version 0.12.0 (being on 0.10.0 at present) but I get the following errors.
- No repository found at http://m2eclipse.sonatype.org/update-dev.
- Cannot satisfy dependency:
How would you load 0.12.1 directly ?
How would you get rid of the error which stop the install at present ?
Thanks again.
Is this working on the command line?
Is the settings.xml properly specified in the preferences?
On 2011-01-14, at 6:29 PM, Nigel Weinronk wrote:
I have the following configuration in the pom.
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<version>1.0-beta-3</version>
<serverId>projectname</serverId>
<fromFile>${project.build.directory}/${project.build.finalName}.war</fromFile>
<!-- Enabling the use of FTP -->
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>1.0-beta-6</version>
and in the settings.xml in .m2
<password>password</password>
On “Run as Maven builds.....” goals: wagon:upload-single I get the following error.
Failed to execute goal org.codehaus.mojo:wagon-maven-plugin:1.0-beta-3:upload-single (default-cli) on project projectname: Unable to create a Wagon instance for ftp://ftp.projectname.com/: Password not specified for repository projectname
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users