Commit 2f73b0c6 authored by 赵啸非's avatar 赵啸非

业务日志添加

parent c68d988c
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
<profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group>
<profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace>
<package.environment>build</package.environment> <package.environment>build</package.environment>
<skipDeploy>false</skipDeploy>
</properties> </properties>
</profile> </profile>
<profile> <profile>
...@@ -79,7 +80,8 @@ ...@@ -79,7 +80,8 @@
<profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group>
<profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace>
<profiles.log.path>/mortals/app/logs</profiles.log.path> <profiles.log.path>/mortals/app/logs</profiles.log.path>
<package.environment>build:stage</package.environment> <package.environment>stage</package.environment>
<skipDeploy>true</skipDeploy>
</properties> </properties>
</profile> </profile>
<profile> <profile>
...@@ -113,6 +115,7 @@ ...@@ -113,6 +115,7 @@
<profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace>
<profiles.log.path>/mortals/app/logs</profiles.log.path> <profiles.log.path>/mortals/app/logs</profiles.log.path>
<package.environment>build:prod</package.environment> <package.environment>build:prod</package.environment>
<skipDeploy>false</skipDeploy>
</properties> </properties>
</profile> </profile>
</profiles> </profiles>
...@@ -267,7 +270,9 @@ ...@@ -267,7 +270,9 @@
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId> <artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version> <version>1.6.0</version>
<configuration>
<skip>${skipDeploy}</skip>
</configuration>
<executions> <executions>
<!--执行npm install--> <!--执行npm install-->
<execution> <execution>
...@@ -277,8 +282,7 @@ ...@@ -277,8 +282,7 @@
<goal>exec</goal> <goal>exec</goal>
</goals> </goals>
<configuration> <configuration>
<executable>yarn</executable> <executable>npm install</executable>
<workingDirectory>${project.parent.basedir}/log-manager-ui/admin</workingDirectory> <workingDirectory>${project.parent.basedir}/log-manager-ui/admin</workingDirectory>
</configuration> </configuration>
</execution> </execution>
...@@ -290,7 +294,7 @@ ...@@ -290,7 +294,7 @@
<goal>exec</goal> <goal>exec</goal>
</goals> </goals>
<configuration> <configuration>
<executable>yarn</executable> <executable>npm</executable>
<arguments> <arguments>
<argument>run</argument> <argument>run</argument>
<arguments>${package.environment}</arguments> <arguments>${package.environment}</arguments>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment