Hi,
  I checked out the 2.2 source code and use 'mvn compile' to compile the source code and got the following error:

[INFO] Compilation failure

C:\apache\cocoon.home\svn\trunk\core\..\src\java\org\apache\cocoon\components\fl
ow\ContinuationsManagerImplMBean.java:[20,28] package org.mortbay.util.jmx does
not exist

C:\apache\cocoon.home\svn\trunk\core\..\src\java\org\apache\cocoon\components\fl
ow\ContinuationsManagerImplMBean.java:[25,24] package javax.management does not
exist

C:\apache\cocoon.home\svn\trunk\core\..\src\java\org\apache\cocoon\components\fl
ow\ContinuationsManagerImplMBean.java:[26,24] package javax.management does not
exist

C:\apache\cocoon.home\svn\trunk\core\..\src\java\org\apache\cocoon\components\fl
ow\ContinuationsManagerImplMBean.java:[35,8] cannot resolve symbol
symbol  : class ModelMBeanImpl
location: class org.apache.cocoon.components.flow.ContinuationsManagerImplMBean
....

It seems the dependency set is not well maintained.

Regards,
Rice