Skip to content

Instantly share code, notes, and snippets.

@scumola
Created February 28, 2013 22:37
Show Gist options
  • Save scumola/5060747 to your computer and use it in GitHub Desktop.
Save scumola/5060747 to your computer and use it in GitHub Desktop.
[root@images hbc]# mvn exec:java -pl hbc-example
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Hosebird Client Examples 1.2.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) @ hbc-example >>>
[INFO]
[INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) @ hbc-example <<<
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/twitter/hbc-twitter4j/1.2.1-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/twitter/hbc-core/1.2.1-SNAPSHOT/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.2.3/httpclient-4.2.3.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.2.3/httpclient-4.2.3.pom (6 KB at 34.0 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.2.3/httpcomponents-client-4.2.3.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.2.3/httpcomponents-client-4.2.3.pom (15 KB at 130.8 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/project/6/project-6.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/project/6/project-6.pom (24 KB at 223.1 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.2.2/httpcore-4.2.2.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.2.2/httpcore-4.2.2.pom (6 KB at 81.6 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.2.2/httpcomponents-core-4.2.2.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.2.2/httpcomponents-core-4.2.2.pom (12 KB at 141.8 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
Downloaded: http://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom (18 KB at 236.0 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/5/commons-parent-5.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/5/commons-parent-5.pom (16 KB at 198.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
Downloaded: http://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom (11 KB at 160.2 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/22/commons-parent-22.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/22/commons-parent-22.pom (41 KB at 386.2 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/google/guava/guava/13.0.1/guava-13.0.1.pom
Downloaded: http://repo.maven.apache.org/maven2/com/google/guava/guava/13.0.1/guava-13.0.1.pom (6 KB at 77.9 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/google/guava/guava-parent/13.0.1/guava-parent-13.0.1.pom
Downloaded: http://repo.maven.apache.org/maven2/com/google/guava/guava-parent/13.0.1/guava-parent-13.0.1.pom (3 KB at 35.6 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
Downloaded: http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom (5 KB at 68.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.6.6/slf4j-api-1.6.6.pom
Downloaded: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.6.6/slf4j-api-1.6.6.pom (3 KB at 37.0 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-parent/1.6.6/slf4j-parent-1.6.6.pom
Downloaded: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-parent/1.6.6/slf4j-parent-1.6.6.pom (13 KB at 177.2 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/twitter/joauth/3.2.1/joauth-3.2.1.pom
Downloaded: http://repo.maven.apache.org/maven2/com/twitter/joauth/3.2.1/joauth-3.2.1.pom (7 KB at 37.0 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/scala-lang/scala-library/2.9.2/scala-library-2.9.2.pom
Downloaded: http://repo.maven.apache.org/maven2/org/scala-lang/scala-library/2.9.2/scala-library-2.9.2.pom (2 KB at 22.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.5/commons-codec-1.5.pom
Downloaded: http://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.5/commons-codec-1.5.pom (10 KB at 146.7 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/20/commons-parent-20.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/20/commons-parent-20.pom (33 KB at 343.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.pom
Downloaded: http://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.pom (965 B at 4.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/twitter4j/twitter4j-core/2.2.6/twitter4j-core-2.2.6.pom
Downloaded: http://repo.maven.apache.org/maven2/org/twitter4j/twitter4j-core/2.2.6/twitter4j-core-2.2.6.pom (8 KB at 117.3 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/twitter4j/twitter4j-stream/2.2.6/twitter4j-stream-2.2.6.pom
Downloaded: http://repo.maven.apache.org/maven2/org/twitter4j/twitter4j-stream/2.2.6/twitter4j-stream-2.2.6.pom (8 KB at 38.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-simple/1.7.2/slf4j-simple-1.7.2.pom
Downloaded: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-simple/1.7.2/slf4j-simple-1.7.2.pom (2 KB at 22.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-parent/1.7.2/slf4j-parent-1.7.2.pom
Downloaded: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-parent/1.7.2/slf4j-parent-1.7.2.pom (12 KB at 162.4 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.2/slf4j-api-1.7.2.pom
Downloaded: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.2/slf4j-api-1.7.2.pom (3 KB at 34.6 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.pom
Downloaded: http://repo.maven.apache.org/maven2/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.pom (858 B at 12.0 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/junit/junit/4.8.1/junit-4.8.1.pom
Downloaded: http://repo.maven.apache.org/maven2/junit/junit/4.8.1/junit-4.8.1.pom (949 B at 13.8 KB/sec)
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/twitter/hbc-twitter4j/1.2.1-SNAPSHOT/hbc-twitter4j-1.2.1-SNAPSHOT.jar
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/twitter/hbc-core/1.2.1-SNAPSHOT/hbc-core-1.2.1-SNAPSHOT.jar
Downloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.2.3/httpclient-4.2.3.jar
Downloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.2.2/httpcore-4.2.2.jar
Downloading: http://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
Downloading: http://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
Downloading: http://repo.maven.apache.org/maven2/com/twitter/joauth/3.2.1/joauth-3.2.1.jar
Downloaded: http://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar (60 KB at 208.7 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/scala-lang/scala-library/2.9.2/scala-library-2.9.2.jar
Downloaded: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.2.2/httpcore-4.2.2.jar (219 KB at 434.1 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
Downloaded: http://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar (228 KB at 451.0 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/com/google/guava/guava/13.0.1/guava-13.0.1.jar
Downloaded: http://repo.maven.apache.org/maven2/com/twitter/joauth/3.2.1/joauth-3.2.1.jar (207 KB at 316.6 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/twitter4j/twitter4j-core/2.2.6/twitter4j-core-2.2.6.jar
Downloaded: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.2.3/httpclient-4.2.3.jar (423 KB at 593.2 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/twitter4j/twitter4j-stream/2.2.6/twitter4j-stream-2.2.6.jar
Downloaded: http://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar (33 KB at 153.5 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-simple/1.7.2/slf4j-simple-1.7.2.jar
Downloaded: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-simple/1.7.2/slf4j-simple-1.7.2.jar (11 KB at 60.4 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.2/slf4j-api-1.7.2.jar
Downloaded: http://repo.maven.apache.org/maven2/org/twitter4j/twitter4j-stream/2.2.6/twitter4j-stream-2.2.6.jar (50 KB at 163.8 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.jar
Downloaded: http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.7.2/slf4j-api-1.7.2.jar (26 KB at 153.4 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/junit/junit/4.8.1/junit-4.8.1.jar
Downloaded: http://repo.maven.apache.org/maven2/org/twitter4j/twitter4j-core/2.2.6/twitter4j-core-2.2.6.jar (308 KB at 521.0 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/junit/junit/4.8.1/junit-4.8.1.jar (232 KB at 471.5 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/com/google/guava/guava/13.0.1/guava-13.0.1.jar (1847 KB at 766.3 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.jar (1387 KB at 655.9 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/scala-lang/scala-library/2.9.2/scala-library-2.9.2.jar (8651 KB at 1185.6 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:13.520s
[INFO] Finished at: Thu Feb 28 15:34:09 MST 2013
[INFO] Final Memory: 7M/108M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hbc-example: Could not resolve dependencies for project com.twitter:hbc-example:jar:1.2.1-SNAPSHOT: The following artifacts could not be resolved: com.twitter:hbc-twitter4j:jar:1.2.1-SNAPSHOT, com.twitter:hbc-core:jar:1.2.1-SNAPSHOT: Could not find artifact com.twitter:hbc-twitter4j:jar:1.2.1-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots) -> [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
[root@images hbc]# java -version
java version "1.7.0_15"
Java(TM) SE Runtime Environment (build 1.7.0_15-b03)
Java HotSpot(TM) Server VM (build 23.7-b01, mixed mode)
[root@images hbc]# mvn -version
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 06:51:28-0700)
Maven home: /usr/local/apache-maven-3.0.5
Java version: 1.7.0_15, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_15/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.18-92.el5pae", arch: "i386", family: "unix"
[root@images hbc]#
@xsl
Copy link

xsl commented Feb 28, 2013

try doing a "mvn compile" (or mvn install) first, and then make that exec call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment