summaryrefslogtreecommitdiffstats
path: root/cds-ui/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/pom.xml')
-rw-r--r--cds-ui/pom.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/cds-ui/pom.xml b/cds-ui/pom.xml
index 3e7d5345e..5b1277923 100644
--- a/cds-ui/pom.xml
+++ b/cds-ui/pom.xml
@@ -44,5 +44,24 @@ limitations under the License.
<properties>
<npm.executable>npm</npm.executable>
+ <!-- Properties for CDS-GUI to npm run build:local -->
+ <npm.skipBuild>false</npm.skipBuild>
+ <npm.skipBuildLocal>true</npm.skipBuildLocal>
</properties>
+
+ <profiles>
+ <!-- Profile to either run npm build or npm build:local -->
+ <profile>
+ <id>npmLocal</id>
+ <activation>
+ <property>
+ <name>npmLocal</name>
+ </property>
+ </activation>
+ <properties>
+ <npm.skipBuild>true</npm.skipBuild>
+ <npm.skipBuildLocal>false</npm.skipBuildLocal>
+ </properties>
+ </profile>
+ </profiles>
</project>