maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: application.xml generated in src
Date Mon, 05 Sep 2011 12:35:09 GMT
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ć <sslavic@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message