On Jan 7, 2008 5:19 PM, Kallin Nagelberg <[EMAIL PROTECTED]> wrote: > I would say, theoretically, it should. However, to accomplish it properly, > it would have to execute the given pom and analyze the results to see what > source folders are being looked at... Afer all, any plugin could be jumping > in and adding source folders, even without having them declared anywhere in > the pom. >
This is indeed a problem. That's why the eclipse:eclipse goal is supposed to run the lifecycle up to generate-resources first (@execute phase="generate-resources"), so plugins have a change to add source folders. Can you verify that this indeed happens - and that the goal to add the source folder is run before generate-resources ? Tom > > There is also the problem where you have non-java sources. I am using groovy > in my project, and IDEA/eclipse does not recognize that as a source folder > via the pom. > > I would suggest you do what I did, and split your multi-source artifact into > two seperate ones. If they are heavily dependant on each other, you may wish > to factor out the dependencies into a third module which could be depended > on by your two new artifacts. > > Alternatively, you could just tell everyone on your team to go add the > appropriate source folders manually whenever they open a project. > > On Jan 7, 2008 9:16 AM, Jan Torben Heuer <[EMAIL PROTECTED]> > wrote: > > > > > > Kallin Nagelberg wrote: > > > > > I was using this plugin for a bit to add an additional source directory, > > > but intellij IDEA does not recognize the additional source. I ended up > > > having to create a new artifact for the second set of sources. > > > > eclipse (or the maven-eclipse-plugin) does not add the sourcefolder as > > well. > > Or should it? > > > > Jan > > > > > > --------------------------------------------------------------------- > > 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]
