2660 Commits

Author SHA1 Message Date
Stéphane Nicoll
80b92df68b Test against tmp branch 2024-10-10 12:04:04 +02:00
Stéphane Nicoll
be887f8972 Introduce base GHA support
This commit adds support for building and deploying snapshots to
repo.spring.io as well as building pull requests.
2024-10-10 12:03:34 +02:00
Stéphane Nicoll
b78aa3cee8 Replace artifactory by standard repository structure
This commit removes the usage of the Artifactory plugin and replaces
it with a standard repository structure using the -PdeploymentRepository
option.

This also updates the generated POM to be current.
2024-10-10 12:02:42 +02:00
Stéphane Nicoll
1ffc41596b Upgrade to Develocity Conventions 0.0.22
This commit updates to the latest develocity conventions plugin. This
has the advantage, since 0.0.21, to include the correct relevant Gradle
Enterprise plugin.

Closes gh-1808
2024-10-10 09:42:12 +02:00
Stéphane Nicoll
713e6d60e6 Configure authentication for https://repo.spring.io/plugins-release/
Repositories on repo.spring.io requires to be authenticated. This commit
configures the SPRING_REPOSITORY_USERNAME and SPRING_REPOSITORY_PASSWORD
properties accordingly.

Closes gh-1807
2024-10-10 09:30:23 +02:00
rstoyanchev
28288eb8a3 Update spring-code-of-conduct email 2024-06-10 10:08:47 +01:00
rstoyanchev
680fc712bd Update CONTRIBUTING.md 2024-06-10 10:03:37 +01:00
Maksim Sasnouski
94dc11bb2d Upgrade com.gradle.enterprise plugin to 3.16.2 2024-06-10 09:52:01 +01:00
Sammita Chakravarti
82735d0eec Create LICENSE.txt
Added a LICENSE file at the root level directory. The license are as per the README file (https://github.com/spring-projects/spring-webflow/blob/main/README.md#license). The license is version 2.0 of the Apache License.

(Please note that the Copyright year and owner fields have been intentionally left empty since Google LLC doesn't own this repository)
2024-06-10 09:51:36 +01:00
Eric Haag
409e34e096 Update Revved up by Develocity badge 2024-01-23 19:03:36 +00:00
Eric Haag
6a04f81519 Connect build to ge.spring.io
This change publishes a build scan to ge.spring.io for every local
build from an authenticated Spring committer and for CI where
appropriate access tokens are available. The build will not fail if
publishing fails.

This change also allows the build to benefit from remote build caching,
providing faster builds for all contributors.

Additionally, the project will have access to all features of Gradle
Enterprise such as:

- Dashboards to view all historical build scans, along with performance
   trends over time
- Build failure analytics for enhanced investigation and diagnosis of
   build failures
- Test failure analytics to better understand trends and causes around
   slow, failing, and flaky tests
2024-01-23 19:03:36 +00:00
Brian Clozel
10ae7796c6 Fix documentation publication in Gradle build
This commit moves the asciidoctor *.adoc files to the default location
and removes the unnecessary asciidoctor plugin configuration as a
result.

This changes also reworks dependencies between tasks and adds the
missing publication configuration for generated artifacts. The entire
docs-specific script is moved from the main build.gradle file to a
"gradle/docs.gradle" script to improve readability of the main build.

Fixes gh-1797
2023-08-31 16:10:09 +01:00
Brian Clozel
46b03abe8f Move maven publication config to gradle folder 2023-08-31 16:10:09 +01:00
Brian Clozel
a5088a99f1 Upgrade Gradle plugins
This commit also removes the former repo.spring.io plugins repositories,
as they are not needed anymore by this build.
2023-08-31 16:10:09 +01:00
Brian Clozel
a08ae17286 Upgrade to Gradle 8.3 2023-08-31 16:10:09 +01:00
Spring Builds
94ddcd68f7 [artifactory-release] Next development version 2023-07-12 16:42:32 +00:00
Spring Builds
3e865a691b [artifactory-release] Release version 3.0.0 2023-07-12 16:42:30 +00:00
rstoyanchev
d08971531e Minor updates in reference docs 2023-03-30 12:51:21 +01:00
rstoyanchev
f81d3d689b Minor updates in README.md 2023-03-30 12:30:12 +01:00
rstoyanchev
77410d70ea Formatting changes in README.md 2023-03-30 12:25:43 +01:00
rstoyanchev
43dc24af4f Remove RichFaces checks
See gh-1794
2023-03-27 14:39:31 +01:00
rstoyanchev
2584aadef3 Polishing contribution
Closes gh-1794
2023-03-24 12:34:00 +01:00
rstoyanchev
5b27250c70 Update dependencies
See gh-1794
2023-03-23 12:34:00 +01:00
Gabor Liptak
bce7f0cc91 Update spring-faces to Jakarta EE
FlowResourceResolver.java is removed, since it was deprecated, see
https://github.com/jakartaee/faces/issues/1583

See gh-1794
2023-01-31 23:58:07 +01:00
Jay Bryant
c0173e54d5 Use spring-asciidoc-backends
to get the latest look and feel and features.
2022-09-14 16:41:06 -05:00
Rossen Stoyanchev
ed81b44dd1 Add artifactory plugin to build script 2022-08-08 17:42:27 +03:00
Rossen Stoyanchev
28f9511b68 Update reference docs for 3.0 2022-08-08 14:16:18 +03:00
Rossen Stoyanchev
fb82f141ab Merge branch '2.5.x' 2022-08-04 19:23:40 +03:00
Rossen Stoyanchev
233c114427 Remove/fix doc references 2022-08-04 19:11:42 +03:00
Rossen Stoyanchev
9fd8d3eccd Upgrade to Gradle 7.4.2 and use java-library plugin
Align with main branch
2022-08-03 13:26:36 +03:00
rstoyanchev
2e8acc97a4 Polishing contribution
Closes gh-111
2022-07-15 10:11:26 +01:00
Scott Cantor
dab4438e91 Add protected methods to FlowModelFlowBuilder
This allows a custom build of the Flow ApplicationContext.

See gh-111
2022-07-15 10:11:26 +01:00
rstoyanchev
ae6efce58d Update to Spring Framework 6.0.0-M5, Hibernate 5.6.10, Jakarta JSTL 2.0 2022-07-14 16:12:23 +01:00
rstoyanchev
913bf48493 Merge branch 'pr/109'
Closes gh-109
2022-07-14 14:31:26 +01:00
Ian Young
68e2fd83b4 Bump Spring Framework to 6.0.0-M4 2022-07-14 14:26:27 +01:00
Ian Young
d5029790fd Adopt Spring Framework 6 and Jakarta EE 9
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.
2022-07-14 14:26:27 +01:00
Ian Young
7cb8c3d9ae Change from java plugin to java-library plugin
The java-library plugin is an extension of the older java plugin.
It introduces the api dependency configuration and helps us to get
the right scope in the generated POM.
2022-07-14 14:26:27 +01:00
Ian Young
3f8c133ad1 Remove spring-faces from build
Porting the JavaServer Faces support forward to Jakarta Server Faces
is outside my area of competence. Hopefully, someone with knowledge
of this area will be able to step up later.
2022-07-14 14:26:27 +01:00
Ian Young
9207f961eb Remove support for Tiles 3
This is no longer supported by Spring Framework 6.
2022-07-14 14:26:27 +01:00
Ian Young
505b3fc3d7 Fix Java terminal deprecations
This is cosmetic for Java 17, but will be required for some later
version. Fixing it now greatly reduces the number of warnings we see.
2022-07-14 14:26:27 +01:00
Ian Young
f91129e24c Switch to Java 17
Uses the new Java toolchain feature of Gradle to acquire Java 17.

Doing it this way means that you can start ./gradlew under any version
of Java and still use Java 17 for the build; it picks a candidate from
the environment or downloads one if required. It also takes care of
source and target compatibility, with the exception of ide.gradle
which is handled separately.
2022-07-14 14:26:27 +01:00
Ian Young
014321240e Update Gradle to 7.4.2
This adds support for Java 17.
2022-07-14 14:26:27 +01:00
Ian Young
2e3750dbc0 Adopt new Gradle maven-publish plugin
The maven plugin was removed in Gradle 7, so we need to replace it with
maven-publish. This uses a similar DSL, but operates in a slightly
different way. The simplest way of handling the differences is to
reorder its application within build.gradle so that appropriate
properties will have been applied by the time publish-maven.gradle
is invoked.
2022-07-14 14:26:27 +01:00
Ian Young
014c3d4893 Fix base directory name within -dist distribution
Without the .get(), the substitution names the property rather than interpolating its value.
2022-07-14 14:26:27 +01:00
Ian Young
c8c9df6d54 Fix descriptions of distribution tasks
Without the .get(), the substitution names the property rather than interpolating its value.
2022-07-14 14:26:27 +01:00
Ian Young
7f5df351ff Ignore duplicate paths in schemas .zip for Gradle 7.0 compatibility
Gradle 7.0 no longer silently ignores a case where the same file
appears multiple times in an output .zip.
2022-07-14 14:26:27 +01:00
Ian Young
65a9c42207 Update dependency configurations for compatibility with Gradle 7.0 2022-07-14 14:26:27 +01:00
Ian Young
3df089c234 Bump asciidoctor to 3.3.2 for compatibility with Gradle 7.0 2022-07-14 14:26:24 +01:00
Ian Young
e67a4e6f63 Fix HTML5 issues in Javadoc for Java 11
Some of these become hard errors in Java 17 or earlier, so it's best
to clean them up properly.
2022-07-14 14:25:19 +01:00
Ian Young
b441adecfe Per CONTRIBUTING, convert text files to use LF instead of CRLF
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.
2022-07-14 14:25:19 +01:00