When you compile a Java project in Eclipse, the build process generates a new MANIFEST.MF file with default attributes and replaces the one you have created in your project's META-INF directory. This is why you are seeing the warning message.
To avoid this, you can instruct Eclipse to use your own manifest file instead of generating a new one. To do this, follow these steps:
Right-click on your project and select "Properties."
In the Properties dialog, navigate to "Java Build Path" and select the "Libraries" tab.
Expand the JRE System Library entry and select "Access rules."
Click "Add" and enter "META-INF/MANIFEST.MF" as the "Access rule pattern."
Select "Forbidden" as the "Resolution" and click "OK."
Click "OK" to close the dialog and save the changes.
Now, when you compile your project, Eclipse will use your own MANIFEST.MF file instead of generating a new one.