spring-projects-experimental / spring-fu

Configuration DSLs for Spring Boot
Apache License 2.0
1.67k stars 138 forks source link

Java 9 modules : split package org.springframework.boot.context.properties #256

Open pull-vert opened 4 years ago

pull-vert commented 4 years ago

This leads to this error when module-info.java requires spring.boot and spring.fu.kofu (that includes module spring.fu.autoconfigure.adapter) :

java.lang.module.ResolutionException: Modules spring.boot and 
spring.fu.autoconfigure.adapter
export package org.springframework.boot.context.properties

Solution is to change this package in project spring-fu-autoconfigure-adapter.

Edit : Even if the goal is to have these new classes included in spring.boot module, it should use a different package as long as it is provided as an external incubating module to allow jigsaw module to work.

sdeleuze commented 4 years ago

Yeah I have to do that in order to be able to access package private Spring Boo classes, but let's put that in 0.4 bucket in order to work with Spring Boot team to avoid that.