Are you using Eclipse and m2eclipse? If so, I think it is WTP. If you only build from CLI you don't have this problem, right?
/Anders On Mon, Sep 5, 2011 at 14:22, Stevo Slavić <[email protected]> wrote: > Hello maven users, > > All the plugins which generate sources or resources do generate them > in build output directory (target), and by convention it is typically > a directory named by generator within target/generated-sources or > target/generated-resources. Correct me if wrong, IMO it's bad practice > to have sources and resources generated under src directory. > > I have maven-ear-plugin:2.6 with custom modules section (and > earSourceExcludes) configured - all the rest is default, including > "generateApplicationXml" and "generatedDescriptorLocation" > configuration parameters. Problem is whenever I build the project, > application.xml gets generated in src/main/application/META-INF > directory. Whenever version changes of referenced modules that > application.xml gets automatically updated. > > Anyone have any ideas who and why is generating this application.xml > in src/main/application/META-INF? > > Regards, > Stevo. > > --------------------------------------------------------------------- > 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]
