Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
01199a7a
"eladmin-system/src/main/vscode:/vscode.git/clone" did not exist on "eadd9c774600d1807092a051a1e7e1c1b5ec9f53"
Commit
01199a7a
authored
Mar 02, 2022
by
msgroup
Committed by
mingsoft
Mar 02, 2022
Browse files
优化5.2.7配置文件
parent
91c08aee
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/scripts/
assembly.xml
→
assembly.xml
View file @
01199a7a
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.0.0.xsd"
>
<id>
assembly
</id>
<id>
assembly
</id>
<!--打包zip格式,需要解压并上传-->
<formats>
<formats>
<format>
zip
</format>
<format>
zip
</format>
</formats>
</formats>
...
...
doc/mcms-5.2.7.sql
View file @
01199a7a
...
@@ -32,7 +32,7 @@ CREATE TABLE `app` (
...
@@ -32,7 +32,7 @@ CREATE TABLE `app` (
-- Records of app
-- Records of app
-- ----------------------------
-- ----------------------------
BEGIN;
BEGIN;
INSERT INTO `app` VALUES (1, '铭飞MCms(5.2.
6
)', 'http://localhost:8080/', '[{\"url\":\"/upload/1/appLogo/1609397756549.png\",\"name\":\"1593834123492.png\",\"path\":\"/upload/1/appLogo/1609397756549.png\",\"uid\":1609397756411,\"status\":\"success\"}]', '铭飞MCMS', '版权所有 ©铭飞科技有限公司2012-2019 保留一切权利。', 'default', '铭飞MCMS', '', 0, NULL, '2019-11-17 00:00:00', 'web', '2022-02-28 10:28:55', '57', NULL, '', 0);
INSERT INTO `app` VALUES (1, '铭飞MCms(5.2.
7
)', 'http://localhost:8080/', '[{\"url\":\"/upload/1/appLogo/1609397756549.png\",\"name\":\"1593834123492.png\",\"path\":\"/upload/1/appLogo/1609397756549.png\",\"uid\":1609397756411,\"status\":\"success\"}]', '铭飞MCMS', '版权所有 ©铭飞科技有限公司2012-2019 保留一切权利。', 'default', '铭飞MCMS', '', 0, NULL, '2019-11-17 00:00:00', 'web', '2022-02-28 10:28:55', '57', NULL, '', 0);
COMMIT;
COMMIT;
-- ----------------------------
-- ----------------------------
...
...
pom.xml
View file @
01199a7a
...
@@ -11,9 +11,9 @@
...
@@ -11,9 +11,9 @@
<groupId>
net.mingsoft
</groupId>
<groupId>
net.mingsoft
</groupId>
<artifactId>
ms-mcms
</artifactId>
<artifactId>
ms-mcms
</artifactId>
<version>
5.2.7
</version>
<version>
5.2.7
</version>
<name>
ms-mcms
</name>
<name>
${project.groupId}:${project.artifactId}
</name>
<!-- 打包war包 -->
<!-- 打包war包
,注意不启用(resources》resource》excludes的配置并注释掉maven-assembly-plugin 插件配置
-->
<!--
<packaging>war</packaging>-->
<!--<packaging>war</packaging>-->
<properties>
<properties>
<java.version>
1.8
</java.version>
<java.version>
1.8
</java.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
...
@@ -114,19 +114,24 @@
...
@@ -114,19 +114,24 @@
</dependencies>
</dependencies>
<build>
<build>
<finalName>
ms-mcms
</finalName>
<finalName>
${project.artifactId}
</finalName>
<resources>
<resources>
<resource>
<resource>
<directory>
src/main/webapp
</directory>
<directory>
src/main/webapp
</directory>
<!--打包生产jar包推荐启用下面配置-->
<!--打包生产war包不启用下面配置-->
<excludes>
<excludes>
<!-- 打包生产并手动将static、html、upload、template复制到生产 -->
<!-- 可以避免将静态资源打入jar包中,方便生产实时修改静态资源文件-->
<!-- 打包生产建议并手动将static、html、upload、template复制到生产 -->
<!--<exclude>static/</exclude>
<!--<exclude>static/</exclude>
<exclude>html/</exclude>
<exclude>html/</exclude>
<exclude>upload/</exclude>
<exclude>upload/</exclude>
<exclude>template/</exclude>-->
<exclude>template/</exclude>-->
<!-- 如果生产需要实时修改WEB-INF/下的页面可,启用这行并手动将项目中的WEB-INF目录复制到运行环境 -->
<!-- 如果生产需要实时修改WEB-INF/下的页面可,启用这行并手动将项目中的WEB-INF目录复制到运行环境 -->
<!--<exclude>WEB-INF/</exclude>-->
<!--<exclude>WEB-INF/</exclude>-->
</excludes>
</excludes>
</resource>
</resource>
<resource>
<resource>
<directory>
src/main/resources
</directory>
<directory>
src/main/resources
</directory>
...
@@ -172,6 +177,9 @@
...
@@ -172,6 +177,9 @@
</dependencies>
</dependencies>
</plugin>
</plugin>
<!-- 结合(resources》resource》excludes的配置使用 -->
<!-- 打包出的结构 http://doc.mingsoft.net/server/huan-jing-pei-zhi/jarbu-shu.html#%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84-->
<!-- 打包war包时,注释掉此插件-->
<plugin>
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
3.1.1
</version>
<version>
3.1.1
</version>
...
@@ -183,9 +191,9 @@
...
@@ -183,9 +191,9 @@
<goal>
single
</goal>
<goal>
single
</goal>
</goals>
</goals>
<configuration>
<configuration>
<finalName>
ms-mcms
</finalName>
<finalName>
${project.artifactId}
</finalName>
<descriptors>
<descriptors>
<descriptor>
src/main/scripts/
assembly.xml
</descriptor>
<descriptor>
assembly.xml
</descriptor>
</descriptors>
</descriptors>
</configuration>
</configuration>
</execution>
</execution>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment