Community
Participate
Working Groups
Build Identifier: m2e-wtp 0.13.0 only uses the Maven Library claspath container, as announced here : http://dev.eclipse.org/mhonarc/lists/m2e-users/msg00692.html Webapp and EAR libraries used to conflict with the Maven Library and introduce dependency leakage issues while running unit tests, so the are now removed from Maven projects' classpath. Similarly to bug #349575, the proper way would be to add a new DataModel variable that would basically allow m2e-wtp to not add these classpath containers. Something like : IDataModel modelConfig = .... ... modelConfig.setProperty(IJ2EEModuleFacetInstallDataModelProperties.ADD_WEBAPP_LIBRARY_CONTAINER, false); modelConfig.setProperty(IJ2EEModuleFacetInstallDataModelProperties.ADD_EAR_LIBRARY_CONTAINER, false); .. Default value would be true, to keep existing behaviour Reproducible: Always
Fred: If you could make a patch, I can definitely help to get it committed and approved, possibly for 3.3.1 if I can get approvals. Assuming you don't have the full dev environment to make a patch, if you can at least describe the few classes that changes need to be made in to give me a head start, I can definitely assist you in getting a patch made and committed. Ping me if you need help.
I'll probably won't start looking until after the Indigo release. I have my own release to take care of first ;-) But don't worry I know how to contact you :-)
> Default value would be true, to keep existing behaviour Chuck mentioned J2EEPreferences.getUseEARLibraries() and J2EEPreferences.getUseWebLibaries() as workspace preferences to add these libraries. I guess the default values I mentioned would need to be null, in order to keep using J2EEPreferences.getUseXYZLibraries()