Well copying the content from https://github.com/eclipse/m2e-core/tree/master/org.eclipse.m2e.lifecyclemapping.defaults lifecycle mapping xml into the workspace lifecycle mapping file (which is a experimental feature) actually enabled the resource:resourece to work by changing both to
resources:resources | execute | workspace resources:testResources | execute | workspace Any reason it doesn't work by default ? Running m2e 1.9.1 with Eclipse 4.10 M1 Best regards, GAP On Tue, Nov 6, 2018 at 2:54 PM Gayan Perera <gayan...@gmail.com> wrote: > When importing a module where the modules has resource folders in both > test and main src levels, only the test resources are copied in the target > test-classes directory when the project is built. No resource are copied > from the main resources. I see a difference in project properties > Maven > > Lifecycle Mapping > > resources:resources | configurator | extension > > where as > > resources:testResources | execute | default > > any reason why the resource:resources has the different value and doesn't > work at all. I mean regardless whether the module is multi or single > module this doesn't work for main resources. > > Best regards, > GAP > >
_______________________________________________ m2e-users mailing list m2e-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/m2e-users