Commit Graph

279 Commits

Author SHA1 Message Date
Jeremy Daggett 24f9af7c68 Update AutoValue to version 1.0 2015-01-16 17:44:50 -08:00
Jeremy Daggett e09b6158ad Update okhttp to version 2.2.0 2015-01-14 13:04:58 -08:00
Andrew Gaul 2ef84dae85 Upgrade to modernizer-maven-plugin
Release notes:

https://github.com/andrewgaul/modernizer-maven-plugin/releases
2015-01-11 21:07:15 -08:00
Ignasi Barrera 6b350fb6b7 JCLOUDS-792: Configure chef-client security attributes
This commit also improves some internal behavior related to the
bootstrap configuration generation, and deprecated some methods that
will be removed in upcoming versions.

* Removes all methods that return the bootstrap DataBag or the raw
  configuration json to return the BootstrapConfig object instead.
* Deprecates all methods that provide support for old Chef versions.
* Formats the Enterprise Chef provider according to the jclouds
  formatting guidelines.
* Deprecates the ChefContext view. That view is not an abstraction and
  only provides access to the ChefService. It can be obtained from the
  ChefApi itself.
2015-01-05 14:15:54 +01:00
Jeremy Daggett a2a410d05a Upgrade assertj-core to 1.7.0 and assertj-guava to 1.3.0 2014-12-03 09:45:45 -08:00
Ignasi Barrera 902f1b4105 JCLOUDS-744: Upgrade to OkHttp 2.1.0 and use its native API 2014-11-27 18:44:08 +01:00
Ignasi Barrera 7775f1a6b0 JCLOUDS-747: Configured Animal Sniffer plugin to check runtime compatibility 2014-11-27 18:06:19 +01:00
Adrian Cole 41e1cf118d Add dependency management for each auto project independently vs relying on transitivity. 2014-11-18 21:24:07 -08:00
Adrian Cole e21cbd09cb JCLOUDS-750 support serializing auto-value types without custom type adapters. 2014-10-30 07:19:01 -07:00
Adrian Cole fa809beceb JCLOUDS-534 Set floor version of guava to 16.0.1 2014-10-29 17:01:27 -07:00
Andrew Phillips ae8b7636df Moving Guava version config into <dependencyManagement>
- Follow-up to c426e7e: allows overriding of the Guava version
  in modules that inherit from core
- Also consolidating dependency versions
2014-10-28 23:16:19 -04:00
Andrew Phillips 58bd4da793 Cleaning up jsch dependencies
- Moving jsch dep to the driver
- Updating jsch.agentproxy version in conflicting dep list
  Follow-up to b3882cb
2014-10-28 23:15:39 -04:00
Adrian Cole e184091951 JCLOUDS-750 Permit tools like AutoService to generate service loader files. 2014-10-28 08:58:27 -07:00
Andrew Phillips c426e7ec24 Extracting Guava version into a property
This allows it to be overridden in CI jobs etc.
2014-10-26 18:31:37 -04:00
Adrian Cole 0a801d2ad2 Revert "JCLOUDS-652: Require JDK 7"
This reverts commit 5e8bd02c93.
2014-10-25 10:28:34 -07:00
Ignasi Barrera c9dfb07d02 Aligned pom.xml files for Chef 2014-10-10 15:11:27 +02:00
Andrew Phillips e6bf0cc9af Moving the invocation of checkstyle:check from 'validate' to 'verify'
Also removing the *additional* invocation of checkstyle:check, which
was unnecessary and caused builds to break into the bargain.
2014-10-07 00:46:13 -04:00
Andrew Phillips 8f64133c2c Cleaning up formatting in project POM 2014-10-06 22:44:10 -04:00
Andrew Phillips b0f2962c22 Revert "JCLOUDS-736: Revert "Fail build on checkstyle warnings""
This reverts commit 80d51f409a.
2014-10-06 18:14:16 -04:00
Andrew Phillips 67a0498b7e Overriding checkstyle-plugin config in jclouds-resources
Otherwise, fails with a self-dependency
2014-10-06 18:14:15 -04:00
Andrew Phillips f925796905 Moving checkstyle-plugin config to profiles 2014-10-06 18:14:14 -04:00
Andrew Phillips ce76144e3b Overriding modernizer-plugin exclusion file location for jclouds-project
Needs to use the local exclusions file, not the one from the
jclouds-resources dep (which is not present in jclouds-project)
2014-10-05 18:36:15 -04:00
Andrew Phillips 79d4b48d01 Adding apache-snapshots as a plugin repo
A couple of plugins depend on jclouds-resources
2014-10-05 18:33:01 -04:00
Andrew Gaul 1788ad7d58 Revert "Revert "Revert "Unhook modernizer from verify phase"""
This reverts commit 2c790c897e.  We
originally unhooked modernizer in a misguided attempt to address
Checkstyle configuration issues fixed by:
80d51f409a.
2014-10-03 13:46:13 -07:00
Andrew Gaul 80d51f409a JCLOUDS-736: Revert "Fail build on checkstyle warnings"
This reverts commit 9384575d1e.  This
caused errors of the form:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.12.1:check (checkstyle) on project jclouds-core: Failed during checkstyle execution: Unable to process configuration file at location: resources/checkstyle.xml: Cannot create file-based resource:invalid distance too far back -> [Help 1]

Likely due to running checkstyle during the validate phase which runs
before the package phase where checkstyle would find its resource jar.
2014-10-03 13:08:49 -07:00
Andrew Phillips 641bc6fda0 Excluding checkstyle.xml from Checkstyle checking
Since 5bac61d9 (update to Checkstyle 2.13), fails on itself
as it includes '@author' in a module definition.
2014-10-03 08:38:13 -05:00
Andrew Gaul 5bac61d94b Upgrade to Maven Checkstyle Plugin 2.13
This release fixes an issue we encountered with parallel builds:

https://jira.codehaus.org/browse/MCHECKSTYLE-230
https://jira.codehaus.org/browse/MCHECKSTYLE-244

Release notes:

http://www.mail-archive.com/announce@maven.apache.org/msg00611.html
2014-10-01 13:09:01 -07:00
Andrew Gaul 2c790c897e Revert "Revert "Unhook modernizer from verify phase""
This reverts commit bc4b89feb1.
2014-09-23 13:10:58 -07:00
Andrew Gaul bc4b89feb1 Revert "Unhook modernizer from verify phase"
This reverts commit 0d67da75e9.
2014-09-23 11:29:25 -07:00
Andrew Gaul 0d67da75e9 Unhook modernizer from verify phase
modernizer erroneously requires Maven 3.0.5 but BuildHive is confused
about this version since jclouds does not specify it.
2014-09-22 22:29:44 -07:00
Andrew Gaul 1f9c4cc2a7 Move modernizer from validate to verify phase
Validate runs before the compile phase and modernizer requires the
compiled class files so running after the compile phase makes more
sense.
2014-09-22 22:02:59 -07:00
Andrew Gaul 2d70087bfa Add modernizer-maven-plugin to build
This plugin finds uses of legacy APIs:

https://github.com/andrewgaul/modernizer-maven-plugin
2014-09-22 21:57:55 -07:00
Jeremy Daggett 0ac7dfd377 Add assertj-core and assertj-guava dependencies to project pom 2014-09-17 15:06:00 -07:00
Jeremy Daggett 9384575d1e Fail build on checkstyle warnings 2014-09-10 11:41:30 -07:00
Andrew Gaul 46daeae1d9 Address masked fields FindBugs warning 2014-09-02 15:24:34 -07:00
Andrew Gaul fdef97d527 Add suppressions to FindBugs 2014-08-30 14:34:59 -07:00
Andrew Gaul ba9c4b972a Upgrade to maven-findbugs-plugin 3.0.0
Notably this release include support for Java 8.  Changelog:

http://findbugs.sourceforge.net/Changes.html
2014-08-26 18:16:18 -07:00
Ignasi Barrera b2cb898123 Ignore jEnv files 2014-08-26 23:54:44 +02:00
Chris Custine 192785dbae Move checkstyle copyright header into checkstyle.xml 2014-08-18 18:55:52 -06:00
Andrew Gaul 4e166e3a20 Enforce ASF copyright header via Checkstyle 2014-08-11 10:26:43 -07:00
Andrew Gaul d9650ccdc8 Remove maven.compile.optimize
This setting has no effect.  Reference:

http://stackoverflow.com/questions/4218721/optimizing-java-compiler-during-a-maven-build
2014-08-09 07:09:33 -07:00
Andrew Gaul 5e8bd02c93 JCLOUDS-652: Require JDK 7
Moving to Java 7 allows jclouds to use more language and library
features such as try-with-resources and HTTP client improvements.
2014-08-09 00:28:47 -07:00
Andrew Phillips e3d9851216 Up to 2.0.0-SNAPSHOT after the 1.8.0 release 2014-08-05 09:10:24 +02:00
Ignasi Barrera 8cb2cb449b Revert "Move jclouds-chef to the main jclouds repo"
This change will be added again after the 1.8.0 release.

This reverts commit 867c7a407c.
2014-07-29 00:38:46 +02:00
Ignasi Barrera 867c7a407c Move jclouds-chef to the main jclouds repo 2014-07-28 21:08:54 +02:00
Andrew Gaul b432acd834 Upgrade to logback 1.1.2
Changelog:
http://logback.qos.ch/news.html
2014-07-10 10:14:27 -07:00
Andrew Gaul 05c37c2c77 Consistently use Square's mockwebserver
Google mockwebserver merged into OkHttp as per:

https://code.google.com/p/mockwebserver/
2014-07-03 14:39:07 -04:00
Ignasi Barrera e19c5e9fb6 Exclude the CONTRIBUTING file from the rat check 2014-07-02 17:36:26 +02:00
Andrew Gaul 5118e16660 Upgrade to testng 6.8.8
Partial changelog:

https://github.com/cbeust/testng/blob/master/CHANGES.txt
2014-06-30 19:04:44 -07:00
Andrew Gaul ad56db2a4d Upgrade to OkHttp 1.6.0
This upgrades both drivers/okhttp and mockwebserver.  Changelog:

https://github.com/square/okhttp/blob/master/CHANGELOG.md
2014-06-18 19:49:50 -07:00