Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CreateAutoconfigurationAction should be multi module aware #365

Closed
sanagaraj-pivotal opened this issue Aug 25, 2022 · 0 comments · Fixed by #369
Closed

CreateAutoconfigurationAction should be multi module aware #365

sanagaraj-pivotal opened this issue Aug 25, 2022 · 0 comments · Fixed by #369
Labels
type: enhancement New feature or request
Milestone

Comments

@sanagaraj-pivotal
Copy link
Contributor

What needs to be done

CreateAutoconfigurationAction works only with single module.

Background:
CreateAutoconfigurationAction is an action which serves the move of spring boot 2.7 to spring boot 3.0.
It finds a file named META-INF/spring.factoriesand one of its keys to file META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports

Acceptance Criteria

Given We have a spring multi module (version 2.7) with following folder structure

App
 |-- spring-app
 |------ pom.xml
 |------ src
 |--------- main
 |------------ resources
 |--------------- META-INF
 |------------------ spring.factories
 pom.xml

When apply action is applied on the above project

Then
The CreateAutoConfiguration should produce following structure:

App
 |-- spring-app
 |------ pom.xml
 |------ src
 |--------- main
 |------------ resources
 |--------------- META-INF
 |------------------ spring
 |--------------------- org.springframework.boot.autoconfigure.AutoConfiguration.imports
 pom.xml

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants