Added support for different types of artifacts
Artifact type is being figured out properly.
Merge pull request #1 from tomasherman/master

{jar,doc,src} support added