MrZhouL / oauth

Automatically exported from code.google.com/p/oauth
0 stars 0 forks source link

Modularize Java library #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If somebody only wants to use the client he should not be forced to pull in
the servlet dependency.

The same thing for the commons-httpclient dependency, maybe have a generic
client and add the commons version to a separate module.

Something linke this:
OAuth-core
OAuth-client
OAuth-server
OAuth-client-httpclient

Original issue reported on code.google.com by franci...@gmail.com on 1 Oct 2008 at 4:34

GoogleCodeExporter commented 8 years ago
You use classes from the OAuth .jar that don't depend on the commons-httpclient 
or 
servlet classes, without the latter available in your classpath.

Original comment by jmkrist...@gmail.com on 22 Oct 2008 at 5:31

GoogleCodeExporter commented 8 years ago
Since I am using the oauth maven repo those other libraries are fetched
automatically, maybe those dependencies should be indicated as provided.

Original comment by franci...@gmail.com on 22 Oct 2008 at 5:52