how do you find out which annotations are in which spring version? - spring

How do you find out which annotations are in which spring versions?

Related

Compatibility of Spring, Spring Security and Spring Webflow

Is there a compatibility matrix for spring, spring security and spring webflow for recent releases resp. versions running under Java 7 and JSF 2.2? Or are simply all versions > some threshold compatible?
you can check on maven here and check the compile dependencies of the versions.
for example you can see that WebFlow 2.4.4 is compatible with Spring Security 4.1.0.RELEASE and Spring 4.3.0.RELEASE which is then compatible with jsf 2.2 (through spring-web)

Does #NodeEntityScan exist in Spring Boot 1.4.0.RELEASE?

According to http://docs.spring.io/spring-boot/docs/1.4.0.RELEASE/reference/htmlsingle/#boot-features-neo4j there is a #NodeEntityScan annotation that:
You can customize entity scanning locations using the #NodeEntityScan annotation.
According to http://docs.spring.io/spring-boot/docs/1.4.0.M3/api/org/springframework/boot/neo4j/NodeEntityScan.html it existed in version spring-boot 1.4.0.M3
But http://docs.spring.io/spring-boot/docs/1.4.0.RELEASE/api/org/springframework/boot/neo4j/NodeEntityScan.html suggests it doesn't exist in 1.4.0.RELEASE and I can't find any mention of it.
Does this annotation exist in spring boot 1.4.0.RELEASE ? Is this a case where the documentation has not been updated? What should be used instead?
Spring Boot 1.4 has the generic annotation org.springframework.boot.autoconfigure.domain.EntityScan (JavaDoc), which registers the packages to scan for entities for JPA, Neo4J, MongoDB, Cassandra and Couchbase.

Spring boot, Spring core dependency

I run spring boot 1.3.3.RELEASE, I have run into this issue that are solved in spring 4.3 https://jira.spring.io/browse/SPR-14114
When does spring boot support spring 4.3 ? Can I upgrade my spring-core dependency in current version of spring boot that I have.
When does spring boot support spring 4.3 ?
Spring Boot 1.4 will use Spring Framework 4.3 by default.
Can I upgrade my spring-core dependency in current version of spring boot that I have.
Yes. Spring Boot 1.3.x uses Spring Framework 4.2.x by default but it is compatible with Spring Framework 4.3.x. Assuming that you are using Maven and spring-boot-starter-parent as your pom's parent, you can use the spring.version property to control the version of Spring Framework that's used. For example:
<properties>
<spring.version>4.3.0.RC1</spring.version>
</properties>

how can I achieve similar functionality as <mvc:resources> in spring 3.0.0?

As I found this tag was introduced in spring 3.0.4 and I am using spring 3.0.0. So how can I achieve the same functionality.

spring 3.0.5-RELEASE and javaconfig

what is the correct maven dependency for spring 3.0.5-RELEASE and the javaconfig features (#Configuration, #Bean, etc.)?
I tried this:
http://mvnrepository.com/artifact/org.springframework.javaconfig/spring-javaconfig
But I got the error described here:
http://forum.springsource.org/showthread.php?t=74730
That thread seems to imply that javaconfig is bundled with spring 3, but when I remove the explicit spring-javaconfig dependency (1.0.0.m3) it can't find the symbols.
I'm sure I'm missing something simple...
JavaConfig is part of core Spring as of Spring 3.0. So you just need to have a dependency on spring-context.

Resources