I've had some issues trying to add MANIFEST.MF
to my .gitignore
. Whenever I run a maven->Update Project in eclipse, the file shows back up in my git status as untracked.
I have tried adding the following lines to my git ignore
*.MF
MANIFEST
/MANIFEST.MF
**/MANIFEST.MF
**/MANIFEST.*
and a few other combinations with the wild card.
Each time I would remove the Manifest.mf, update the .gitignore, and run the maven update(or mvn clean install
from terminal), and the file shows up again as untracked. I have also made sure there isn't another .gitignore that is overriding this one.
I have also noticed the same problem occurring with .properties
files and some temp_persist_config_###.xml
files. But these occur during only the maven clean install from terminal. Would love any help on how to add these darn things to my .gitignore.
Contents of my MANIFEST.MF
Manifest-Version: 1.0
Build-Jdk: 1.7.0_79
Built-By: lencalot
Created-By: Apache Maven
X-Resource-Search-Path: /Users/Lencalot/myProject/myCoreAggregator/myExecutor/myService/src/main/webapp,/Users/Lencalot/myProject/myCoreAggregator/myExecutor/myService/src/main/resources,/Users/Lencalot/myProject/myCoreAggregator/myExecutor/myService
what it was:
Manifest-Version: 1.0
Build-Jdk: 1.7.0_79
Built-By: TeamMate1
Created-By: Apache Maven 3.1.1
X-Resource-Search-Path: E:\myProject\myCoreAggregator\myExecutor\myService\src\main/webapp,ETC...ETC..