Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-393

Maven 2.2.1 fails to build when build extension uses Wagon provider > 2.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • None
    • None
    • wagon-ssh

    Description

      I use the wagon-maven-plugin to upload files to SF.net. Since Maven 3 does not have SFTP support built-in I have declared this:

      		<extensions>
      			<extension>
      				<groupId>org.apache.maven.wagon</groupId>
      				<artifactId>wagon-ssh</artifactId>
      				<version>2.4</version>
      			</extension>
      		</extensions>
      
      

      Runs fine with Maven 3 but when running with Maven 2.2.1 it says:

      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Unable to initialise extensions
      Component descriptor role: 'com.jcraft.jsch.UIKeyboardInteractive', implementation: 'org.apache.maven.wagon.providers.ss
      h.jsch.interactive.PrompterUIKeyboardInteractive', role hint: 'default' has a hint, but there are other implementations
      that don't
      

      I went down all versions to 2.2 and it worked. So there must something wrong from 2.2 to 2.3.

      A demo project is available.

      Attachments

        Activity

          People

            Unassigned Unassigned
            michael-o Michael Osipov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: