[artifactory-release] Release version 2.2.2.RELEASE
[artifactory-release] Next development version
INT-2952 Update Bundlor Ranges for 2.2.3
INT-2957 Remove Unnecessary AspectJ Dependencies

Core, JDBC, JMX, JPA each had dependencies for both
weaver and rt jars. weaver is a superset of rt.

Remove dependencies on the rt jar.

Further JDBC, JPA have no dependencies on AspectJ.

Finally, the JMX dependency was compile, when only
testCompile is needed.

However, to avoid breaking applications using 2.2.x
that might be relying on the transitive dependency
it is left at compile in this release.
Merge pull request #766 from garyrussell/INT-2957-backport

* garyrussell-INT-2957-backport:
  INT-2957 Remove Unnecessary AspectJ Dependencies
Fix Typo in Reference

s/Adivce/Advice/
INT-2959 Correct Schema GW reply-timeout Doc.

Incorrectly indicated that an exception is thrown when
the gateway times out.
Merge pull request #771 from garyrussell/INT-2959-22x

* garyrussell-INT-2959-22x:
  INT-2959 Correct Schema GW reply-timeout Doc.
INT-2955 Fix Collection/Map Conversion

The fix for INT-2650 (to avoid unnecessary array copying) was
too general in that it also prevented types in collections and
maps from being converted.

Add tests to illustrate that such payloads are not converted.

Change code to only short circuit the conversion process if
the payload is a primitive array.

An existing test ensures that arrays are not copied.

Add more tests to complete coverage - discovered another
bug - the early exit after using a property editor to convert
to a String was never taken - it was testing against the
Class of the TypeConverter instead of the Type. If the
target type is a String, we don't need to perform
conversion after the property editor has done its
conversion.

Fix MessageHistory test (was testing MessageHeaders).
INT-2954 (S)FTP Fix AutoCreate Top Level Dir

When autocreateDirectory is true, and the top level directory
did not exist, the mkdirs failed because the adapter tried
to create a directory name with a zero length string.

This caused an 'String index out of range: 0' exception in
SFTP.

Stop iteration when 'pathSegment' is zero length.
[artifactory-release] Release version 2.2.3.RELEASE
[artifactory-release] Next development version
INT-2973 Fix 2.2.x Build with Spring 3.0.x

Remove 3.1 dependencies and tests.
INT-2991 Filtered Messages Marked SEEN

Missing else clause caused filtered email messages to
still be marked as SEEN. Also marked un-filtered messages
twice if a filter was present.

Add else; add tests.
INT-2972 FixedMethodFilter - Return Mutable List

Compatibility with SF 3.2.2

Previously the filter returned a Collections.singletonList() when
a match is found.

Spring 3.2.2 attempts to sort the results of MethodFilter.filter()
which fails because the list is immutable.

Continue to return Collections.emptyList() with no match; this
does not cause the sort to fail.

Several tests in MethodInvokingMessageProcessorTests reproduce this
problem with Spring 3.2.2.

Add a test to confirm the Collections.emptyList() does not cause
any problems.

cherry-picked to 2.2.x
INT-3011 Groovy Classloader and BeanFactory Fixes

See: https://jira.springsource.org/browse/INT-3011

INT-3011 Pass BeanClassLoader and BeanFactory to GroovyScriptFactory

INT-3011 Move 'implements BeanFactoryAware, BeanClassLoaderAware'
to AbstractScriptExecutingMessageProcessor and GroovyControlBusFactory
INT-3026 Header Enrichment Using Gateways

Add link to wiki page to reference doc.
INT-3022: SimpleResponseMessageExtractor NPE fix

https://jira.springsource.org/browse/INT-3022

Conflicts:

	spring-integration-ws/src/main/java/org/springframework/integration/ws/AbstractWebServiceOutboundGateway.java

(minor reformatting)
INT-2980 Jdbc Message Store: Polling Wrong Message

* Add Join to JDBC Query
* Add MySql-specific tests
* INT-2987 - MessageStore MySQL - Support Fractional Seconds
  - Update MySql Connector version to 5.1.24
  - Add DDL scripts for MySql versions 5.6.4 and higher

INT-2980 - Check also for Regions

* Add test

INT-2980/INT-2987 - Add Documentation

INT-2980 - Doc: Add info to What's New Section
INT-2980 / INT-2987 - Fix version number in doc (2.2.4)

* Fix import in test MySqlJdbcMessageStoreTests
* Remove test JdbcMessageStoreTests#testSameMessageAndGroupToMultipleRegions() as it relies on a fix that was not backported to 2.2.x (INT-2912)