Skip to content

Release #229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 105 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
d786c0d
Merge pull request #188 from xdev-software/master
AB-xdev Jun 14, 2024
03dd571
Update dependency org.apache.maven.plugins:maven-project-info-reports…
xdev-renovate Jun 17, 2024
8446899
Merge pull request #71 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Jun 17, 2024
7313ce9
Update dependency maven to v3.9.8
xdev-renovate Jun 18, 2024
5854083
Merge pull request #72 from xdev-software/renovate/maven-3.x
AB-xdev Jun 18, 2024
96cf029
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Jun 18, 2024
8d8efe9
Update dependency org.apache.maven.plugins:maven-surefire-plugin to v…
xdev-renovate Jun 18, 2024
59a7fbc
Merge pull request #190 from xdev-software/renovate/org.apache.maven.…
AB-xdev Jun 18, 2024
3e41f58
Add default PMD ruleset
AB-xdev Jun 18, 2024
f697749
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Jun 18, 2024
43ddc48
Attach demo to parent
AB-xdev Jun 18, 2024
3bc085a
Reconfigure root and add pmd
AB-xdev Jun 18, 2024
f5240c0
Add pmd to published module
AB-xdev Jun 18, 2024
11c6f7e
Add pmd to check-build workflow
AB-xdev Jun 18, 2024
a22d20d
Merge pull request #74 from xdev-software/pmd
AB-xdev Jun 19, 2024
6ff9a3b
Merge remote-tracking branch 'origin/update-from-template' into develop
AB-xdev Jun 19, 2024
d979ab9
PMD: printFailingErrors
AB-xdev Jun 19, 2024
d154ff5
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Jun 19, 2024
866479d
Merge pull request #196 from xdev-software/update-from-template-merged
AB-xdev Jun 19, 2024
b2d3269
Apply pmd improvements
AB-xdev Jun 18, 2024
c8ff8af
Merge branch 'develop' of https://github.com/xdev-software/chartjs-ja…
AB-xdev Jun 19, 2024
eed3d8a
Update ruleset.xml
AB-xdev Jun 19, 2024
2b01eda
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Jun 19, 2024
6a258c7
Remove duplicate in .gitignore
AB-xdev Jun 20, 2024
71414f4
Update dependency org.seleniumhq.selenium:selenium-chrome-driver to v…
xdev-renovate Jun 21, 2024
1dc1427
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Jun 24, 2024
779d9b3
Merge pull request #197 from xdev-software/renovate/org.seleniumhq.se…
AB-xdev Jun 24, 2024
f2290e6
Ignore project internal depenedencies
AB-xdev Jun 24, 2024
5af7674
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Jun 24, 2024
e3213ea
Fill in template
xdev-gh-bot Jun 24, 2024
5e83707
Merge pull request #200 from xdev-software/update-from-template-merged
AB-xdev Jun 24, 2024
1cec0e0
Update dependency org.apache.maven.plugins:maven-project-info-reports…
xdev-renovate Jun 27, 2024
98b2e91
Merge pull request #76 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Jun 27, 2024
e26126f
[Save Actions] Allow batch activation
AB-xdev Jun 27, 2024
e817320
Don't run tests when publishing in final phase
AB-xdev Jun 27, 2024
a497c4b
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Jun 27, 2024
283794c
Remove unwanted EOL
AB-xdev Jun 27, 2024
3b1cdd0
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Jun 27, 2024
8949700
Fix some module versions being bumped twice after a release
AB-xdev Jun 27, 2024
034ee38
Merge branch 'master' of https://github.com/xdev-software/standard-ma…
AB-xdev Jun 27, 2024
3ce40e8
Update dependency org.junit.jupiter:junit-jupiter to v5.10.3
xdev-renovate Jun 27, 2024
1ca9c1b
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Jun 28, 2024
1c5941f
Merge pull request #204 from xdev-software/update-from-template-merged
AB-xdev Jun 28, 2024
b0bb35d
Merge pull request #203 from xdev-software/renovate/org.junit.jupiter…
AB-xdev Jun 28, 2024
f6ffd61
Update dependency net.sourceforge.pmd:pmd-core to v7.3.0
xdev-renovate Jun 28, 2024
62aed9a
Update dependency net.sourceforge.pmd:pmd-java to v7.3.0
xdev-renovate Jun 28, 2024
f528016
Merge pull request #79 from xdev-software/renovate/net.sourceforge.pm…
AB-xdev Jun 28, 2024
4d22d20
Merge pull request #80 from xdev-software/renovate/net.sourceforge.pm…
AB-xdev Jun 28, 2024
0adbce8
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Jul 1, 2024
3543796
Group pmd
AB-xdev Jul 1, 2024
501c04d
Fix site failing to find deps
AB-xdev Jul 4, 2024
52d7172
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Jul 8, 2024
dc7774e
Update dependency org.apache.maven.plugins:maven-pmd-plugin to v3.24.0
xdev-renovate Jul 14, 2024
33122d4
Update dependency org.apache.maven.plugins:maven-project-info-reports…
xdev-renovate Jul 15, 2024
1959ce0
Merge pull request #82 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Jul 17, 2024
db4fd11
Merge pull request #81 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Jul 17, 2024
aca0e64
Also skip tests on test deploy
AB-xdev Jul 18, 2024
99f469b
Add release failure docs
AB-xdev Jul 18, 2024
8de8501
Merge pull request #83 from xdev-software/release-failure-docs
AB-xdev Jul 18, 2024
24d9ce1
Ignore Ncss Count as it does the same as Checkstyle
AB-xdev Jul 19, 2024
0828d5c
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Jul 20, 2024
9aeed07
Update dependency org.apache.maven.plugins:maven-site-plugin to v4.0.…
xdev-renovate Jul 21, 2024
b9f8a59
Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3…
xdev-renovate Jul 21, 2024
91d0301
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Jul 22, 2024
36ce21f
Merge pull request #85 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Jul 23, 2024
0dcfe5a
Merge pull request #86 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Jul 23, 2024
0635abd
Update net.sourceforge.pmd to v7.4.0
xdev-renovate Jul 27, 2024
f03b04c
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Jul 29, 2024
8a03acb
Merge pull request #87 from xdev-software/renovate/net.sourceforge.pmd
AB-xdev Jul 29, 2024
0ddbffa
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Aug 5, 2024
d88dcfb
Update dependency org.apache.maven.plugins:maven-gpg-plugin to v3.2.5
xdev-renovate Aug 12, 2024
ae41533
Update dependency maven to v3.9.9
xdev-renovate Aug 18, 2024
f247c9a
Update dependency org.apache.maven.plugins:maven-project-info-reports…
xdev-renovate Aug 22, 2024
2f8e6e2
Update dependency org.apache.maven.plugins:maven-checkstyle-plugin to…
xdev-renovate Aug 23, 2024
5cf7f3f
Update dependency org.apache.maven.plugins:maven-jxr-plugin to v3.5.0
xdev-renovate Aug 23, 2024
fdd3d61
Update dependency com.puppycrawl.tools:checkstyle to v10.18.0
xdev-renovate Aug 26, 2024
f7b9b65
Merge pull request #93 from xdev-software/renovate/com.puppycrawl.too…
AB-xdev Aug 26, 2024
f827175
Merge pull request #89 from xdev-software/renovate/maven-3.x
AB-xdev Aug 26, 2024
63071e2
Merge pull request #91 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Aug 26, 2024
3dbcf6f
Merge pull request #92 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Aug 26, 2024
36d8842
Merge pull request #90 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Aug 26, 2024
3e8774c
Merge pull request #88 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Aug 26, 2024
ca02508
Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3…
xdev-renovate Aug 28, 2024
409f50d
Update dependency org.apache.maven.plugins:maven-pmd-plugin to v3.25.0
xdev-renovate Aug 28, 2024
bdba83b
Merge pull request #94 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Aug 28, 2024
9b0e9a1
Merge pull request #95 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Aug 28, 2024
8e29a4a
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Aug 28, 2024
5b8f34d
Update dependency com.fasterxml.jackson.core:jackson-databind to v2.17.2
xdev-renovate Aug 28, 2024
9de1b03
Update slf4j-version to v2.0.16
xdev-renovate Aug 28, 2024
a60faf4
Update dependency org.apache.maven.plugins:maven-surefire-plugin to v…
xdev-renovate Aug 28, 2024
b7fb63b
Update dependency org.junit.jupiter:junit-jupiter to v5.11.0
xdev-renovate Aug 28, 2024
251f858
Update dependency org.seleniumhq.selenium:selenium-chrome-driver to v…
xdev-renovate Aug 28, 2024
f14d163
Update testcontainers-version to v1.20.1
xdev-renovate Aug 28, 2024
6d5482f
Merge pull request #208 from xdev-software/renovate/com.fasterxml.jac…
AB-xdev Aug 28, 2024
88c4516
Merge pull request #211 from xdev-software/renovate/org.apache.maven.…
AB-xdev Aug 28, 2024
3d4977a
Merge pull request #214 from xdev-software/renovate/testcontainers-ve…
AB-xdev Aug 28, 2024
732c67f
Merge pull request #222 from xdev-software/renovate/slf4j-version
AB-xdev Aug 28, 2024
35b0250
Merge pull request #224 from xdev-software/renovate/org.junit.jupiter…
AB-xdev Aug 28, 2024
7dd2a95
Remove duplicated ``@JsonAutoDetect``
AB-xdev Aug 28, 2024
f93f03b
Make ``IndexAxis`` available in all options
AB-xdev Aug 28, 2024
28a67de
Merge pull request #215 from xdev-software/renovate/org.seleniumhq.se…
AB-xdev Aug 28, 2024
080f8cd
Add missing header
AB-xdev Aug 28, 2024
83beff1
Merge branch 'develop' of https://github.com/xdev-software/chartjs-ja…
AB-xdev Aug 28, 2024
5a9c21c
Update screenshots
AB-xdev Aug 28, 2024
183f7e6
Charts no longer check if they are drawable
AB-xdev Aug 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
155 changes: 155 additions & 0 deletions .config/pmd/ruleset.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Default"
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">

<description>
This ruleset checks the code for discouraged programming constructs.
</description>

<!-- Only rules that don't overlap with CheckStyle! -->

<rule ref="category/java/bestpractices.xml/AvoidUsingHardCodedIP"/>
<rule ref="category/java/bestpractices.xml/PreserveStackTrace"/>
<rule ref="category/java/bestpractices.xml/UseCollectionIsEmpty"/>
<rule ref="category/java/bestpractices.xml/UseStandardCharsets"/>

<!-- Native code is platform dependent; Loading external native libs might pose a security threat -->
<rule ref="category/java/codestyle.xml/AvoidUsingNativeCode"/>
<rule ref="category/java/codestyle.xml/IdenticalCatchBranches"/>
<rule ref="category/java/codestyle.xml/NoPackage"/>
<rule ref="category/java/codestyle.xml/PrematureDeclaration"/>

<rule ref="category/java/design.xml">
<!-- Sometimes abstract classes have just fields -->
<exclude name="AbstractClassWithoutAnyMethod"/>

<!-- Using RuntimeExceptions is ok -->
<exclude name="AvoidCatchingGenericException"/>
<exclude name="AvoidThrowingRawExceptionTypes"/>

<!-- Limit too low -->
<exclude name="AvoidDeeplyNestedIfStmts"/>

<!-- Limit too low -->
<exclude name="CouplingBetweenObjects"/>

<!-- Limit too low -->
<exclude name="CyclomaticComplexity"/>

<!-- Makes entity classes impossible -->
<exclude name="DataClass"/>

<!-- Used commonly particular in bigger methods with upstream throws -->
<exclude name="ExceptionAsFlowControl"/>

<!-- Limit too low -->
<exclude name="ExcessiveImports"/>

<!-- Handled by TooManyFields/TooManyMethods -->
<exclude name="ExcessivePublicCount"/>

<!-- Prohibits accessing members using multiple depths -->
<exclude name="LawOfDemeter"/>

<!-- No effect -->
<exclude name="LoosePackageCoupling"/>

<!-- Prohibits singleton pattern -->
<exclude name="MutableStaticState"/>

<!-- Checks LoC, already handled by Checkstyle -->
<exclude name="NcssCount"/>

<!-- Some override methods or Junit require this -->
<exclude name="SignatureDeclareThrowsException"/>

<!-- Reports FP for equals methods -->
<exclude name="SimplifyBooleanReturns"/>

<!-- Limit too low -->
<exclude name="TooManyFields"/>

<!-- Limit too low -->
<exclude name="TooManyMethods"/>

<!-- Limit too low -->
<exclude name="UseObjectForClearerAPI"/>

<!-- Handled by checkstyle -->
<exclude name="UseUtilityClass"/>
</rule>

<rule ref="category/java/design.xml/AvoidDeeplyNestedIfStmts">
<properties>
<property name="problemDepth" value="4"/>
</properties>
</rule>
<rule ref="category/java/design.xml/CouplingBetweenObjects">
<properties>
<property name="threshold" value="100"/>
</properties>
</rule>
<rule ref="category/java/design.xml/CyclomaticComplexity">
<properties>
<property name="classReportLevel" value="150"/>
<property name="methodReportLevel" value="25"/>
<property name="cycloOptions" value=""/>
</properties>
</rule>
<rule ref="category/java/design.xml/ExcessiveImports">
<properties>
<property name="minimum" value="200"/>
</properties>
</rule>
<rule ref="category/java/design.xml/TooManyFields">
<properties>
<property name="maxfields" value="50"/>
</properties>
</rule>
<rule ref="category/java/design.xml/TooManyMethods">
<properties>
<property name="maxmethods" value="100"/>
</properties>
</rule>

<rule ref="category/java/errorprone.xml/AvoidUsingOctalValues"/>
<rule ref="category/java/errorprone.xml/BrokenNullCheck"/>
<rule ref="category/java/errorprone.xml/ComparisonWithNaN"/>
<rule ref="category/java/errorprone.xml/DoNotCallGarbageCollectionExplicitly"/>
<rule ref="category/java/errorprone.xml/DontImportSun"/>
<rule ref="category/java/errorprone.xml/MisplacedNullCheck"/>
<rule ref="category/java/errorprone.xml/UnnecessaryCaseChange"/>


<rule ref="category/java/multithreading.xml">
<!-- Just bloats code -->
<exclude name="AvoidSynchronizedAtMethodLevel"/>

<!-- NOPE -->
<exclude name="DoNotUseThreads"/>

<!-- Doesn't detect nested thread safe singleton pattern -->
<exclude name="NonThreadSafeSingleton"/>

<!-- Should relevant for fields that use multithreading which is rare -->
<exclude name="UseConcurrentHashMap"/>
</rule>

<rule ref="category/java/performance.xml">
<!-- This was fixed in Java 10 -->
<exclude name="AvoidFileStream"/>

<!-- Used everywhere and has neglectable performance impact -->
<exclude name="AvoidInstantiatingObjectsInLoops"/>

<!-- Handled by checkstyle -->
<exclude name="RedundantFieldInitializer"/>

<!-- Nowadays optimized by compiler; No code bloating needed -->
<exclude name="UseStringBufferForStringAppends"/>
</rule>

<rule ref="category/java/security.xml"/>
</ruleset>
39 changes: 38 additions & 1 deletion .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
path: ${{ env.PRIMARY_MAVEN_MODULE }}/target/screenshots
if-no-files-found: ignore

code-style:
checkstyle:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}

Expand All @@ -100,3 +100,40 @@ jobs:

- name: Run Checkstyle
run: ./mvnw -B checkstyle:check -P checkstyle -T2C

pmd:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}

strategy:
matrix:
java: [17]
distribution: [temurin]

steps:
- uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
cache: 'maven'

- name: Run PMD
run: ./mvnw -B test pmd:aggregate-pmd-no-fork pmd:check -P pmd -DskipTests -T2C

- name: Run CPD (Copy Paste Detector)
run: ./mvnw -B pmd:aggregate-cpd pmd:cpd-check -P pmd -DskipTests -T2C

- name: Upload report
if: always()
uses: actions/upload-artifact@v4
with:
name: pmd-report
if-no-files-found: ignore
path: |
target/site/*.html
target/site/css/**
target/site/images/logos/maven-feather.png
target/site/images/external.png
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}

- name: Publish to Apache Maven Central
run: ../mvnw -B deploy -Possrh
run: ../mvnw -B deploy -Possrh -DskipTests
env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.S01_OSS_SONATYPE_MAVEN_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.S01_OSS_SONATYPE_MAVEN_TOKEN }}
Expand All @@ -157,7 +157,7 @@ jobs:
cache: 'maven'

- name: Build site
run: ../mvnw -B site
run: ../mvnw -B compile site -DskipTests -T2C
working-directory: ${{ env.PRIMARY_MAVEN_MODULE }}

- name: Deploy to Github pages
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
for i in "${modules[@]}"
do
echo "Processing $i/pom.xml"
(cd "$i" && $mvnwPath -B build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion} -DgenerateBackupPoms=false -DnextSnapshot=true)
(cd "$i" && $mvnwPath -B build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion} -DgenerateBackupPoms=false -DnextSnapshot=true -DupdateMatchingVersions=false)
done

- name: Git Commit and Push
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}

- name: Publish to OSSRH
run: ../mvnw -B deploy -Possrh
run: ../mvnw -B deploy -Possrh -DskipTests
working-directory: ${{ env.PRIMARY_MAVEN_MODULE }}
env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.S01_OSS_SONATYPE_MAVEN_USERNAME }}
Expand Down
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ buildNumber.properties
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*


# bin / compiled stuff
target/


# JRebel
**/resources/rebel.xml
**/resources/rebel-remote.xml
Expand Down
1 change: 1 addition & 0 deletions .idea/saveactions_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.7/apache-maven-3.9.7-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.1.0
* Charts no longer check if they are drawable #198
* ChartJS behavior: If a chart can't be drawn it will render a empty canvas
* Deprecated methods: ``Chart#toJsonNative`` and ``Chart#isDrawable``
* Make ``IndexAxis`` available in all options

## 2.0.1
* Restored ``DisplayFormats`` #186

Expand Down
28 changes: 28 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,31 @@ If the ``develop`` is ready for release, create a pull request to the ``master``

When the release is finished do the following:
* Merge the auto-generated PR (with the incremented version number) back into the ``develop``

### Release failures

There are 2 modes of release failure:
1. The remote server was e.g. down and non of the artifacts got published
2. There was a build failure during release and only parts of the artifacts got released

In case 1 we can re-release the existing version,<br/>in case 2 we have to release a new version when we can't get the artifacts deleted (as is the case with Maven Central)

#### How-to: Re-Releasing an existing version

1. Delete the release on GitHub
2. Delete the release Git tag from the repo (locally and remote!)
3. Delete the ``master``-Branch and re-create it from the ``develop`` branch (or reset it to the state before the release-workflow commits have been done)
* This requires __temporarily__ removing the branch protection
* Once this was done a new release is triggered immediately!

#### How-to: Releasing a new version

1. Merge the ``master`` branch back into ``develop`` (or another temporary branch)
2. Make sure all master branch versions are prepared for a new release<br/>e.g. if the broken release was ``1.0.0`` the version should now be at ``1.0.1-SNAPSHOT`` - the ``SNAPSHOT`` is important for the workflow!
3. Mark the broken release as broken e.g. inside the Changelog, GitHub Release page, etc.<br/>
You can use something like this:
```
> [!WARNING]
> This release is broken as my cat accidentally clicked the abort button during the process
```
4. Merge the changes back into the ``master`` branch to trigger a new release
39 changes: 6 additions & 33 deletions chartjs-java-model-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>software.xdev</groupId>
<parent>
<groupId>software.xdev</groupId>
<artifactId>chartjs-java-model-root</artifactId>
<version>2.0.2-SNAPSHOT</version>
</parent>

<artifactId>chartjs-java-model-demo</artifactId>
<version>2.0.2-SNAPSHOT</version>
<packaging>jar</packaging>
Expand Down Expand Up @@ -77,36 +82,4 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>checkstyle</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.4.0</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>10.17.0</version>
</dependency>
</dependencies>
<configuration>
<configLocation>../.config/checkstyle/checkstyle.xml</configLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Loading