Is there a way to override the /META-INF/spring/batch/servlet/manager/manager-context.xml in spring-batch-admin-manager? I would like to remove the home and files menu (which are standard menus). Please find attached the screenshot of the navigation menu bar below.

I tried to create a duplicate of the manager-context.xml under src/main/resources/META-INF/spring/batch/override folder of my webapp and comment out the following lines of code.
<bean class="org.springframework.batch.admin.web.HomeMenu" parent="baseMenu"/>
<bean class="org.springframework.batch.admin.web.FilesMenu" parent="baseMenu"/>
But, it creates duplicate menus as the original manager-context.xml in the spring-batch-admin-manager.jar gets loaded first and my application specific manager-context.xml gets loaded later.
I also tried changing the way webapp context is initialized by loading the manager-context.xml only from my webapp. Here is my webapp-context.xml. I have added comments here to explain how I am trying to load the manager-context.xml only from my webapp.
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<import resource="classpath*:/META-INF/spring/batch/servlet/resources/*.xml" />
<import resource="classpath*:/META-INF/spring/batch/bootstrap/**/*.xml" />
<import resource="classpath*:/META-INF/spring/batch/override/**/*.xml" />
<!-- Instead of loading manager-context from spring-batch-admin-manager.jar,
the following line is commented out -->
<!-- <import resource="classpath*:/META-INF/spring/batch/servlet/manager/*.xml" /> -->
<!-- Load the manager-context.xml from my web application -->
<import resource="classpath*:/servlet/manager/manager-context.xml" />
<import resource="classpath*:/META-INF/spring/batch/servlet/manager/contoller-context.xml" />
<import resource="classpath*:/META-INF/spring/batch/servlet/manager/integration-context.xml" />
<import resource="classpath*:/META-INF/spring/batch/servlet/override/*.xml" />
<!-- Override the standard location for spring batch admin resources -->
<bean id="resourceService" class="org.springframework.batch.admin.web.resources.DefaultResourceService">
<property name="servletPath" value="/admin-console" />
</bean>
<bean id="parameterUnpackerFilter" class="org.springframework.batch.admin.web.filter.ParameterUnpackerFilter">
<property name="prefix" value="unpack_"/>
<property name="putEmptyParamsInPath" value="true"/>
</bean>
</beans>
Unfortunately, the application is not able to load any of the free-marker templates (*.ftl files) connected to the Jobs and Executions menu and hence I am not able to use any of menus. The ftl files which I am talking about are located under src/main/resources/org/springframework/batch/admin/web/manager folder in spring-batch-admin-manager source code.