Commit Graph

332 Commits

Author SHA1 Message Date
Ignasi Barrera 2481193b07 Exclude Eclipse annotation processor files that are git ignored 2015-04-15 23:28:09 +02:00
Andrew Gaul 59590cd23c Upgrade to maven-checkstyle-plugin to 2.15
This also upgrades Checkstyle to 6.1.1.  Release notes:

https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11127&version=20631
https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11127&version=20762
http://checkstyle.sourceforge.net/releasenotes.html
2015-03-31 18:44:39 -07:00
Andrew Gaul 4f566d3b6e Address and suppress FindBugs warnings 2015-03-30 20:40:10 -07:00
Andrew Gaul e581552583 Upgrade to findbugs-maven-plugin 3.0.1
Release notes:

http://findbugs.sourceforge.net/Changes.html
2015-03-30 19:58:29 -07:00
Andrew Gaul 866ac3fabb Fix error-prone PreconditionsCheckNotNullPrimitive 2015-03-30 19:06:48 -07:00
Andrew Gaul 32ab9596be Enable Google error-prone for builds 2015-03-30 19:06:48 -07:00
Andrew Gaul 1e289b22d3 Update developers stanza 2015-03-29 18:34:16 -07:00
Ignasi Barrera f469cf8b51 Next development version 2.0.0-SNAPSHOT 2015-03-24 10:52:01 +01:00
Ignasi Barrera bb41ed4341 Apache jclouds 1.9.0 release 2015-03-24 10:35:42 +01:00
Ignasi Barrera 4db2b75add Fixes OpenStack extension namespace configuration
* Improves extension namespace configuration to use Guice multibindings
  so each provider can cleanly provide their own namespaces.
* Fixes the HPCloud Compute volume attachment namespace and adds the
  corresponding live tests.
* Fixes the Rackspace CloudServers UK volume attachment namespace.
2015-03-23 22:40:43 +01:00
Andrew Gaul 9b66c23c02 Upgrade to Modernizer Maven Plugin 1.3.0
Changelog:

https://github.com/andrewgaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.3.0
2015-03-10 16:06:51 -07:00
Andrew Gaul b46ec7eb29 Upgrade to duplicate-finder-maven-plugin 1.1.1
Upstream maintainer has changed according to:

https://github.com/ning/maven-duplicate-finder-plugin
2015-02-12 18:23:41 -08:00
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
Andrew Gaul bb3c9d2657 Upgrade to findbugs-maven-plugin 2.5.4
This also upgrades FindBugs to 2.0.3.  Notably this improves
compatibility with Guava constructs.  Changelogs:

https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11701&version=19833
http://findbugs.sourceforge.net/Changes.html
2014-06-08 23:09:53 -07:00
Andrew Gaul e868675da4 Upgrade to Surefire 2.17 2014-05-27 18:02:54 -07:00
Ignasi Barrera 4943ff9341 Fixed format and removed the trailing spaces 2014-05-18 23:59:39 +02:00
Chris Custine a623e68d08 JCLOUDS-571 - Fix build to suppress maven parent.relativePath warnings at start of build 2014-05-18 23:24:01 +02:00
Andrew Gaul 338966f3b9 Upgrade to Checkstyle 2.12.1
Checkstyle 2.12 changelog:
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11127&version=19723

Checkstyle 2.12.1 changelog:
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11127&version=20236

Checkstyle 5.7 changelog:
http://checkstyle.sourceforge.net/releasenotes.html
2014-05-14 00:09:11 -07:00
Andrew Gaul 4315d031d5 Upgrade to maven-findbugs-plugin 2.5.3
Changelog:
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11701&version=17239
2014-05-13 22:30:16 -07:00
Ignasi Barrera 2bbbe1d5fd JCLOUDS-563: Upgrade parent pom to version 14 2014-05-12 17:51:05 +02:00
Andrew Phillips 852f0fb342 Updating the Maven Site plugin version 3.1 -> 3.3
Also removing the stagingSiteURL parameter as we should not need
it for the site:deploy goal
2014-04-25 01:28:02 +02:00
Pasi Niemi 85a1a8c1dd JCLOUDS-516: Add ssh agent support via sch agentproxy 2014-03-27 09:04:34 +01:00
Andrew Phillips a1fc6558ed Removing unused Sonatype OSS plugin snapshot repository 2014-02-12 00:10:33 -05:00
Andrew Phillips d7d76291ae Moving dependencies for the Checkstyle plugin into a profile
Follow-on from 335f594
2014-02-12 00:10:20 -05:00
Ignasi Barrera 09a430744a Added OkHttp driver to support modern HTTP verbs 2014-01-13 10:47:39 +01:00
Andrew Gaul 285bc03e97 Upgrade to Apache Rat 0.10
Notably this release resolves RAT-138 which caused excessive run-times
with some inputs.  Changelog:

http://creadur.apache.org/rat/RELEASE_NOTES.txt
2013-12-26 13:13:50 -08:00
Andrew Bayer c1ee11d9bd Updating to 1.8.0-SNAPSHOT 2013-12-17 11:31:56 -08:00
Andrew Bayer 16ea4fb33f Switch to maven-compiler-plugin 3.1 2013-12-16 16:02:26 -08:00
Andrew Gaul 91906b90be Sync checkstyle config 2013-12-12 17:02:00 -08:00
Andrew Gaul 4cef85d1cd Address Checkstyle violations in tests 2013-12-09 14:40:07 -08:00
Andrew Gaul fc07a31412 Upgrade to Checkstyle 2.11
This addresses parsing errors in ConcurrentOpenSocketFinderTest and
RestAnnotationProcessorTest.
2013-12-09 14:38:33 -08:00
Andrew Phillips 981db34655 JCLOUDS-386: Removing the remote-resources plugin
We only use the shared resources for the Checkstyle config now, and that doesn't need to be "mixed in" to the project output directory
2013-11-22 18:57:44 -05:00
Andrew Gaul 0d8efbd97a Remove more incubator references
Fixes JCLOUDS-388.
2013-11-21 12:50:37 -08:00
Andrew Gaul 029e718435 Upgrade to maven-duplicate-finder-plugin 1.0.5
This adds a cache which accelerates mvn install:

1.0.3:

real    3m4.419s
user    3m29.749s
sys     0m48.495s

1.0.5:

real    1m48.533s
user    2m22.457s
sys     0m46.331s
2013-11-16 19:18:51 -08:00
Andrew Gaul d8490f872d Enable some Xlint warnings
Also address a handful of warnings.
2013-09-04 19:45:44 -07:00
Andrew Phillips f3df06aff0 Removing pre-ASF release profile configuration 2013-08-05 17:30:45 -04:00
Andrew Gaul f1673194ad Update URL for commons-logging-1.1.1-bin.tar.gz
This allows testCopyUrl to succeed against blobstore integration
tests.
2013-08-01 10:35:26 -07:00
Andrew Bayer 5ec05fed70 Allow skipping duplicate-finder-plugin by setting skipDuplicateFinder property to true 2013-07-17 12:42:40 -07:00
Ignasi Barrera 335f5943f4 JCLOUDS-149: Reuse checkstyle configuration 2013-07-02 18:02:03 +02:00
Andrew Bayer 8f7e623bed Adding DEPENDENCIES to rat exclude 2013-06-12 16:45:29 -07:00
Andrew Bayer 32ea520f34 Add license headers to src/test/resources where possible, more fine-grained RAT exclusions 2013-06-12 16:45:29 -07:00
Andrew Bayer a1c09f8391 Use default Apache remote resources 2013-05-31 10:14:23 -07:00
Andrew Bayer 883ea4b3bf Switch maven-remote-resources-plugin execution to default ID to override apache POM remote resources bundle 2013-05-29 16:37:43 -07:00
Andrew Bayer f217b304b6 Tweaking release plugin config 2013-05-28 14:46:42 -07:00
Andrew Bayer d821cd4ea9 JCLOUDS-66. Update Maven project metadata for ASF. 2013-05-23 12:57:44 -07:00
Andrew Bayer 5e970e1e14 JCLOUDS-80. Inherit apache-rat plugin config. 2013-05-21 16:56:41 -04:00
adriancole ed2f18a1af JCLOUDS-31. updated to ASF headers via mvn com.mycila.maven-license-plugin:maven-license-plugin:format 2013-05-16 21:30:37 -07:00
Andrew Bayer fb1980f50b JCLOUDS-16. Fixing remote resources. 2013-05-13 12:46:41 -07:00
Andrew Bayer 446ac67884 JCLOUDS-30. Switch to 2 space indents for POM files. 2013-05-13 12:04:43 -07:00
Andrew Bayer 259b04ff1c JCLOUDS-16. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos. 2013-05-13 12:04:42 -07:00
Olivier Lamy 7c16292da4 use Apache parent pom 2013-05-12 20:25:52 +10:00