Hi Olaf, I take it that you don't have a well formed maven plugin for generating your source files.
If the above is true, then you would be better off developing a maven plugin that generates your source file and adds the directory to your POM dynamically. Ref to Pg 147 in Better builds with Maven on how to add a new source directory from within your mojo. Thanks Lakshman > -----Original Message----- > From: Olaf Kossak [mailto:[EMAIL PROTECTED] > Sent: Friday, 22 September 2006 10:54 PM > To: [email protected] > Subject: Second source directory for generated code > > Hi there, > > after googeling for an hour without result I need some help: How can I > separate my handwritten source code under version control from my generated > code (not under version control) Some manually and generated classes are > interdependent and need to be placed in same packages. The perfect solution > in Eclipse are two source directories, src/main/java which one is under > version control and target/src-gen/main/java which is not versioned. > > But how can I tell about this to Maven2? > > Olaf Kossak > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
