Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
e9e2354a16
|
@ -12,8 +12,17 @@
|
|||
<!--第三方依赖设置-->
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
<!--使用项目中的artifact,第三方包打包进tar.gz文件的lib目录下-->
|
||||
<useProjectArtifact>true</useProjectArtifact>
|
||||
<!-- 是否把当前项目的输出jar包并使用,true则会把当前项目输出为jar包到输出目录,false不输出 -->
|
||||
<useProjectArtifact>false</useProjectArtifact>
|
||||
<scope>system</scope>
|
||||
<!-- 依赖输出目录,相对输出目录的根目录,当前示例把依赖输出到lib目录 -->
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</dependencySet>
|
||||
<dependencySet>
|
||||
<!-- 是否把当前项目的输出jar包并使用,true则会把当前项目输出为jar包到输出目录,false不输出 -->
|
||||
<useProjectArtifact>false</useProjectArtifact>
|
||||
<scope>runtime</scope>
|
||||
<!-- 依赖输出目录,相对输出目录的根目录,当前示例把依赖输出到lib目录 -->
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
|
@ -34,10 +43,10 @@
|
|||
<filtered>true</filtered>
|
||||
</fileSet>
|
||||
|
||||
<fileSet>
|
||||
<directory>${project.basedir}/lib</directory>
|
||||
<outputDirectory>lib/</outputDirectory>
|
||||
</fileSet>
|
||||
<!-- <fileSet>-->
|
||||
<!-- <directory>${project.basedir}/lib</directory>-->
|
||||
<!-- <outputDirectory>lib/</outputDirectory>-->
|
||||
<!-- </fileSet>-->
|
||||
|
||||
<!-- src/main/resources/config目录下配置文件打包到config目录下 -->
|
||||
<fileSet>
|
||||
|
|
|
@ -13,7 +13,7 @@ LOG_PATH=/dev/null
|
|||
#开始方法
|
||||
start() {
|
||||
cd $JAR_ROOT
|
||||
nohup java -Dfile.encoding=utf-8 -server -Xms256m -Xmx1g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./ -jar $JAR_PATH --server.port=8888 >$LOG_PATH 2>&1 &
|
||||
nohup java -Dfile.encoding=utf-8 -server -Xms256m -Xmx1g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./ -jar $JAR_PATH >$LOG_PATH 2>&1 &
|
||||
echo "$JAR_PATH start success."
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue