I'm trying to convert the source-generation of a legacy system into a mavenized project. Basically I need to run a couple of java classes from an already existing dependency (during the generate-sources phase I assume) which should populate my source directories. The problem I'm having is that it seems maven is ignoring my <resource> declarations during the generate-sources phase. Is this normal? To run the two java classes requried for source generation I'm using the exec-maven-plugin and it definitely doesn't find my declared resources on it's classpath..
I've managed to find some hacks around this, like telling the maven-resources-plugin to execute the 'resources' goal during generate-sources, but that doesn't seem so clean to me, as it's probably going to do it again during the generate-resources phase.. Any ideas?
