Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] wagon-maven-plugin not finding sesttings.xml password

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.
 
          <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>wagon-maven-plugin</artifactId>
          <version>1.0-beta-3</version>
          <configuration>
            <serverId>projectname</serverId>
           <fromFile>${project.build.directory}/${project.build.finalName}.war</fromFile>         
            <url>ftp://ftp.projectname.com/</url> 
          </configuration>   
        </plugin>
 
        <extensions>
   
         <!-- Enabling the use of FTP -->
           <extension>
             <groupId>org.apache.maven.wagon</groupId>
             <artifactId>wagon-ftp</artifactId>
             <version>1.0-beta-6</version>
           </extension>
         </extensions>
 
and in the settings.xml in .m2
 
<settings>
  <servers>
    <server>
      <id>projectname</id>
      <username>nigel@xxxxxxxxxxxxxxx</username>
      <password>password</password>
    </server>
  </servers>
</settings>
 
 
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
 
Any help appreciated.
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top