MODE-1963 Fixed the code that was un-registering node types: previously only the nodes were deleted from the cache, but the parent references were not updated.
MODE-1962 Updated exception handling during CND import, so that a clear error message is raised if a namespace declaration is missing.
MODE-1964 Fixed passing the removed properties to the connector instance.
MODE-1667 Changed RepositoryFactory so that it does not have "dual" functionality: that of a container and that of a repository factory. Created a new service interface & implementation named RepositoriesContainer which exposes the kind of operations that are required by the web extensions.
MODE-1667 Updated RepositoryManager to make use of the constants defined in the RepositoriesContainer interface.
MODE-1667 Updated the Javadoc of the RepositoriesContainer interface and added back the "implements Repositories" part to the RepositoryFactory, so that any existing clients aren't broken.
MODE-1965 Added explicit validation around mixin types not being able to inherit non-mixin types.
MODE-1966 Updated exception handling for readonly-jndi contexts
MODE-1967 Added LocalEnvironment integration test

Added a test case that verifies that programmatically configuring an Infinispan cache
and using it via the LocalEnvironment works as expected.
Corrected JavaDoc and compiler warnings/errors
MODE-1971 Fixed the copy operation so that connectors are involved in the id-creation step. Also, implemented the rename operation (via copy) for the FileSystem connector.
MODE-1968 Improved/simplified logging of persisted changes

When a session is saved, the WritableSessionCache now outputs
more details of the changes to the 'org.modeshape.jcr.txn' logging
context under TRACE logging. This logging context does not match
the normal conventions, but it makes it really easy to turn on
TRACE logging on this context and see all the save- and transaction-
related information.
MODE-1968 Corrected test case
MODE-1961 Fixed the processing of mixins when nodes are imported from an
XML file using IMPORT_UUID_COLLISION_REMOVE_EXISTING, multiple times. The problem was
caused by the fact that the same NodeKey is reused, causing in effect the
old persisted node(s) to be seen together with new nodes (which are
supposed to be created by the import). Thefore, mixins would not be set on
the new nodes because they appeared as "already existing".
MODE-1974 Corrected RepositoryStatistics

Made several corrections and improvements to the RepositoryStatistics
functionality, though most of the changes are for tests. Verified the
fix by running a test for 65 minutes (this test method is @Ingore'd
and will not run during any of the builds) and getting the same
windows as reported in the issue.
MODE-1961 Corrected compiler warnings from previous MODE-1961 commit
MODE 1972 Updated the copy operation so that it's possible to copy entire workspaces, but not possible to copy a subgraph from a source workspace into a target workspace root.
MODE 1972 Updated the clone operation so that it's possible to clone and entire workspace into another workspace. The root node, together with the system nodes are excluded from both clone & copy.
MODE-1978 Corrected the WritableSessionCache to fix NPE from recently-added code

A recent fix for MODE-1940 added code that updated the indexes if the
new parent was persisted (previously) and the child was moved. In some
cases when the new parent was not persisted in a previous save but instead
was created as part of this save, the code resulted in an NPE. The fix
was a simple change.

A test case was added to first replicate the problem. After the change,
the test now succeeds (and the S-RAMP build works completely).
MODE-1979 Add second past parsing of Teiid DDL to resolve table references for in-line FK constraints when referenced table has not been parsed yet
 - added postProcess() method in DdlParser and subclasses
 - added postProcess() method in StatementParser and subclasses