Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KH-546: Default language for the reports datasets to be Khmer #354

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
</modules>

<dependencies>

<!-- Ozone Cambodia Superset configs sub-module -->
<dependency>
<groupId>${project.groupId}</groupId>
Expand All @@ -44,6 +43,7 @@
<type>zip</type>
</dependency>

<!-- Ozone Analytics Queries -->
<dependency>
<groupId>com.ozonehis</groupId>
<artifactId>${analyticQueriesArtifactId}</artifactId>
Expand Down Expand Up @@ -155,6 +155,28 @@
</executions>
</plugin>

<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>Switch Ozone Analytics Queries to locale 'km'</id>
<phase>generate-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<replaceregexp flags="g">
<regexp pattern="'en'"/>
<substitution expression="'km'"/>
<fileset dir="${project.build.directory}/${project.artifactId}-${project.version}/distro/configs/analytics" includes="**/*.sql"/>
</replaceregexp>
</target>
</configuration>
</execution>
</executions>
</plugin>

<!-- Compile a dependency report -->
<plugin>
<groupId>net.mekomsolutions.maven.plugin</groupId>
Expand Down
Loading