IMHO there isn't any part of m2e dealing with jar export configuration in
eclipse and your colleagues should use the maven one which is many more
powerfull.
but i may be wrong...

regards,
marc


2012/12/18 Igor Fedorenko <[email protected]>

> You should not need to do anything special to enable resource filtering
> in m2e. Does your build produce expected results on command line? Are
> you able to provide small standalone example project and steps to
> reproduce the problem using fresh/clean m2e 1.3 m4?
>
> For the reference, this document [1] explains how to enable resource
> filtering in general.
>
> [1] http://maven.apache.org/**plugins/maven-resources-**
> plugin/examples/filter.html<http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html>
>
> --
> Regards,
> Igor
>
>
> On 2012-12-18 5:46 AM, [email protected] wrote:
>
>> Dear all,
>>
>> certainly a very simple question for most of you...
>>
>> What configuration should I add to my pom.xml so that .properties files
>> stored in src/main/resources are propertly *filtered* and *adding* to
>> the jar on an export to jar request from eclipse ?
>>
>> I can easily add them unfiltered by removing the exclusion from Java
>> build path configuration but could not figure which plugin to add in
>> lifecycle mapping. I tried :
>>
>>      <pluginExecutionFilter>
>>              <groupId>org.apache.maven.**plugins</groupId>
>> <artifactId>maven-resources-**plugin</artifactId>
>>              <versionRange>[2.3,)</**versionRange>
>>              <goals>
>>                   <goal>resources</goal>
>>              </goals>
>>      </pluginExecutionFilter>
>>
>>
>> But it is not enough.
>>
>> What should I do ?
>>
>> I usually package with "bare" maven, and it just works. But some of my
>> colleagues usually export from eclipse, so...
>>
>> Thanks in advance,
>>
>> Ludovic
>> |
>> | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
>> |
>>
>> ______________________________**_________________
>> m2e-users mailing list
>> [email protected]
>> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>>
> ______________________________**_________________
> m2e-users mailing list
> [email protected]
> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to