Commit Graph

393 Commits

Author SHA1 Message Date
Olaf Flebbe d51d6e44bc JCLOUDS-1496: Update maven-compiler-plugin for increased JDK compatibility (#25)
* JCLOUDS-1496: Update maven-compiler-plugin for increased JDK compatibility

* increase maven-compiler-plugin version

* A space change to trigger jenkins again

* Another space change to trigger jenkins again
2019-04-24 16:12:45 +02:00
Olaf Flebbe 2fbf10c9c9 JCLOUDS-1495: maven plugins are not correctly referred to (#24) 2019-04-10 19:54:09 -07:00
Andrew Gaul d14276d9a5 Upgrade to modernizer-maven-plugin 1.8.0
Notably this adds support for inline suppressions.  Release notes:

https://github.com/gaul/modernizer-maven-plugin/releases
2019-02-03 13:09:12 -08:00
Andrew Gaul e15077ea78 Revert "Disable Javadoc lint"
This reverts commit 338f052579.
2019-02-02 11:00:40 -08:00
Andrew Gaul 338f052579 Disable Javadoc lint
mvn site running on Java 8 complains about thousands of missing
@return tags among other things.
2019-02-02 10:10:24 -08:00
Andrew Gaul 91b0498b01 Remove JavaScript from footer
Addresses an error while building Javadoc.
2019-02-01 23:19:01 -08:00
Jean-Baptiste Onofré 3135aca109 Update scm to gitbox 2019-01-06 07:54:38 +01:00
Ignasi Barrera 3839432757
Configure Java 7 language level 2018-07-11 09:42:18 -07:00
Andrew Gaul 1f6ec343c0 Upgrade to SpotBugs 3.1.3
This replaces FindBugs.  Also address a few violations.
2018-05-21 22:06:27 -07:00
Andrew Gaul af077af2dd JCLOUDS-1333: Upgrade animal sniffer to 1.16
animal sniffer 1.14 gives compatibility with Java 8.
2018-04-14 12:33:34 -07:00
andreaturli d17487b223 fix typo in project.version
- from 2.2.0-SNAPSHOST to 2.2.0-SNAPSHOT
2018-02-21 16:45:43 +01:00
andreaturli a5db565581 Next development version 2.2.0-SNAPSHOST 2018-02-16 11:23:12 +01:00
andreaturli 9273bd56ad Apache jclouds 2.1.0-rc3 release 2018-02-16 11:20:21 +01:00
Andrew Gaul 2a56db0957 JCLOUDS-1101: Upgrade to modernizer-maven-plugin 1.6.0
This resolves issues with Java 9.  Release notes:

https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.5.0
https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.6.0
2018-01-17 12:36:14 -08:00
Ignasi Barrera 6f7e4b92b0
Define the JDK version in a Maven property 2017-11-30 09:04:46 +01:00
Ignasi Barrera 530dbd3de8 Add Jenkins profile to use Maven toolchains 2017-10-23 11:37:32 +02:00
Andrew Gaul 3591b2aafd Update duplicate-finder-maven-plugin ignores
Eliminates warnings of the form:

[WARNING] <ignoreResources> has been deprecated and replaced with <ignoreResourcePatterns>. It will go away in version 1.2.0. Please update your POM accordingly!
2017-09-22 10:46:34 -07:00
Andrew Gaul 9628a9064e Upgrade to EasyMock 3.4
Also switch from unmaintained easymockclassextension to easymock.
Release notes:

https://github.com/easymock/easymock/releases
2017-09-17 15:45:46 -07:00
Andrew Gaul 5ef5f5423c Disabling annotation processing lint warnings
Eliminates 138 warnings of the form:

warning: No processor claimed any of these annotations:
2017-09-07 23:51:50 -07:00
Andrew Gaul ff8fe2316b Specify jsr305
This eliminates warnings of the form:

/home/gaul/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar(com/google/common/util/concurrent/Monitor.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
2017-09-07 23:51:50 -07:00
Andrew Gaul 7f446a638d Upgrade to Apache Rat 0.12
Release notes:

https://creadur.apache.org/rat/changes-report.html#a0.12
2017-09-07 01:21:46 -07:00
Andrew Gaul 59424cf9ed Upgrade to duplicate-finder-maven-plugin 1.1.2
Release notes:

https://github.com/basepom/duplicate-finder-maven-plugin/releases/tag/duplicate-finder-maven-plugin-1.1.2
2017-09-07 01:13:14 -07:00
Andrew Gaul 334c6c8e9f Upgrade to auto-service 1.0rc3 2017-08-30 12:23:49 -07:00
Andrew Gaul df43b36487 Avoid injecting on final fields
This can cause thread visibility issues.  Found via error-prone.
2017-08-28 21:08:59 -07:00
Andrew Gaul 5e12796a34 Add error_prone_annotations
This allows jclouds to compile with Guava 20.  Earlier versions
implicitly provided this.  Reference:

https://github.com/google/guava/issues/2837
2017-08-24 19:06:23 -07:00
Andrew Gaul 31d27e10ae JCLOUDS-1225: Correct Guava 18.0 version for OSGi 2017-08-24 18:37:01 -07:00
Andrew Gaul 04a3f6fd87 JCLOUDS-1225: Upgrade to Guava 18.0
Combined with previous commits, this allows applications to use up to
Guava 23.
2017-08-22 17:14:22 -07:00
Andrew Gaul 0bc935dd57 Remove clojure bindings
These have not seen any development in many years.
2017-07-10 11:39:11 -07:00
Andrew Gaul 4183fb744d JCLOUDS-1101: Upgrade to auto-value 1.4.1
Release notes:

https://github.com/google/auto/releases/tag/auto-value-1.4.1
https://github.com/google/auto/releases/tag/auto-value-1.4-rc3
2017-04-22 13:08:54 -07:00
Svetoslav Neykov 8875c0e851 Create and attach tests sources as artifacts 2017-03-28 08:21:18 +02:00
Andrew Gaul 49f4617afa JCLOUDS-1101: Upgrade to auto-value 1.4-rc2
This resolves issues using Java 9.  Release notes:

https://github.com/google/auto/releases/tag/auto-value-1.4-rc2
2017-03-07 00:18:21 -08:00
Guglielmo Nigri 5a3cfe5dbe Fix okio version range for jclouds-okhttp
OSGi bundle for jclouds-okhttp should import okio package with correct
version range.
Currently, there is no version range specified, causing it to be wired
to a higher version than intended in complex environments that have more
than one bundle for okio installed.
2016-11-18 16:05:52 +01:00
Ignasi Barrera d290705419 Next development version 2.1.0-SNAPSHOT 2016-11-15 01:12:59 +01:00
Ignasi Barrera 6a3a37f4e0 Apache jclouds 2.0.0-rc3 release 2016-11-09 22:30:45 +01:00
Ignasi Barrera 0b48d4a25a Make code compatible with newer OSGi framework versions 2016-11-03 09:43:36 +01:00
Zack Shoylev af09f3a5ab Remove PackageLocation check 2016-10-26 19:51:45 -05:00
Andrew Gaul 37101b7825 Enable LongLiteralLowerCaseSuffix
Readers can confuse this with 1.
2016-10-23 14:26:03 -07:00
Andrew Gaul 1b6cd08545 Enable more error-prone checks 2016-10-23 12:06:43 -07:00
Andrew Gaul 86848e3ddd Upgrade to findbugs-maven-plugin 3.0.3 2016-04-27 20:29:11 -07:00
Ciprian Ciubotariu 9a20cadaf9 Improve version range specification for guava
The defaults of maven-bundle-plugin set the required version range to
only match guava-16, but the actual usage of guava within jclouds allows
any version after guava-16.

This helps dependent projects mix jclouds with bundles using other guava
versions within OSGi environments.
2016-03-16 15:35:24 +01:00
Reijhanniel Jearl Campos 9a8b4d074b Move html responses to a subfolder for cleaner rat plugin exclude 2016-02-23 19:30:03 +08:00
Ignasi Barrera f30182da69 Properly exclude ProfitBricks test pages 2016-02-19 17:25:57 +01:00
Reijhanniel Jearl Campos d05cecc39c Update pom details for ProfitBricks 2016-02-19 23:02:29 +08:00
Alex Heneveld 4ecb078092 JCLOUDS-1075: Clean up logic and docs for setting proxies 2016-02-08 19:12:04 -05:00
Andrew Gaul 6360023f09 Remove unnecessary static imports
Found via error-prone.
2016-01-29 09:14:55 -08:00
Andrew Gaul eb6f16e2f9 Enable CollectionIncompatibleType
Also suppress two false positives.
2016-01-29 08:50:09 -08:00
Andrew Gaul 4be8a2eb72 Add missing hashCode methods
Found via error-prone.
2016-01-29 08:37:46 -08:00
Andrew Gaul cf44ffd850 Increase maven-javadoc-plugin memory limit
Should address recent OutOfMemoryError seen on CloudBees.
2016-01-26 20:53:47 -08:00
Andrew Gaul fcfc94ef6c Increase maven-javadoc-plugin memory limit
Should address recent OutOfMemoryError seen on CloudBees.
2016-01-22 09:57:27 -08:00
Ignasi Barrera edacad2b6e Amend poms after promoting DigitalOcean v2 2016-01-21 01:02:58 +01:00
Andrew Gaul cc6d45f6d4 Upgrade to testng 6.8.21
Note that this is the last version compatible with Java 6.  Changelog:

https://github.com/cbeust/testng/blob/master/CHANGES.txt
2015-12-18 16:29:34 -08:00
Andrew Gaul b47c50b7a5 Correct malformed format strings
Found via error-prone.
2015-12-12 08:53:08 +08:00
Andrew Gaul 28d090139d Make inner classes static when possible
Found via error-prone.
2015-12-12 08:53:07 +08:00
Andrew Gaul 06e379d7a5 Remove @Nullable from methods returning primitives
Found via error-prone.
2015-12-12 08:53:07 +08:00
Andrew Gaul df48540cb7 Enable FindBugs CheckRelaxingNullnessAnnotation
Also fix up warnings.
2015-11-13 17:44:55 -08:00
Andrew Gaul 14e566e151 Upgrade to modernizer-maven-plugin 1.4.0
Release notes:

https://github.com/andrewgaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.4.0
2015-11-05 17:09:48 -08:00
Andrew Gaul f832ad00a7 Upgrade to error-prone 2.0.5
Release notes:

https://groups.google.com/forum/#!topic/error-prone-announce/vHvZx2MOpvg
2015-09-28 19:57:41 -07:00
Stuart Hendren 4f649b43f4 JCLOUDS-827: Upgrading sshj to 0.12.0 (new group ID too)
Also upgraded jsch.agentproxy.* to 0.0.9 and bouncycastle
to 1.51 - required for the sshj change.
2015-08-12 13:47:41 -04:00
Andrew Gaul d5357f76e8 Upgrade to error-prone 2.0.4
Release notes:

https://groups.google.com/forum/#!topic/error-prone-announce/syl8dKP_Aow
https://groups.google.com/forum/#!topic/error-prone-announce/iZI0yixYDms
https://groups.google.com/forum/#!topic/error-prone-announce/v7aBgfhH-u8
https://groups.google.com/forum/#!topic/error-prone-announce/-f6Cv6jKvig
2015-07-30 15:40:03 -07:00
Andrea Turli 61b06329d8 create java-xmlbuilder.version property for maven
add java-xmlbuilder to dependencyManagement so downstream project don't need to specify the version
2015-06-29 08:47:54 +02:00
Zack Shoylev 6fa59ca22d Upgrade to autovalue 1.1; Adds autovalue/gson builders tests 2015-05-21 16:26:11 -05:00
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