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

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.

 

From: m2e-users-bounces@xxxxxxxxxxx [mailto:m2e-users-bounces@xxxxxxxxxxx] On Behalf Of Pascal Rapicault
Sent: 14 January 2011 23:36
To: Maven Integration for Eclipse users mailing list
Subject: 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