Spring Fu is released under the Apache 2.0 license. If you would like to contribute something, or simply want to hack on the code this document should help you get started.
To build the source you will need to install Java 11+.
In your IDE import the root project to have Spring Fu, and the samples
subdirectory to have the samples.
Configure it to use tabs, not spaces.
The project and the samples can be built from the root directory using the following command on Linux/MacOS:
./build.sh
If you prefer using Gradle command or if you are on Windows, to build the project just use:
./gradlew build
If you want to build the project, install the artifacts in the local Maven repository and build samples against it:
./gradlew -x javadoc build publishToMavenLocal cd samples ./gradlew build
Here is the semi-automated release process (to be improved) with O.x
being the version to release and 0.y
the new version:
-
Warn on Slack that the release process starts and that no commit is allowed on
main
. -
Check the CI is green.
-
Replace in the
build.gradle.kts
andpom.xml
0.x-SNAPSHOT
by0.x
-
Set
:spring-fu-version: 0.x
injafu/README.adoc
andkofu/README.adoc
-
git commit -a -m "Release Spring Fu 0.x"
-
git tag v0.x
-
git push
-
git push --tags
-
Wait the green build on the CI.
-
Check the JaFu documentation badge link on https://github.com/spring-projects-experimental/spring-fu/tree/main/jafu and the koFu one on https://github.com/spring-projects-experimental/spring-fu/tree/main/kofu
-
Publish a new release:
-
Tag:
v0.x
-
Title:
v0.x
-
Bullet point of main features
-
Check "This is a pre-release"
-
-
Replace in the
build.gradle.kts
andpom.xml
0.x
by0.y-SNAPSHOT
-
git commit -a -m "Switch to 0.y-SNAPSHOT"
-
git push
-
Warn on Slack that the release process is finished and that commits are allowed on
main
again. -
Announce the release (Slack, Twitter, potentially blog post)
If you have not previously done so, please fill out and submit the Contributor License Agreement.
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].