hubiquitus-old / hubiquitus4java

Hubiquitus client (hAPI) for Java
Other
0 stars 5 forks source link

HtwitterAPI problem with mvn install #9

Open rtribout opened 11 years ago

rtribout commented 11 years ago

Hi everybody,

I have got a problem with the command mvn install in the HtwitterAPI.

In fact, I downloaded sources this morning from the git repository. And I have got this error. Moreover, I didn't see any instagram API in this component folder.

1) org.hubiquitus.hubiquitus4java:hAPI:jar:0.5.5

Try downloading the file manually from the project website.

Then, install it using the command: mvn install:install-file -DgroupId=org.hubiquitus.hubiquitus4java -DartifactId=hAPI -Dversion=0.5.5 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.hubiquitus.hubiquitus4java -DartifactId=hAPI -Dversion=0.5.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency: 1) org.hubiquitus.hubiquitus4java.components:HTwitterAPI_1_1:jar:1.0.0 2) org.hubiquitus.hubiquitus4java:hAPI:jar:0.5.5


1 required artifact is missing.

for artifact: org.hubiquitus.hubiquitus4java.components:HTwitterAPI_1_1:jar:1.0.0

from the specified remote repositories: central (http://repo1.maven.org/maven2)

[INFO] ------------------------------------------------------------------------ [INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: Missing:

1) org.hubiquitus.hubiquitus4java:hAPI:jar:0.5.5

Try downloading the file manually from the project website.

Then, install it using the command: mvn install:install-file -DgroupId=org.hubiquitus.hubiquitus4java -DartifactId=hAPI -Dversion=0.5.5 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.hubiquitus.hubiquitus4java -DartifactId=hAPI -Dversion=0.5.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency: 1) org.hubiquitus.hubiquitus4java.components:HTwitterAPI_1_1:jar:1.0.0 2) org.hubiquitus.hubiquitus4java:hAPI:jar:0.5.5


1 required artifact is missing.

for artifact: org.hubiquitus.hubiquitus4java.components:HTwitterAPI_1_1:jar:1.0.0

from the specified remote repositories: central (http://repo1.maven.org/maven2)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:

1) org.hubiquitus.hubiquitus4java:hAPI:jar:0.5.5

Try downloading the file manually from the project website.

Then, install it using the command: mvn install:install-file -DgroupId=org.hubiquitus.hubiquitus4java -DartifactId=hAPI -Dversion=0.5.5 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.hubiquitus.hubiquitus4java -DartifactId=hAPI -Dversion=0.5.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency: 1) org.hubiquitus.hubiquitus4java.components:HTwitterAPI_1_1:jar:1.0.0 2) org.hubiquitus.hubiquitus4java:hAPI:jar:0.5.5


1 required artifact is missing.

for artifact: org.hubiquitus.hubiquitus4java.components:HTwitterAPI_1_1:jar:1.0.0

from the specified remote repositories: central (http://repo1.maven.org/maven2)

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:360)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more

[INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Wed Jan 23 11:22:02 CET 2013 [INFO] Final Memory: 15M/131M [INFO] ------------------------------------------------------------------------

sunchenliang commented 11 years ago

Hi rtribout,

Thank you for your feedback. I've just commit the correction for your problem. Please do a git pull to get the last version.

If you have any other questions, please feel free to contact us.