File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 258258 <plugin >
259259 <artifactId >maven-surefire-plugin</artifactId >
260260 <version >${maven-surefire-plugin.version} </version >
261+ <configuration >
262+ <environmentVariables >
263+ <LC_ALL >${env.LC_ALL} </LC_ALL ><!-- needed by initdb -->
264+ </environmentVariables >
265+ <forkCount >1C</forkCount >
266+ </configuration >
261267 </plugin >
262268 <plugin >
263269 <artifactId >maven-pmd-plugin</artifactId >
336342 </build >
337343
338344 <profiles >
345+ <!-- prevent "initdb: error: invalid locale settings; check LANG and LC_* environment variables" -->
346+ <profile >
347+ <id >default-lc-all</id >
348+ <activation >
349+ <property >
350+ <name >!env.LC_ALL</name ><!-- if LC_ALL is missing -->
351+ </property >
352+ <os >
353+ <family >Unix</family >
354+ </os >
355+ </activation >
356+ <properties >
357+ <env .LC_ALL>en_US.UTF-8</env .LC_ALL><!-- set default -->
358+ </properties >
359+ </profile >
339360 <profile >
340361 <id >release</id >
341362 <build >
You can’t perform that action at this time.
0 commit comments