Skip to content

Rename the ClassPathBuilder.recursive(Class) to ClassPathBuilder.scan(Class) #48

@jgrandja

Description

@jgrandja

Given the following configuration:

@Bean
public CommonsExecWebServerFactoryBean authorizationServer() {
	return CommonsExecWebServerFactoryBean.builder()
		.mainClass(TestAuthorizationServerApplication.class.getName())
		.classpath((classpath) -> classpath
			.entries(MavenClasspathEntry.springBootStarter("oauth2-authorization-server"))
			.recursive(TestAuthorizationServerApplication.class)
		);
}

The recursive() method within classpath() is not clear to me on what it does. Can we consider changing the name?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions