.withRole(BEHAVIOUR).ofType(typeLoader.load(String.class)); extensionDeclarer.withExternalLibrary(ExternalLibraryModel.builder() .withName("spring-beans") .withDescription("Spring Beans (http://projects.spring.io/spring-framework). Based on the application usage of the Spring Framework, other spring dependencies may be required.") .withType(DEPENDENCY).build()); extensionDeclarer.withExternalLibrary(ExternalLibraryModel.builder() .withName("spring-context") .withDescription("Spring Context (http://projects.spring.io/spring-framework). Based on the application usage of the Spring Framework, other spring dependencies may be required.") .withRole(BEHAVIOUR).ofType(typeLoader.load(String.class)); extensionDeclarer.withExternalLibrary(ExternalLibraryModel.builder() .withName("spring-security-core") .withDescription("Spring Security Context (http://spring.io/spring-security). Based on the application usage of the Spring Framework, other spring/spring-security dependencies may be required.")