Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-261

Can't install sshd with Maven

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 0.9.0
    • None
    • Retrieving artifacts through a local corporate Artifactory server, v3.0.3.

    Description

      At first, Maven appears to install sshd. But when I try to `mvn compile` my code, Maven is unable to load the sshd package.

      Trace:

      $ tail pom.xml
      </dependency>
      <dependency>
      <groupId>org.apache.sshd</groupId>
      <artifactId>sshd</artifactId>
      <version>0.9.0</version>
      </dependency>
      </dependencies>
      </project>
      $ mvn clean
      $ mvn compile
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building
      [INFO] ------------------------------------------------------------------------
      Downloading: http://artifacts.org/artifactory/libs-release/org/apache/sshd/sshd/0.9.0/sshd-0.9.0.pom
      Downloaded: http://artifacts.org/artifactory/libs-release/org/apache/sshd/sshd/0.9.0/sshd-0.9.0.pom (11 KB at 5.4 KB/sec)
      Downloading: http://artifacts.org/artifactory/libs-release/org/apache/sshd/sshd/0.9.0/sshd-0.9.0.jar
      Downloading: http://artifacts.org/artifactory/libs-snapshot/org/apache/sshd/sshd/0.9.0/sshd-0.9.0.jar
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 11.324s
      [INFO] Finished at: Tue Nov 26 14:12:24 EST 2013
      [INFO] Final Memory: 8M/81M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project: Could not resolve dependencies for project: Could not find artifact org.apache.sshd:sshd:jar:0.9.0 in central (http://artifacts.org/artifactory/libs-release) -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

      Some reports on the Maven would imply that SSHD's build configuration could be slightly off.

      http://maven.40175.n5.nabble.com/Not-finding-artifact-in-local-repo-tt3727753.html#a3728207

      https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes#Maven3.xCompatibilityNotes-ResolutionfromLocalRepository

      Attachments

        Activity

          People

            Unassigned Unassigned
            apennebaker42six Andrew Pennebaker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: