-
Push the code in
master
branch.
It will trigger some workflows. Please note thattutorial
workflow may fail! It only means Javaluator tutorial on Javaluator's site require some updates.
If Sonar quality gate fail ... try to fix its complaints ;-) -
Run
mvn clean deploy
on the project.
As the compiler target is Java 1.6, it will fail with recent release of Java. Java 8 is able to make the compile. The easiest way to use java 8 is to configure a toolchain.
Of course, signing material (certificate and its password) are not included in this project: There should befathzer_private_key.asc
andfathzer_key_pwd.txt
files in the user's home directory. -
Create a release in Github.
-
Update the
father/hosting
private project.-
If the
tutorial
workflow fails, have a look at its logs, it should contains the list of files that should be updated in the project. Once the project is updated, retry the failed action, it should succeed. -
Add the version release notes to the
javaluator/www/en/doc/relnotes.txt
file.
-
-
Don't forget to push the updates in the production site!
Add a toolchain.xml file](#HowToConfigureToolchain) in your .m2
directory.
This file should contain something like:
<?xml version="1.0" encoding="UTF-8"?>
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<version>8</version>
<vendor>sun</vendor>
</provides>
<configuration>
<jdkHome>C:\Program Files\Java\jdk1.8.0_341</jdkHome>
</configuration>
</toolchain>
<toolchains>
Once it is done, java 8 is activated with the jdk
system property: mvn -Djdk=8 clean deploy