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
94b30bdd
Commit
94b30bdd
authored
Jun 28, 2020
by
sgjj
Browse files
添加插件打包
parent
23b9a5a1
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
assembly-upgrade.xml
0 → 100644
View file @
94b30bdd
<assembly
xmlns=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"
>
<id>
upgrade
</id>
<includeBaseDirectory>
false
</includeBaseDirectory>
<formats>
<format>
zip
</format>
</formats>
<fileSets>
<fileSet>
<directory>
target${file.separator}classes
</directory>
<outputDirectory>
${file.separator}
</outputDirectory>
<includes>
<include>
**/upgrade/**
</include>
</includes>
<excludes>
<exclude>
**/upgrade/*.java
</exclude>
</excludes>
</fileSet>
</fileSets>
</assembly>
pom.xml
View file @
94b30bdd
...
...
@@ -122,6 +122,26 @@
</resource>
</resources>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
2.2-beta-5
</version>
<configuration>
<appendAssemblyId>
false
</appendAssemblyId>
<!-- 指定assembly配置文件路径 -->
<descriptor>
assembly-upgrade.xml
</descriptor>
</configuration>
<executions>
<execution>
<!-- 在执行package打包时,执行assembly:single -->
<phase>
package
</phase>
<goals>
<!-- 在执行assembly一次 -->
<goal>
single
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
...
...
@@ -196,10 +216,6 @@
</dependencies>
</plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-javadoc-plugin
</artifactId>
...
...
src/main/java/net/mingsoft/cms/upgrade/5.0.0-to-5.0.1-mysql.sql
0 → 100644
View file @
94b30bdd
This diff is collapsed.
Click to expand it.
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