Switch to generating the rtb objects in target/generated-sources and use the maven build helper to include them.