maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stevo Slavić <ssla...@gmail.com>
Subject Re: application.xml generated in src
Date Mon, 05 Sep 2011 12:26:06 GMT
Small correction, instead of "All the plugins which generate sources
or resources do generate them in build output directory (target) ..."
should be "All the plugins which generate sources or resources do
generate them in build directory (target) ..."

Regards,
Stevo.

On Mon, Sep 5, 2011 at 2:22 PM, 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


Mime
View raw message