Red Hat Bugzilla – Bug 835574
When setting up workspace, the dynamically generated classes are not added to classpath
Last modified: 2013-09-01 06:06:08 EDT
Description of problem:
There are few modules, where some Java classes are generated during mvn build process. Unfortunately, IDE does not know about them and reports many errors. The generated sources come from xjc (xml schema to Java classes), antlr (Parser Generator) and GWT (Messages, Async interfaces).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.pull the project sources using git
2.import the project as a maven project
3.wait for errors
5202 errors in Eclipse
git log master
time: Tue Jun 26 18:02:25 2012 +0200
author: Jirka Kremser - email@example.com
message: [BZ 835574 - When setting up workspace, the dynamically generated classes are not added to classpath] Solved using the org.codehaus.mojo:build-helper-maven-plugin. It adds the generated sources. NOTE: the mvn "process-resources" should be checked in the IDE Maven settings
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.