Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
593 commits
Select commit Hold shift + click to select a range
9bd440a
Maven: Fix POM - junit -jupiter
OndraZizka Dec 1, 2025
2ad6c0e
Trying to fix some tests after refactoring the Renderer params
OndraZizka Dec 1, 2025
b20c5a6
Shorten a test
OndraZizka Dec 1, 2025
94a7562
Fixed one test
OndraZizka Dec 1, 2025
acbad80
Fixed rendering tests.
OndraZizka Dec 1, 2025
d0935be
Rename test cases to match what they do.
OndraZizka Dec 1, 2025
36fdd10
Fix test mocking issues
OndraZizka Dec 1, 2025
b6f3558
Fix test mocking issues
OndraZizka Dec 1, 2025
9994889
Cosmetics - Renames
OndraZizka Dec 1, 2025
0a2c9d2
Fix a test
OndraZizka Dec 1, 2025
5b1a0d2
Fix a test
OndraZizka Dec 1, 2025
71461fd
Fix a test
OndraZizka Dec 1, 2025
0a0dd32
Fix a test, causing dirs named File(#...)/ appear with test output fi…
OndraZizka Dec 1, 2025
adb0bf4
CI: Refactor Qodana yaml
OndraZizka Dec 1, 2025
8a7f05a
CI: Disable Qodana action as it fails
OndraZizka Dec 1, 2025
a6a3e0a
CI: Fix Qodana action?
OndraZizka Dec 2, 2025
89221a2
Fix Texy service Docker image
OndraZizka Dec 2, 2025
9144df1
Add Texy readme.
OndraZizka Dec 2, 2025
07360ac
Add base context for Copilot.
OndraZizka Dec 2, 2025
c445c5a
Gradle: Suppress a warning
OndraZizka Dec 2, 2025
8744039
Texy: Wrap "Connection refused" to RenderingEx.
OndraZizka Dec 2, 2025
5d2542d
Docs: Shorten RELEASING.md
OndraZizka Dec 2, 2025
e4554b1
Fix the 2nd docker image - jbake-texy-service (will be deduplicated)
OndraZizka Dec 2, 2025
a716b39
Update base prompt
OndraZizka Dec 2, 2025
76cc456
Texy: Remove duplicated Docker and PHP source files.
OndraZizka Dec 2, 2025
748fd64
Update prompt base
OndraZizka Dec 2, 2025
ba76115
Fix Texy tests, and refactor the Texy content out.
OndraZizka Dec 2, 2025
ce0637b
Update prompt base
OndraZizka Dec 2, 2025
7398e11
Fix Texy tests, and refactor the Texy content out.
OndraZizka Dec 2, 2025
61ddafa
Remove references to author's home dir.
OndraZizka Dec 2, 2025
abd4468
Update prompt base
OndraZizka Dec 2, 2025
eabf044
Docs: Shorten jbake-texy-service/README.md significantly
OndraZizka Dec 2, 2025
0ff5168
CI: Upgrade actions/checkout@v5 from 4
OndraZizka Dec 2, 2025
fdcc530
Maven: Publish to SDKMAN
OndraZizka Dec 2, 2025
980deef
Update prompt base
OndraZizka Dec 2, 2025
0a272c6
Maven: Use Kotest BOM
OndraZizka Dec 2, 2025
6f32bad
Gradle: Upgrade Kotest to 606
OndraZizka Dec 2, 2025
5882801
Maven: Add the smoke tests to Failsafe's list to run.
OndraZizka Dec 2, 2025
81c8ea2
Migrate the jbake-dist smoke-tests to Kotest + MockK
OndraZizka Dec 2, 2025
1ca978a
Supress deprecation which we handle
OndraZizka Dec 2, 2025
ba784f2
Docs: Fix reference in BUILD.adoc
OndraZizka Dec 2, 2025
c36632d
Gradle: Fix deprecated `task`
OndraZizka Dec 2, 2025
ffcdfa8
Migrate the jbake-dist smoke-tests to Kotest + MockK - WIP
OndraZizka Dec 2, 2025
962210a
Exclude smoke tests in dist from Surefire - needs to run as IT
OndraZizka Dec 2, 2025
6af99ce
Fixed the smoke tests; but failing with: ERROR org.jbake.util.Logging…
OndraZizka Dec 2, 2025
94ef23b
Trying to fix JDK incompatibilities of Caffeine as a dependency of Pu…
OndraZizka Dec 2, 2025
a919d1c
Trying to fix JDK incompatibilities of Caffeine as a dependency of Pu…
OndraZizka Dec 2, 2025
4cf7655
Set ALL JDKs everywhere to 17.
OndraZizka Dec 2, 2025
fb4f2e0
Fix compilation excludes for Java and includes for Kotlin.
OndraZizka Dec 2, 2025
539a36a
Trying if GraalVM 25 fixes the issue...
OndraZizka Dec 2, 2025
e0154ec
Improve Binary runner not to hang on the process.
OndraZizka Dec 2, 2025
6b9d40c
Docs: Cleanup
OndraZizka Dec 2, 2025
7538062
Gradle: Add --add-opens for JDK 17 in gradle/application.gradle
OndraZizka Dec 2, 2025
9460f01
Overall: Use newer versions in examples etc.
OndraZizka Dec 2, 2025
93daef5
Fix application.gradle - delete example JBake project repos before fe…
OndraZizka Dec 2, 2025
a3c5586
Logback: Enable DEBUG logging for OrientDB
OndraZizka Dec 2, 2025
5c73c79
IT: Improve capturing of JBake output
OndraZizka Dec 2, 2025
a143255
Maven: Mimick the resources setup from Gradle - include jbake-dist/sr…
OndraZizka Dec 2, 2025
035ffdb
Log: Proper name for Main logger
OndraZizka Dec 2, 2025
d312b00
OrientDB debugging: Trying to get some more details
OndraZizka Dec 2, 2025
805d56a
OrientDB debugging: Trying to get some more details
OndraZizka Dec 3, 2025
da06b51
OrientDB debugging: Trying to get some more details - committing just…
OndraZizka Dec 3, 2025
ea89918
OrientDB debugging: Trying to get some more details - committing just…
OndraZizka Dec 3, 2025
c418a89
DAO layer: Split ContentStore into an interface and impl; introduce H…
OndraZizka Dec 3, 2025
7b43436
DAO layer: Split ContentStore into an interface and impl; introduce H…
OndraZizka Dec 3, 2025
623c292
DAO layer: Split ContentStore into an interface and impl; introduce H…
OndraZizka Dec 3, 2025
0e8e069
DAO layer: Introduce Neo4j-backed impl
OndraZizka Dec 3, 2025
f57e6a4
Tests: Parametrize to run with each of 3 databases
OndraZizka Dec 3, 2025
297db47
Refactor OrientDBContentRepository.kt a bit
OndraZizka Dec 3, 2025
de7cbaa
Refactor OrientDBContentRepository SQL to use query parameters rather…
OndraZizka Dec 3, 2025
74650d8
Maven Shade: Avoid shading certain overlapping files.
OndraZizka Dec 3, 2025
393f564
Refactor DocumentTypes.kt
OndraZizka Dec 3, 2025
ee1ad93
Rename DocumentTypes -> DocumentTypeRegistry
OndraZizka Dec 3, 2025
034770c
Merge small interface
OndraZizka Dec 3, 2025
5dd4505
Merge small classes into larger files
OndraZizka Dec 3, 2025
b53b1a0
Merge small classes into larger files
OndraZizka Dec 3, 2025
a71ec36
Small refactoring in Main
OndraZizka Dec 3, 2025
adc05ad
Merge small classes into larger files - RenderingTool
OndraZizka Dec 3, 2025
3a9e40b
Rename DocumentsRenderer to DocumentsRenderingTool and update references
OndraZizka Dec 3, 2025
b43af6e
Merge PublishedPostsExtractor and ParserEngine and UtensilsFactory.kt…
OndraZizka Dec 3, 2025
f810524
Shorten MarkupEngine.kt
OndraZizka Dec 3, 2025
f63f064
Fix a bug in MarkupEngine.kt
OndraZizka Dec 3, 2025
c538537
Shorten DocumentsRenderingTool.kt
OndraZizka Dec 3, 2025
fdadd5f
Shorten DataFileUtil.kt
OndraZizka Dec 3, 2025
b343343
Logging: Trade potential inefficiency for readability.
OndraZizka Dec 3, 2025
135c42c
Logging: Trade potential inefficiency for readability.
OndraZizka Dec 3, 2025
cdca77c
Refactor tag retrieval methods for improved readability and efficiency
OndraZizka Dec 3, 2025
c294222
Shorten sanitizeTags() with map{}
OndraZizka Dec 3, 2025
b8227c4
Refactor `ParserContext.tags` handling to use List instead of Array f…
OndraZizka Dec 3, 2025
83dd39d
Shorten YamlEngine.kt
OndraZizka Dec 3, 2025
8cb877e
Shorten YamlEngine.kt
OndraZizka Dec 3, 2025
d678825
Adjust tests - checks of exception messages
OndraZizka Dec 3, 2025
6e2b296
Maven: Exclude module descriptors to avoid warnings about breaking st…
OndraZizka Dec 3, 2025
94322ba
Maven: Upgrade JNR dependencies for Java 17+ compatibility; update pr…
OndraZizka Dec 3, 2025
a03044a
Add some logging
OndraZizka Dec 3, 2025
b8f08ea
Replace Gson with Jackson for JSON processing in HsqldbContentRepository
OndraZizka Dec 3, 2025
5617f48
Shorten MdParserTest
OndraZizka Dec 3, 2025
9a85144
Refactor the File(File(File())) hell with .resolve()
OndraZizka Dec 3, 2025
8e16ae4
Stop logging into orientdb-debug.log
OndraZizka Dec 3, 2025
947030d
Maven: Flattened POM to target/
OndraZizka Dec 3, 2025
10607f4
Fixing jbake-dist? WIP
OndraZizka Dec 3, 2025
37ec824
Fixing jbake-dist? WIP
OndraZizka Dec 3, 2025
d333c70
Fixing jbake-dist? WIP
OndraZizka Dec 3, 2025
592e53c
Fixing jbake-dist? WIP
OndraZizka Dec 3, 2025
77d66a2
Fixing jbake-dist? WIP
OndraZizka Dec 3, 2025
a6e251d
Fixing jbake-dist? WIP
OndraZizka Dec 3, 2025
4c67428
Maven: Set encoding for resources plugin
OndraZizka Dec 4, 2025
eb802cb
Update base prompt
OndraZizka Dec 4, 2025
ed57f09
Freemarker: Comment out the reference handling
OndraZizka Dec 4, 2025
b7e8b26
AsciidoctorEngine: Add debug log line
OndraZizka Dec 4, 2025
6afa6dd
Update base prompt
OndraZizka Dec 4, 2025
24180d8
Test: Add unit test for author field parsing, storing and retrieval.
OndraZizka Dec 4, 2025
4097f65
Refactor: Sort constants in ModelAttributes.
OndraZizka Dec 4, 2025
95ccaee
Refactor: Sort constants in ModelAttributes and add their menaning.
OndraZizka Dec 4, 2025
dc94ccf
Update base prompt
OndraZizka Dec 4, 2025
827cdd4
ModelAttributes - group by meaning, add short doc, suggest a new name
OndraZizka Dec 4, 2025
be1d2fb
ModelAttributes.kt -rename the constants meaningfully
OndraZizka Dec 4, 2025
8444a0c
Update base prompt
OndraZizka Dec 4, 2025
393d5c2
Update base prompt
OndraZizka Dec 4, 2025
c78bd65
ModelAttributes - comment where used - WIP
OndraZizka Dec 4, 2025
9b0bf3c
BaseModel TODO
OndraZizka Dec 4, 2025
92db1e0
HsqldbContentRepository.kt: Shorten
OndraZizka Dec 4, 2025
8e23d67
AsciidoctorEngine.kt: Add back debug logs
OndraZizka Dec 4, 2025
2a02e38
Debug: Use AuthorTracer on the right places
OndraZizka Dec 4, 2025
f519bea
Maven: Experiment with parallel build
OndraZizka Dec 4, 2025
48e6da1
Maven: Add a note to continue SDKMAN onboarding
OndraZizka Dec 4, 2025
f4b1b49
Fixing the DB storage
OndraZizka Dec 4, 2025
1d68e41
Add a test for the `author` field, but in fact testing the HSQLDB int…
OndraZizka Dec 4, 2025
de5e89d
FreemarkerTemplateEngine: Trying to handle the missing keys again. Do…
OndraZizka Dec 4, 2025
545da93
Shoten ProjectWebsiteTest.kt
OndraZizka Dec 4, 2025
2af4f6b
Config: Add `default.author` property and apply it when it's missing …
OndraZizka Dec 4, 2025
d6ff5e0
Move ErrorEngine to MarkupEngine.kt
OndraZizka Dec 4, 2025
690dc34
Add default author configuration and tests for author handling
OndraZizka Dec 4, 2025
4d9f5de
FreemarkerTemplateEngine: Update template exception handling for miss…
OndraZizka Dec 4, 2025
5b886ca
Add build metadata properties and logging configuration
OndraZizka Dec 4, 2025
b380e6e
Add build metadata properties and logging configuration
OndraZizka Dec 5, 2025
8194fb9
FreemarkerTemplateEngine: Handling of missing author fields in templa…
OndraZizka Dec 5, 2025
868a567
JVM: --add-opens lang,io ALL-UNNAMED; add configuration for performan…
OndraZizka Dec 5, 2025
8289a8d
Define default.author=unknown
OndraZizka Dec 5, 2025
f03b636
Maven: Upgrades, add cache, add duplicate-finder, build profiler
OndraZizka Dec 5, 2025
6dc5bd8
Replace File(a, b) with a.resolve(b)
OndraZizka Dec 5, 2025
25ab048
Freemarker: Add a test for the null fields / missing keys
OndraZizka Dec 5, 2025
3e05688
Rename JBakeException to JBakeExitException
OndraZizka Dec 5, 2025
0fff606
Put all exceptions under a single file.
OndraZizka Dec 5, 2025
447edae
Experimenting with shortening the delegation to the map, while keepin…
OndraZizka Dec 5, 2025
3239401
Convert HsqldbDebugMain from Java to Kotlin
OndraZizka Dec 5, 2025
b7677b5
Migrate DocumentModel.date from Date to LocalDate. IDK if time is nee…
OndraZizka Dec 5, 2025
6de4ff5
Migrate DocumentModel.date from Date to OffsetDateTime. And finish mo…
OndraZizka Dec 5, 2025
3169636
Migrate DocumentModel.date from Date to OffsetDateTime - fixes
OndraZizka Dec 5, 2025
bfbee00
Maven/Gradle: Sync the versions, use Jackson BOM
OndraZizka Dec 5, 2025
253d5eb
Maven/Gradle: Cleanup - remove Mockito and AssertJ, and sort the deps
OndraZizka Dec 5, 2025
5f1da4b
Maven/Gradle: Cleanup - remove junit-pioneer
OndraZizka Dec 5, 2025
ba791fe
Fix tests
OndraZizka Dec 5, 2025
4fdd4a2
Simplify test
OndraZizka Dec 5, 2025
2c6d6eb
Simplify test
OndraZizka Dec 5, 2025
edc2722
Shorten test
OndraZizka Dec 5, 2025
1b740c5
Fix Neo4j test
OndraZizka Dec 5, 2025
39712bb
Fix ContentStoreTestBase
OndraZizka Dec 5, 2025
c250ad5
Fixing OrientDb DAO again
OndraZizka Dec 6, 2025
14dca88
Fix jbake-maven-plugin deps; simplify
OndraZizka Dec 6, 2025
7d776f9
Simplify Baker.kt
OndraZizka Dec 6, 2025
61c2e12
Shorten BinaryRunner
OndraZizka Dec 6, 2025
07fda2d
Refactor AssetTest.kt
OndraZizka Dec 6, 2025
93afe49
Improve message from AuthorTracer.kt
OndraZizka Dec 6, 2025
9d4c2a8
Cleanup
OndraZizka Dec 6, 2025
4e40285
Fix DefaultAuthorTest.kt
OndraZizka Dec 6, 2025
b719895
Disable AuthorTracer for now
OndraZizka Dec 6, 2025
42d15e1
Utils: Add enumValueOf
OndraZizka Dec 6, 2025
9100a1b
AsciidoctorEngine: Structuring the exported properties a bit.
OndraZizka Dec 6, 2025
8bbd7df
AsciidoctorEngine: Structuring the exported properties a bit. - fix e…
OndraZizka Dec 6, 2025
415c09e
AsciidoctorEngine: Structuring the exported properties a bit. - warn …
OndraZizka Dec 6, 2025
c945363
Utils: Add enumValueOf
OndraZizka Dec 6, 2025
df4c835
AsciidoctorEngine: Structuring the exported properties a bit. - refac…
OndraZizka Dec 6, 2025
0c146a0
Maven: Update caching config
OndraZizka Dec 6, 2025
d0ba499
README: Add TODOs
OndraZizka Dec 6, 2025
b3d1aaf
Maven: Add jbake.buildOutputDir to surefire/failsafe
OndraZizka Dec 6, 2025
2b86201
README: Add TODOs
OndraZizka Dec 6, 2025
05b52c3
Fix paths
OndraZizka Dec 6, 2025
41e6b66
Print the error messages on JBake run error.
OndraZizka Dec 6, 2025
b17c1a7
README: Add TODOs
OndraZizka Dec 6, 2025
9492c68
Logging: Add run-time param to set log level.
OndraZizka Dec 6, 2025
12b0d40
Maven: Put logback dep where it should be!
OndraZizka Dec 6, 2025
886778e
Rename ModelExtractors to ModelExtractorsRegistry... it was about time
OndraZizka Dec 6, 2025
8b0752e
Maven: Put logback dep where it should be! - Also explicitly include …
OndraZizka Dec 6, 2025
6022109
Maven: add mvn modernizer:modernizer
OndraZizka Dec 6, 2025
0217da1
CI: Add maven to dependabot config, check monthly
OndraZizka Dec 6, 2025
6454f64
Fix a logger location
OndraZizka Dec 6, 2025
7f45a52
Address warnings
OndraZizka Dec 6, 2025
8d88a40
Maven: Exclude org.neo4j:neo4j-slf4j-provider
OndraZizka Dec 6, 2025
de792b1
Maven: Fix - add Groovy deps for templates
OndraZizka Dec 6, 2025
bb1092a
Maven: Exclude org.neo4j:neo4j-slf4j-provider
OndraZizka Dec 6, 2025
5103a70
Move sources from src/*/java to src/*/kotlin
OndraZizka Dec 6, 2025
7490484
Maven: Bump version to 6.0.0-r1
OndraZizka Dec 6, 2025
83abb20
Move sources from src/*/java to src/*/kotlin
OndraZizka Dec 6, 2025
b71661c
Fix Freemarker temaplatest needing Date()... :/ I suspect the others…
OndraZizka Dec 6, 2025
9719725
AsciidoctorEngine: Catch any Exception, wrap it, and add it to the Ov…
OndraZizka Dec 6, 2025
63278f2
Reduce logging in the app dist
OndraZizka Dec 6, 2025
1453e2a
POM: Root pom cleanup
OndraZizka Dec 6, 2025
854b701
FreemarkerTemplateEngine: Rethrow exceptions on rendering errors, rat…
OndraZizka Dec 6, 2025
973965e
PublishedPagesExtractor: Convert dates.
OndraZizka Dec 6, 2025
d4adff2
Update TODOs
OndraZizka Dec 9, 2025
962346d
Fix OvenTest - Oven log errors, fail if not empty
OndraZizka Dec 9, 2025
2ef8dcf
Fixing OffsetDateTime - Date conversions
OndraZizka Dec 9, 2025
81f9e98
Fix jbake.buildOutputDir vs. jbake.builtClassesDir - WIP
OndraZizka Dec 9, 2025
a9bca1b
Fix jbake.buildOutputDir vs. jbake.builtClassesDir, and template load…
OndraZizka Dec 10, 2025
df228db
Cosmetics
OndraZizka Dec 10, 2025
83c65fb
Add freemarker-java8 to handle OffsetDateTime etc. in Freemarker.
OndraZizka Dec 10, 2025
5e14204
FreemarkerTemplateEngine - cleanup
OndraZizka Dec 10, 2025
31facab
Add freemarker-java8 to handle OffsetDateTime etc. in Freemarker.
OndraZizka Dec 10, 2025
adea2fd
Comment out the conversions from OffsetDateTime to Date at various pl…
OndraZizka Dec 10, 2025
f74a41c
Update base prompt
OndraZizka Dec 10, 2025
514874e
Freemarker: Add 2 tests. Possibly wrong, TODO: Review
OndraZizka Dec 10, 2025
048fd0d
Deps: Upgrade MockK
OndraZizka Dec 10, 2025
5539aab
Deps: Upgrade OrientDB micro
OndraZizka Dec 10, 2025
4be4658
Refactor Asset.kt
OndraZizka Dec 10, 2025
ed19a00
Refactor DateFileUtil, add support for Java 8 date/time types to conv…
OndraZizka Dec 10, 2025
ca07dd2
Cosmetics in Renderer.kt
OndraZizka Dec 10, 2025
ae938e5
Cosmetics in FreemarkerDateTypesTest.kt
OndraZizka Dec 10, 2025
189ac1a
Fixing conversions
OndraZizka Dec 10, 2025
c6ff452
Refactor DelegatingTemplateEngine
OndraZizka Dec 10, 2025
8ea04a9
Deduplicate FreemarkerDateTypesTest
OndraZizka Dec 10, 2025
975e0f3
Fixing models wrapping etc.
OndraZizka Dec 10, 2025
1cbd857
Cleeanup
OndraZizka Dec 10, 2025
5ac0b0f
Fixing models wrapping etc.
OndraZizka Dec 10, 2025
414a104
Logging cleanup - away from placeholders.
OndraZizka Dec 10, 2025
0bad66b
Cleanup
OndraZizka Dec 10, 2025
a76aa21
Update base prompt
OndraZizka Dec 11, 2025
c5e33f8
Move AI rules where the AI expects them.
OndraZizka Dec 11, 2025
7a224a4
Mostly cosmetics.
OndraZizka Dec 11, 2025
6bd2a80
TemplateModel: Check the types upon creation.
OndraZizka Dec 11, 2025
f82a567
Move convertDatesInModel() to Utils.kt
OndraZizka Dec 11, 2025
c37ab35
Fix test FreemarkerDateTypesTest
OndraZizka Dec 11, 2025
6ff331d
Cosmetics
OndraZizka Dec 11, 2025
e23111f
Simplify PagingHelper
OndraZizka Dec 11, 2025
a0a6632
Cleanups, renames
OndraZizka Dec 11, 2025
51b081b
Revive AuthorTracer as ValueTracer for `date`
OndraZizka Dec 11, 2025
497989d
Revive AuthorTracer as ValueTracer for `date`
OndraZizka Dec 11, 2025
a4e8380
Cosmetics
OndraZizka Dec 11, 2025
b677de2
Refactor HsqldbContentRepository.kt - querySingleValue(...)
OndraZizka Dec 11, 2025
8973530
Remove weird probably unnecessary or harmful Jackson BeanSerializerMo…
OndraZizka Dec 11, 2025
1c1b339
Refactor HsqldbContentRepository for readability
OndraZizka Dec 11, 2025
14d4ae9
Refactor FreemarkerTemplateEngine - completely throw away all the gar…
OndraZizka Dec 11, 2025
8bb944e
Rename TemplateModel to JbakeTemplateModel to avoid confusing it with…
OndraZizka Dec 11, 2025
3134c45
A couple of renames, and moved a couple classes
OndraZizka Dec 11, 2025
711e8f2
Refactor / reformat FreemarkerTemplateEngine more
OndraZizka Dec 11, 2025
0789695
Fix handling of date-times - WIP
OndraZizka Dec 11, 2025
705c5b6
Fix handling of date-times - WIP
OndraZizka Dec 11, 2025
9d19eab
Fix Groovy handling of OffsetDateTime
OndraZizka Dec 12, 2025
03745ad
Fix setter of JbakeTemplateModel.renderer
OndraZizka Dec 12, 2025
484ec83
Fix timezone handling in Date conversion
OndraZizka Dec 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 13 additions & 2 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
version: 1
update_configs:

- package_manager: "java:gradle"
directory: "/jbake-core"
update_schedule: "daily"
update_schedule: "monthly"

- package_manager: "java:gradle"
directory: "/jbake-dist"
update_schedule: "daily"
update_schedule: "monthly"

- package_manager: "java:maven"
directory: "/jbake-core"
update_schedule: "monthly"

- package_manager: "java:maven"
directory: "/jbake-dist"
update_schedule: "monthly"

5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
indent_size = 4

[AsciidocParserTest.kt]
trim_trailing_whitespace = false
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,36 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5

- name: Set up Java
uses: actions/setup-java@v2
uses: actions/setup-java@v5
with:
java-version: 11
java-version: 17
distribution: 'zulu'

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle') }}-${{ hashFiles('**/gradle.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }}
restore-keys: |
${{ runner.os }}-gradlew-
- name: Build-win
- name: Build-windows
if: runner.os == 'Windows'
shell: cmd
run: gradlew.bat -Dfile.encoding=UTF-8 build -S
- name: Build-nix
- name: Build-linux
if: runner.os != 'Windows'
run: ./gradlew build -S

- name: Upload Reports
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
if: failure()
with:
name: reports-${{ runner.os }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/early-access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v5
with:
fetch-depth: 0

- name: Set up Java
uses: actions/setup-java@v2
uses: actions/setup-java@v5
with:
java-version: 11
distribution: 'zulu'

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle') }}-${{ hashFiles('**/gradle.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }}
Expand All @@ -49,7 +49,7 @@ jobs:

- name: JReleaser output
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jreleaser-logs
path: |
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Maven Tests

on:
push:
branches: [ "*" ]
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v5

- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'temurin'

- name: Cache Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-m2-

- name: Run Maven tests
run: mvn -B clean install

- name: Upload test reports
if: always()
uses: actions/upload-artifact@v4
with:
path: |
**/target/surefire-reports/*
**/target/failsafe-reports/*

- name: Publish Test Results
uses: EnricoMi/[email protected]
with:
check_name: 'Maven Tests'
files: |
**/target/surefire-reports/*.xml
**/target/failsafe-reports/*.xml
42 changes: 42 additions & 0 deletions .github/workflows/qodana_code_quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#-------------------------------------------------------------------------------#
# Discover all capabilities of Qodana in our documentation #
# https://www.jetbrains.com/help/qodana/about-qodana.html #
#-------------------------------------------------------------------------------#

name: Qodana
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
- kotlin-upgraded

jobs:
qodana:
if: false # Disabled
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
project.open.type: Gradle
with:
# When pr-mode is set to true, Qodana analyzes only the files that have been changed
pr-mode: false
use-caches: true
post-pr-comment: true
use-annotations: true
# Upload Qodana results (SARIF, other artifacts, logs) as an artifact to the job
upload-result: false
# Quick-fixes available in Ultimate and Ultimate Plus plans
push-fixes: 'none'
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.project
/.settings
/target
**/target
/bin
/dist
/.idea
Expand All @@ -12,3 +13,7 @@
build/
.gradle
.gradletasknamecache
/docs/kotlin-migration-line-analysis/*
dependency-reduced-pom.xml
pom.xml.versionsBackup
.flattened-pom.xml
14 changes: 14 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<extensions>

<extension><groupId>org.apache.maven.extensions</groupId><artifactId>maven-build-cache-extension</artifactId><version>1.2.1</version></extension>

<!-- Usage: Add `-Dprofile` -->
<extension><groupId>fr.jcgay.maven</groupId><artifactId>maven-profiler</artifactId><version>3.3</version></extension>

<!--
Obsolete?
<extension> <groupId>io.takari.maven</groupId> <artifactId>maven-profiler</artifactId> <version>1.1.0</version> </extension>
-->

</extensions>
10 changes: 10 additions & 0 deletions .mvn/jvm.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
-XX:-UseParallelGC
-XX:+UseStringDeduplication
-XX:+UseLargePages
-XX:+OptimizeStringConcat
-XX:G1HeapWastePercent=20

-XX:+UnlockExperimentalVMOptions
-XX:+EnableJVMCI
77 changes: 77 additions & 0 deletions .mvn/maven-build-cache-config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<!--
Maven Build Cache configuration for JBake.
https://maven.apache.org/extensions/maven-build-cache-extension/

Enable with: <enabled>true</enabled>
Disable with: <enabled>false</enabled> or -Dmaven.build.cache.enabled=false
-->
<cache xmlns="http://maven.apache.org/BUILD-CACHE-CONFIG/1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/BUILD-CACHE-CONFIG/1.2.0 https://maven.apache.org/xsd/build-cache-config-1.2.0.xsd">

<configuration>
<enabled>false</enabled>
<local>
<maxBuildsCached>5</maxBuildsCached>
</local>
<projectVersioning adjustMetaInf="true"/>
</configuration>

<input>
<global>
<includes>
<include>**/src/**</include>
<include>pom.xml</include>
<include>**/pom.xml</include>
</includes>
<excludes>
<!-- Exclude generated/temporary files -->
<exclude>**/target/**</exclude>
<exclude>**/.flattened-pom.xml</exclude>
</excludes>
</global>
</input>

<executionControl>
<runAlways>
<plugins>
<!-- Integration tests should always run -->
<plugin artifactId="maven-failsafe-plugin"/>
<!-- Shade plugin creates uber-jar, should always run to ensure fresh build -->
<plugin artifactId="maven-shade-plugin"/>
</plugins>
<goalsLists>
<goalsList artifactId="maven-install-plugin"><goals><goal>install</goal></goals></goalsList>
<goalsList artifactId="maven-deploy-plugin"><goals><goal>deploy</goal></goals></goalsList>
</goalsLists>
</runAlways>
<reconcile logAllProperties="true">
<plugins>
<plugin artifactId="maven-compiler-plugin" goal="compile">
<reconciles>
<reconcile propertyName="source"/>
<reconcile propertyName="target"/>
<reconcile propertyName="debug"/>
<reconcile propertyName="debuglevel"/>
</reconciles>
<logs>
<log propertyName="includes"/>
<log propertyName="excludes"/>
</logs>
</plugin>
<plugin artifactId="kotlin-maven-plugin" goal="compile">
<reconciles>
<reconcile propertyName="jvmTarget"/>
<reconcile propertyName="languageVersion"/>
<reconcile propertyName="apiVersion"/>
</reconciles>
</plugin>
<plugin artifactId="duplicate-finder-maven-plugin" goal="check">
<reconciles>
<reconcile propertyName="skip" skipValue="true"/>
<reconcile propertyName="quiet" skipValue="true"/>
</reconciles>
</plugin>
</plugins>
</reconcile>
</executionControl>
</cache>
13 changes: 13 additions & 0 deletions .mvn/maven-version-rules.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset comparisonMethod="maven"
xmlns="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://mojo.codehaus.org/versions-maven-plugin/rule/2.0.0
https://www.mojohaus.org/versions/versions-model/xsd/rule-2.0.0.xsd">

<!-- Ignore pre-release versions globally -->
<ignoreVersions>
<ignoreVersion type="regex">.*[-_.](?i)(alpha|beta|rc|milestone|m[0-9]+|preview|pre|ea|cr|snapshot).*</ignoreVersion>
</ignoreVersions>

</ruleset>
Loading