The Batch profile example depends on a number of other Trooper projects. All dependencies are listed in the project's pom file. An easy-to-use build file that builds all dependencies is available as:
examples/pom-examples-batch-with-dep.xml
Use this pom file to build as follows:
cd examples mvn clean install -f ./pom-examples-batch-with-dep.xml
This extract from the Maven Reactor build order lists dependencies among various modules. A description has been added for each of the modules to explain their purpose:
[INFO] Executing tasks
[exec] parsing a schema...
[exec] Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>([Ljava/lang/Class;Ljava/util/Collection;Ljava/util/Map
;ZLcom/sun/xml/internal/bind/v2/model/annotation/RuntimeAnnotationReader;ZZ)V
[exec] at com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BindInfo.getJAXBContext(BindInfo.java:316)
[exec] at com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl$1.<init>(AnnotationParserFactoryImpl.java:63)