Hi All
I'm doing some research on OAuth lib for Java and tried to compile /
code/java with Maven2 but I got an exception (please see the result
below).
Is there anything special I have to do before I can compile the whole
tree of /code/java with Maven2? Where can I get the missing JAR file?
Thanks!
Lofi.
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] OAuth::Parent POM ..................................... SUCCESS
[2.359s]
[INFO] OAuth Core: Parent POM ................................ SUCCESS
[0.266s]
[INFO] OAuth Core ............................................ SUCCESS
[2.875s]
[INFO] OAuth Core: Consumer .................................. SUCCESS
[1.265s]
[INFO] OAuth Core: HttpClient3 ............................... SUCCESS
[1.235s]
[INFO] OAuth Core: Provider .................................. SUCCESS
[1.109s]
[INFO] OAuth Core: HttpClient4 ............................... FAILED
[4.156s]
[INFO] OAuth Core: Test ...................................... NOT
BUILT
[INFO] OAuth::Core ........................................... NOT
BUILT
[INFO] OAuth::Examples::Parent POM ........................... NOT
BUILT
[INFO] OAuth::Examples::Desktop Consumer ..................... NOT
BUILT
[INFO] OAuth::Examples::Provider webapp ...................... NOT
BUILT
[INFO] OAuth::Examples::Consumer webapp ...................... NOT
BUILT
[INFO]
------------------------------------------------------------------------
[ERROR]
Transitive dependency resolution for scope: compile has failed for
your project.
Error message: Missing:
----------
1) org.apache.httpcomponents:httpclient:jar:4.0-beta2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.httpcomponents -
DartifactId=httpclient -Dversion=4.0-beta2 -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.apache.httpcomponents -
DartifactId=httpclient -Dversion=4.0-beta2 -Dpackaging=jar -Dfile=/
path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) net.oauth.core:oauth-httpclient4:jar:20090531
2) org.apache.httpcomponents:httpclient:jar:4.0-beta2
----------
1 required artifact is missing.
for artifact:
net.oauth.core:oauth-httpclient4:jar:20090531
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OAuth" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---