To avoid any complications with functional changes between Hibernate 5
and Hibernate 6, this uses the hibernate-core-jakarta v5 module rather
than hibernate-core v6. This requires a specific dependency exclusion
in spring-webflow.gradle to make sure that hibernate-entitymanager
never causes both versions to be loaded. This can be simplified after
eventual adoption of Hibernate 6.
The Spring snapshot repository needs to be referenced in build.gradle
for this early stage work on SWF 3.
It is easier to standardise this now in one commit rather than
during later bulk changes where it would complicate the review process.
This is literally the result of running "dos2unix" on appropriate files.
There is no attempt here to likewise standardise the spaces/tabs
conventions in the codebase.
This commit removes the propdeps plugin.
"provided" configurations are replaced with "compileOnly", "testCompile"
configurations.
The "optional" configuration supported by propdeps is now replaced by a
local Gradle plugin defining a specific configuration for that.
As a result of that change, optional/provided dependencies are not
published with the POMs anymore.
This commit introduces the Spring dependency management Gradle
plugin. All dependency versions and BOMs are now managed in the
root project and declared in the modules directly.
Remove `extends TestCase` from all test classes and add `@Before`,
`@After`, and `@Test` method annotations.
Note that class `JsfUtilsTests` still indirectly inherits from
`TestCase` via `org.apache.myfaces.test.base.AbstractJsfTestCase`.
Issue: SWF-1739
TemplateAwareExpressionParser.parseExpression(String, ParserContext)
no longer accepts a null ParserContext so we now have to call
TemplateAwareExpressionParser.parseExpression(String) when we don't
have a ParserContext.
The build now compiles with Servlet API 3.0 and JPA 2.0 both of which
are required with Spring Framework 4.0. However there are no hard
dependencies in Web Flow on either.
Issue: SWF-1600
The spring-binding BeanWrapperExpressionParser now supports the
setAutoGrowNestedPaths and setAutoGrowCollectionLimit properties, which
are in turn transfered to the underlying BeanWrapperImpl used in each
created and evaluated expression.
Issue: SWF-1566
Reviewed and replaced when possible:
- new Integer
- intValue()
- new Boolean
- booleanValue()
- Boolean.TRUE
- Boolean.FALSE
- new Long
- longValue()
Issues: SWF-1532
- Apply and use Generics
- Remove JdkVersion.isAtLeastJava15() conditionals
- Replace iterator loops with foreach syntax
- Switch on warning in eclipse
Issues: SWF-1532