Thursday, March 26, 2015

Set the p2 location during maven clean build

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>