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
05bb1bd7
"...main/resources/git@ustchcs.com:gujinli1118/eladmin.git" did not exist on "b9aca9366d5e096445b624d37c0c05ba0e873f57"
Commit
05bb1bd7
authored
Dec 01, 2020
by
guwd
Browse files
1、移除无效测试
2、修改样式 3、修改生成
parent
5a74a045
Changes
3
Hide whitespace changes
Inline
Side-by-side
pom.bin
deleted
100644 → 0
View file @
5a74a045
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.2.2.RELEASE
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
net.mingsoft
</groupId>
<artifactId>
ms-mcms
</artifactId>
<version>
5.1
</version>
<name>
ms-mcms
</name>
<properties>
<java.version>
1.8
</java.version>
</properties>
<dependencies>
<dependency>
<groupId>
net.mingsoft
</groupId>
<artifactId>
ms-mpeople
</artifactId>
<version>
1.0.28
</version>
</dependency>
<!-- 此部分是铭飞平台MStroe的客户端(MStore不在铭飞开源产品范围),如果不需要使用MStore可以删除掉 -->
<dependency>
<groupId>
net.mingsoft
</groupId>
<artifactId>
store-client
</artifactId>
<version>
5.1
</version>
</dependency>
</dependencies>
<build>
<finalName>
ms-mcms
</finalName>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.1
</version>
<configuration>
<source>
${java.version}
</source>
<target>
${java.version}
</target>
</configuration>
</plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<executions>
<execution>
<goals>
<goal>
repackage
</goal>
</goals>
</execution>
</executions>
<!--打包生产-->
<configuration>
<fork>
true
</fork>
<mainClass>
net.mingsoft.MSApplication
</mainClass>
</configuration>
</plugin>
<!--
打包生产
-->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
3.1.0
</version>
<configuration>
<descriptors>
<descriptor>
bin/assembly.xml
</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>
make-assembly
</id>
<phase>
package
</phase>
<goals>
<goal>
single
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>
src/main/java
</directory>
<excludes>
<exclude>
**/*.java
</exclude>
</excludes>
</resource>
<resource>
<directory>
src/main/webapp
</directory>
<excludes>
<!--打包生产-->
<exclude>
static/**
</exclude>
<exclude>
html/**
</exclude>
<exclude>
upload/**
</exclude>
<exclude>
templets/**
</exclude>
<exclude>
WEB-INF/**
</exclude>
</excludes>
</resource>
</resources>
<defaultGoal>
compile
</defaultGoal>
</build>
</project>
\ No newline at end of file
src/main/java/net/mingsoft/cms/util/CmsParserUtil.java
View file @
05bb1bd7
...
@@ -173,6 +173,9 @@ public class CmsParserUtil extends ParserUtil {
...
@@ -173,6 +173,9 @@ public class CmsParserUtil extends ParserUtil {
ExecutorService
pool
=
SpringUtil
.
getBean
(
ExecutorService
.
class
);
ExecutorService
pool
=
SpringUtil
.
getBean
(
ExecutorService
.
class
);
// 生成文章
// 生成文章
for
(
int
artId
=
0
;
artId
<
articleIdList
.
size
();)
{
for
(
int
artId
=
0
;
artId
<
articleIdList
.
size
();)
{
String
writePath
=
null
;
String
writePath
=
null
;
//设置分页类
//设置分页类
PageBean
page
=
new
PageBean
();
PageBean
page
=
new
PageBean
();
...
...
src/test/java/net/mingsoft/mcms/McmsApplicationTests.java
deleted
100644 → 0
View file @
5a74a045
//package net.mingsoft.mcms;
//
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.context.junit4.SpringRunner;
//
//@RunWith(SpringRunner.class)
//@SpringBootTest
//public class McmsApplicationTests {
//
// @Test
// public void contextLoads() {
// }
//
//}
//
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