Hi,
On 1/11/07, Tobias Jenkner <[EMAIL PROTECTED]> wrote:
I do not understand the reason for this change?
why do I have to configure the resources directory on my own? the maven
approach is convention over configuration, isn't it?
or is it deprecated to use resources in this place? where should I place
them instead?
Yes, it's deprecated. The ear resources directory has always been
src/main/application. In the early days, the resource plugin was bound
the the lifecycle which was a mistake. The problem is that the EAR
lifecycle is bundled with maven itself so it's pretty hard to modify
it.
The other problem is that the reourcesDir element does not appear as
deprecated in the generated doc while it's documented as is in the
code.
Resourcedir will be removed in EAR plugin 2.4 most probably. I just
need to be able to handle filters in the main resource directory
(src/main/application).
Do not hesitate if you have further questions/suggestions.
Regards,
Stéphane
thanks for your help, Tobias.
Tom Huybrechts schrieb:
> I had the same problem today....
>
> Let me quote somebody:
>
> you can still make it work if you explicitely set the resources directory
>
> <configuration><resourcesDir>${project.build.outputDirectory}</resourcesDir>
>
> </configuration>
>
> tom
>
> On 1/11/07, Tobias Jenkner <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> when I use the maven-ear-plugin in its latest (released) version 2.3, it
>> seams that the plugin does not copy the resources any more. The build
>> fails because it cannot locate the application.xml any more:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Deployment descriptor:
>>
c:\Workspace\server\application\target\mpa-application-M2-SNAPSHOT\META-INF\application.xm
>>
>> l does not exist.
>>
>> When I use the old version 2.2 everything works fine.
>> Is this a bug or is the fault on my side? Do I have to change my maven
>> configuration when using version 2.3?
>> Issue MEAR-47 is about removing the resourcesDir property - did that
>> influence the resource handling in general?
>>
>> thanks for your comments,
>> Tobias.
>>
>>
>> ---------------------------------------------------------------------
>> 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]
>
>
---------------------------------------------------------------------
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]