Merge pull request #3 from evertrue/open-source

Switch to Apache v2.0 license
RuboCop cleanup

Whitespace, single quotes over double-quotes, etc.
Clean up attributes, metadata, README

* Name the cookbook in metadata
* Add `nginx` as a dependency to metadata
    * The `nginx_proxy` recipe needs it, so it’s a dependency
* Clean up attributes
* Rewrite README:
    * Represent attributes more cleanly
    * Set a better example for using the cookbook via wrapper cookbook
* Add `supports` to clearly specify targeted OS versions
Clean up nginx_proxy recipe

Consistency is key

* Align resource attributes’ arguments
* Use strings for modes
Drop unnecessary attributes for URL construction

Dynamically assigned attributes are best set inside recipes, but
better yet is to not use them when unnecessary.

The URL to download Archiva is only needed once, so there’s no need to
set it as an attribute.
Clean up default recipe

* Align resources’ attributes’ arguments
* Remove potentially inaccurate comment
    * Depending on attributes, it might not be installed in `/opt`
Properly use archiva home attribute for paths

Absolute paths means broken code if the attribute changes elsewhere.

This ensures we are consistent in the attribute usage.
Ensure node attributes are accessed consistently
Include apt::default to ensure `apt-get update` is run

Otherwise, convergences will fail on slightly out-of-date systems
E.g., Debian 7.2, Ubuntu 12.04
Add ignore files
Add CHANGELOG
Don't make Archiva jetty config file executable

No need for a config file to have exec enabled
Refactor nginx_proxy recipe to include default

Can't really have one without the other, and this
ensures that the `service[archiva]` resource is properly
available in the `nginx_proxy` recipe
Upgrade to Archiva 2.1.0

* Update jetty.xml config from Archiva 2.x package
* Ensure Java 7 is, in fact, installed
    - Java 7 (aka JDK 1.7) is required by Archiva 2.x
* Ensure all 32-bit things are removed
    - Lifted from the “official” Puppet module:
    - https://github.com/maestrodev/puppet-archiva/blob/d64f752f0cb445b7190357757eb5e83201590f89/manifests/init.pp
Add Berkshelf, RuboCop, Test Kitchen, etc.

* Config to test Ubuntu 12.04 & Debian 7.2
* RuboCop config to set sane expectations
* Base Berksfile
* Rakefile with handy test tasks
Add Travis CI style & unit testing
Add ChefSpec tests, use bleeding-edge ark

Need the bleeding edge ark so we have access to the ChefSpec matchers
that haven't landed in a released version yet.

Courtesy of that unreleased ark, some breaking changes to the LWRP:

* Add ark prefix_home to deal w/ ark changes
Add ServerSpec tests
Add Travis integration testing
Add all the badges!