You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Andrew Pennebaker (JIRA)" <ji...@apache.org> on 2013/11/26 20:34:35 UTC

[jira] [Created] (SSHD-261) Can't install sshd with Maven

Andrew Pennebaker created SSHD-261:
--------------------------------------

             Summary: Can't install sshd with Maven
                 Key: SSHD-261
                 URL: https://issues.apache.org/jira/browse/SSHD-261
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 0.9.0
         Environment: Retrieving artifacts through a local corporate Artifactory server, v3.0.3.
            Reporter: Andrew Pennebaker


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



--
This message was sent by Atlassian JIRA
(v6.1#6144)