in our case the dispatcherinfo.xml was not moved to /target/classes/
Our solution is to define the Dispatcher.java/dispatcherinfo.xml directory as a resource directory ...
Code:
<resource>
<targetPath>classes/path/to/dispatcherinfo_xml</targetPath>
<directory>${basedir}/src/main/path/to/dispatcherinfo_xml</directory>
<includes>
<include>**.xml</include>
</includes>
<filtering>false</filtering>
</resource>
Kind, regards,
Daniel