diff options
author | MukeshKumar <mukeshsharma@est.tech> | 2021-02-05 17:22:09 +0000 |
---|---|---|
committer | Mukesh <mukeshsharma@est.tech> | 2021-02-05 17:22:34 +0000 |
commit | ba19fcb43d1db5668e5522f06c9b7218489a2bb0 (patch) | |
tree | 9018f71a7495fa3762357cf4d71de718d0fb5f9e /so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-ui/pom.xml | |
parent | 972b4ea427f8d9ee7b5a0276d8686803529cad9b (diff) |
Adding monitoring UI module
Change-Id: Ic562543c54ccaa25ad37d4bb90290bfc0cf04dbe
Issue-ID: SO-3487
Signed-off-by: Mukesh <mukeshsharma@est.tech>
Diffstat (limited to 'so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-ui/pom.xml')
-rw-r--r-- | so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-ui/pom.xml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-ui/pom.xml b/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-ui/pom.xml index 0ebf949..eb7e4be 100644 --- a/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-ui/pom.xml +++ b/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-ui/pom.xml @@ -8,4 +8,66 @@ </parent> <artifactId>so-admin-cockpit-monitoring-workflow-ui</artifactId> <name>SO Admin Cockpit Monitoring Workflow UI</name> + <properties> + <yarn.proxy>false</yarn.proxy> + </properties> + <build> + <plugins> + <plugin> + <groupId>com.github.eirslett</groupId> + <artifactId>frontend-maven-plugin</artifactId> + <version>1.6</version> + <configuration> + <workingDirectory>${project.basedir}/src/main/frontend</workingDirectory> + <installDirectory>target</installDirectory> + </configuration> + <executions> + <execution> + <id>install node and yarn</id> + <goals> + <goal>install-node-and-yarn</goal> + </goals> + <phase>generate-resources</phase> + <configuration> + <nodeVersion>v10.19.0</nodeVersion> + <yarnVersion>v1.7.0</yarnVersion> + </configuration> + </execution> + <execution> + <id>yarn install</id> + <goals> + <goal>yarn</goal> + </goals> + <configuration> + <arguments>install</arguments> + </configuration> + </execution> + <execution> + <id>yarn run webpack build</id> + <goals> + <goal>yarn</goal> + </goals> + <configuration> + <yarnInheritsProxyConfigFromMaven>${yarn.proxy}</yarnInheritsProxyConfigFromMaven> + <arguments>build</arguments> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-clean-plugin</artifactId> + <version>3.0.0</version> + <configuration> + <failOnError>false</failOnError> + <filesets> + <fileset> + <directory>${project.basedir}/src/main/frontend/dist/</directory> + <followSymlinks>false</followSymlinks> + </fileset> + </filesets> + </configuration> + </plugin> + </plugins> + </build> </project>
\ No newline at end of file |