mirror of https://github.com/apache/nifi.git
[NIFI-13471] make theme file path configurable during maven build (#9020)
* [NIFI-13471] make theme file path configurable during maven build * address review feedback This closes #9020
This commit is contained in:
parent
ca227c7cd0
commit
634d914889
|
@ -33,10 +33,13 @@
|
|||
<frontend.working.dir>${project.build.directory}/frontend-working-directory</frontend.working.dir>
|
||||
<copy-rename-maven-plugin.version>1.0.1</copy-rename-maven-plugin.version>
|
||||
<!--
|
||||
String name of the theme file to be used.
|
||||
Ex: 'purple' // will overwrite the 'material' theme file with the 'purple' theme.
|
||||
Path to the theme file to be used.
|
||||
-->
|
||||
<frontend.theme>material</frontend.theme>
|
||||
<frontend.theme.dir>${frontend.working.dir}/libs/shared/src/assets/themes</frontend.theme.dir>
|
||||
<!--
|
||||
Name of the theme file to be used.
|
||||
-->
|
||||
<frontend.theme.name>material</frontend.theme.name>
|
||||
<frontend.skipTests>true</frontend.skipTests>
|
||||
</properties>
|
||||
|
||||
|
@ -166,7 +169,7 @@
|
|||
<goal>copy</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sourceFile>${frontend.working.dir}/libs/shared/src/assets/themes/${frontend.theme}.scss</sourceFile>
|
||||
<sourceFile>${frontend.theme.dir}/${frontend.theme.name}.scss</sourceFile>
|
||||
<destinationFile>${frontend.working.dir}/libs/shared/src/assets/themes/material.scss</destinationFile>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
|
Loading…
Reference in New Issue