Commit b18a86e
committed
Fix Android CI Java version and Maven plugin classpath
- **Android CI:**
- Updated `.github/workflows/scripts-android.yml` to explicitly set `JAVA_HOME` to Java 17 for the `reactivecircus/android-emulator-runner` step. This resolves `UnsupportedClassVersionError` in `sdkmanager` (which requires Java 17+), ensuring the Android SDK and emulator are correctly initialized within the CI container (where the default `JAVA_HOME` is Java 8).
- **Maven Plugin:**
- Modified `maven/codenameone-maven-plugin/pom.xml` to move `xalan` and `serializer` dependencies to the top of the dependency list. This prioritizes them on the classpath over `codenameone-designer` (a fat jar), resolving a `NoClassDefFoundError: org/apache/xml/serializer/OutputPropertiesFactory` that occurred during CSS compilation in archetype integration tests.1 parent 6fc2725 commit b18a86e
File tree
2 files changed
+12
-10
lines changed- .github/workflows
- maven/codenameone-maven-plugin
2 files changed
+12
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
37 | 47 | | |
38 | 48 | | |
39 | 49 | | |
| |||
219 | 229 | | |
220 | 230 | | |
221 | 231 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
0 commit comments