add ear subproject.