*
* @param repo the component repository, only used to register secondary items like lifecycle, not null
* @return the convention master, not null
*/
protected ConventionMaster createConventionMaster(final ComponentRepository repo) {
ConventionMaster master = new InMemoryConventionMaster();
final ComponentInfo info = new ComponentInfo(ConventionMaster.class, getClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteConventionMaster.class);
repo.registerComponent(info, master);
if (isPublishRest()) {