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 13:18:25 GMT
OK, thanks!


On Mon, Sep 5, 2011 at 2:42 PM, Anders Hammar <anders@hammar.net> wrote:
> Thinking about this some more, I think it might actually be the
> wtp-m2e eclipse plugin that does this. You should ask on the m2e
> mailing list and Fred (the author) could quickly answer if it has been
> fixed in newer versions of that plugin.
>
> /Anders
>
> On Mon, Sep 5, 2011 at 14:35, Anders Hammar <anders@hammar.net> wrote:
>> 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
>
>

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


Mime
View raw message