File tree Expand file tree Collapse file tree 3 files changed +45
-18
lines changed Expand file tree Collapse file tree 3 files changed +45
-18
lines changed Original file line number Diff line number Diff line change 34
34
contents : write # IMPORTANT: required for action to create release branch
35
35
pull-requests : write # IMPORTANT: so release PR can be created
36
36
id-token : write # IMPORTANT: mandatory for trusted publishing
37
+ attestations : write # IMPORTANT: mandatory for attestations
37
38
steps :
38
39
- name : Checkout timefold-solver
39
40
uses : actions/checkout@v5
57
58
distribution : ' temurin'
58
59
cache : ' maven'
59
60
60
- # Need Maven 3.9.0+ to recognize MAVEN_ARGS.
61
- - name : Set up Maven
62
- uses : stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
63
- with :
64
- maven-version : 3.9.3
65
-
66
61
# We skip tests in dry run, to make the process faster.
67
62
# Technically, this goes against the main reason for doing a dry run; to eliminate potential problems.
68
63
# But unless something catastrophic happened, PR checks on source branch already ensured that all tests pass.
96
91
path : |
97
92
out/jreleaser/trace.log
98
93
out/jreleaser/output.properties
94
+
95
+ - id : set-artifacts-output
96
+ run : echo "ARTIFACTS=$(cat out/jreleaser/catalogs/github/timefold-solver-${{ github.event.inputs.version }})" >> $GITHUB_OUTPUT
97
+
98
+ - name : Attestations
99
+ uses : actions/attest-build-provenance@v1
100
+ with :
101
+ subject-path : |
102
+ ${{ steps.set-artifacts-output.outputs.ARTIFACTS }}
Original file line number Diff line number Diff line change @@ -6,24 +6,30 @@ signing:
6
6
active : ALWAYS
7
7
armored : true
8
8
9
+ catalog :
10
+ github :
11
+ active : ALWAYS
12
+ attestationName : ' timefold-solver-{{projectVersion}}'
13
+ excludes :
14
+ - ' **/*.asc'
15
+
9
16
release :
10
17
github :
11
18
commitAuthor :
12
19
name : " Timefold Release Bot"
13
20
14
- releaseName : " Timefold Solver Community Edition {{projectVersion}}"
21
+ releaseName : " Timefold Solver {{projectVersion}}"
15
22
draft : true
16
23
overwrite : false
17
24
sign : true
18
25
milestone :
19
26
close : true
20
- name : " v{{projectVersion}}"
21
27
changelog :
22
28
formatted : ALWAYS
23
29
preset : " conventional-commits"
24
30
contentTemplate : " .github/workflows/release-changelog-template.md"
25
31
contributors :
26
- format : " - {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/ contributorUsernameAsLink}}"
32
+ format : ' - {{contributorName}} ({{contributorUsernameAsLink}}) '
27
33
hide :
28
34
uncategorized : true
29
35
categories :
@@ -35,7 +41,7 @@ release:
35
41
deploy :
36
42
maven :
37
43
mavenCentral :
38
- timefold :
44
+ timefold-solver :
39
45
active : ALWAYS
40
46
url : https://central.sonatype.com/api/v1/publisher
41
47
authorization : BASIC
@@ -45,10 +51,6 @@ deploy:
45
51
stagingRepositories :
46
52
- " target/staging-deploy"
47
53
artifactOverrides :
48
- - groupId : ai.timefold.solver
49
- artifactId : timefold-solver-core
50
- sourceJar : false
51
- javadocJar : false
52
54
- groupId : ai.timefold.solver
53
55
artifactId : timefold-solver-spring-boot-starter
54
56
sourceJar : false
@@ -60,4 +62,4 @@ deploy:
60
62
- groupId : ai.timefold.solver
61
63
artifactId : timefold-solver-webui
62
64
sourceJar : true
63
- javadocJar : false
65
+ javadocJar : false
Original file line number Diff line number Diff line change 31
31
<version .rewrite.plugin>6.16.0</version .rewrite.plugin>
32
32
<version .source.plugin>3.3.1</version .source.plugin>
33
33
<version .resources.plugin>3.3.1</version .resources.plugin>
34
+ <version .cyclonedx.plugin>2.9.1</version .cyclonedx.plugin>
34
35
<sonar .moduleKey>${project.groupId} :${project.artifactId} </sonar .moduleKey>
35
36
<sonar .sources>.</sonar .sources>
36
37
<sonar .tests>.</sonar .tests>
95
96
<legacyMode >true</legacyMode >
96
97
</configuration >
97
98
</plugin >
99
+ <plugin >
100
+ <groupId >org.cyclonedx</groupId >
101
+ <artifactId >cyclonedx-maven-plugin</artifactId >
102
+ <version >${version.cyclonedx.plugin} </version >
103
+ </plugin >
98
104
</plugins >
99
105
</pluginManagement >
100
106
</build >
141
147
</execution >
142
148
</executions >
143
149
</plugin >
150
+ <plugin >
151
+ <groupId >org.cyclonedx</groupId >
152
+ <artifactId >cyclonedx-maven-plugin</artifactId >
153
+ <executions >
154
+ <execution >
155
+ <phase >package</phase >
156
+ <goals >
157
+ <goal >makeAggregateBom</goal >
158
+ </goals >
159
+ <configuration >
160
+ <excludeTestProject >true</excludeTestProject >
161
+ </configuration >
162
+ </execution >
163
+ </executions >
164
+ </plugin >
144
165
</plugins >
145
166
</build >
146
167
</profile >
147
168
<profile >
148
169
<!--
149
- Migration to Timefold 9 involves upgrading to Quarkus 3, Spring Boot 3 and migrating to jakarta.* packages.
150
- Timefold 8 remains compatible with Quarkus 2, Spring Boot 2 and javax.* packages.
151
- Both Timefold 8 and 9 are functionally equal and will be released simultaneously .
170
+ Migration to Timefold 0. 9 involves upgrading to Quarkus 3, Spring Boot 3 and migrating to jakarta.* packages.
171
+ Timefold 0. 8 remains compatible with Quarkus 2, Spring Boot 2 and javax.* packages.
172
+ Both Timefold 0. 8 and 0. 9 are functionally equal.
152
173
-->
153
174
<id >8-to-9-migration</id >
154
175
<activation >
You can’t perform that action at this time.
0 commit comments