Commit e284817
authored
* TIKA-4609: Fix Maven verbosity flags (remove line breaks)
The previous commit had line breaks in the property name which broke
the Maven command. This commit fixes it by keeping the full property
name on one line without spaces:
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
Changes:
- Fix all 5 workflow files to use correct property syntax
- Remove accidental spaces/line breaks in property name
- Properly suppress Maven transfer listener output
* TIKA-4609: Quote Maven property and add Maven caching
Two fixes:
1. Quote the -D property to fix Windows parsing issue
- Windows PowerShell/CMD was treating the space before -D as argument separator
- Wrapping in quotes: "-Dorg.slf4j...=warn" fixes this
- Error was: Unknown lifecycle phase ".slf4j.simpleLogger..."
2. Add Maven dependency caching
- Add 'cache: maven' to all setup-java@v4 steps
- Speeds up builds by caching ~/.m2/repository
- Reduces download times for dependencies
This maintains the original goal of reducing CI log verbosity while:
- Fixing Windows build compatibility
- Improving build performance with caching
1 parent 9315d52 commit e284817
File tree
5 files changed
+10
-5
lines changed- .github/workflows
5 files changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
0 commit comments