We tend to remove or rename default repository when we need to clean build our maven component. Rather doing that simply create a new directory (may be within /tmp) and use that as the repository while building.
mvn clean install -Dmaven.repo.local=<PATH_TO_REPOSITORY>