Почему в описании org.springframework.security.config сказано, что «Ни один код в этих пакетах не должен использоваться непосредственно в приложениях». ?
На (baeldung) весна-безопасность-с-maven говорят использовать `
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>${org.springframework.security.version}</version>
**<scope>runtime</scope>**
</dependency>
`
Но в моем приложении мне нужна область компиляции ...




Говоря
"None of the code in these packages should be used directly in applications."
они хотят сказать:
"do not call the methods or use classes in this package directly in your code"
аннотации включены?
Как пишет Баелдунг в своем руководстве:
No application code should compile against this dependency. Так зачем вам это нужно как зависимость области компиляции?