Community
Participate
Working Groups
Build ID: 20090621-0832 When using m2-eclipse to import a maven project into eclipse, jar-Modules that are depended on by ejb-Modules are given the jst.utility facet. On installation, this facet creates a default manifest file in the project's first source folder (see org.eclipse.jst.j2ee.project.facet.UtilityFacetInstallDelegate). In a maven project, this is typically the src/main/java folder. As of maven conventions, resource files, like the created manifest, should be placed in a folder src/main/resources, as src/main/java should only contain .java files. Is it possible to make the folder the manifest is created in configurable, so that a maven project could explicitly request the manifest to be created in src/main/resources ?
Assigning to Chuck for initial investigation.
Any progress on this? Importing Maven projects with m2e causes META-INF/MANIFEST.MF to be created in src/main/java. Also, I believe the facet installer should check to see if the manifest will be generated by Maven. If so, it shouldn't be creating a manifest at all.
Handling this as part of work integrating m2e-wtp project. (BTW - adding this extension to m2e will solve your MANIFEST problem today) *** This bug has been marked as a duplicate of bug 349575 ***