Pre Merge pull request !2 from huapox/sam-custom
commit
b79f1ad72b
|
|
@ -0,0 +1,3 @@
|
|||
@Library('gitee.com/infrastlabs/fk-jenkins-shared-library@sam-custom') _
|
||||
// onemall()
|
||||
onemall("$MODULE")
|
||||
|
|
@ -11,6 +11,12 @@
|
|||
|
||||
<artifactId>demo-application</artifactId>
|
||||
|
||||
<properties>
|
||||
<build.skip.assembly>false</build.skip.assembly>
|
||||
<build.skip.install>true</build.skip.install>
|
||||
<build.skip.deploy>true</build.skip.deploy>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Mall 相关 -->
|
||||
<dependency>
|
||||
|
|
@ -112,21 +118,29 @@
|
|||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<!--<build>
|
||||
<plugins>
|
||||
<!-- 提供给 mapstruct 使用 -->
|
||||
<!– 提供给 mapstruct 使用 –>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<!-- 打包 -->
|
||||
<!– 打包 –>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>-->
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,31 @@
|
|||
<assembly>
|
||||
<id>assembly</id>
|
||||
<formats>
|
||||
<format>dir</format>
|
||||
<format>tar.gz</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<!--bin-->
|
||||
<fileSet>
|
||||
<directory>src/main/assembly/scripts</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<fileMode>0755</fileMode>
|
||||
</fileSet>
|
||||
<!--res-->
|
||||
<fileSet>
|
||||
<directory>src/main/resources</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet>
|
||||
<!--webapp-->
|
||||
<!-- <fileSet>
|
||||
<directory>src/main/webapp</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet> -->
|
||||
<!--lib-->
|
||||
<fileSet>
|
||||
<directory>${project.build.directory}/lib</directory>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
@echo off & setlocal enabledelayedexpansion
|
||||
set BIN_DIR=%~dp0
|
||||
|
||||
::cnf
|
||||
set APP_OPS=""
|
||||
set APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
::run
|
||||
cd %BIN_DIR%\..
|
||||
set APP_CP=""
|
||||
for %%f in (lib\*.jar) do set APP_CP=!APP_CP!;%%f
|
||||
::echo libs: %APP_CP%
|
||||
|
||||
::java %APP_OPS% -cp "conf:%APP_CP%" %APP_MAIN%
|
||||
java -Dfile.encoding=UTF-8 -Xms256m -Xmx512m -cp ".\runtime;%APP_CP%" %APP_MAIN%
|
||||
cd %BIN_DIR%
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
##cnf
|
||||
APP_OPS="-Xms256m -Xmx512m"
|
||||
APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
##run
|
||||
cur=$(dirname $(readlink -f "$0")) && cd $cur/..
|
||||
|
||||
APP_CP=$(echo lib/*.jar |tr ' ' ':')
|
||||
exec java -Dfile.encoding=UTF-8 ${APP_OPS} -server -cp "runtime:${APP_CP}" ${APP_MAIN}
|
||||
|
|
@ -0,0 +1,88 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
|
||||
|
||||
<localRepository>/opt/jk_ws/repository</localRepository>
|
||||
|
||||
<pluginGroups>
|
||||
<pluginGroup>org.mortbay.jetty</pluginGroup>
|
||||
</pluginGroups>
|
||||
<proxies></proxies>
|
||||
<servers><!-- distributionAcc: add here -->
|
||||
<server>
|
||||
<id>releases</id>
|
||||
<username>demo_deploy</username>
|
||||
<password>xxx</password>
|
||||
</server>
|
||||
|
||||
<server>
|
||||
<id>snapshots</id>
|
||||
<username>demo_deploy</username>
|
||||
<password>xxx</password>
|
||||
</server>
|
||||
</servers>
|
||||
|
||||
|
||||
<mirrors>
|
||||
<mirror>
|
||||
<id>codehaus-bypass</id>
|
||||
<name>Codehaus bypass mirror</name>
|
||||
<url>http://repo1.maven.org/maven2</url>
|
||||
<mirrorOf>codehaus</mirrorOf>
|
||||
</mirror>
|
||||
<mirror>
|
||||
<!--aliyun mirror reponstory -->
|
||||
<id>nexus-aliyun</id>
|
||||
<mirrorOf>central</mirrorOf>
|
||||
<name>Nexus aliyun</name>
|
||||
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
|
||||
</mirror>
|
||||
</mirrors>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<activation><activeByDefault>true</activeByDefault></activation>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>nexus</id>
|
||||
<url>http://47.98.177.156:8082/nexus/content/groups/public</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>always</updatePolicy>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>nexus</id>
|
||||
<url>http://47.98.177.156:8082/nexus/content/groups/public</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>always</updatePolicy>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<!--<distributionManagement>
|
||||
<repository>
|
||||
<id>releases</id>
|
||||
<name>Local Nexus Repository</name>
|
||||
<url>http://192.168.1.99:8082/nexus/content/repositories/releases/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>snapshots</id>
|
||||
<name>Local Nexus Repository</name>
|
||||
<url>http://192.168.1.99:8082/nexus/content/repositories/snapshots</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement> -->
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</settings>
|
||||
18
ops/pom.xml
18
ops/pom.xml
|
|
@ -11,6 +11,12 @@
|
|||
|
||||
<artifactId>ops</artifactId>
|
||||
|
||||
<properties>
|
||||
<build.skip.assembly>false</build.skip.assembly>
|
||||
<build.skip.install>true</build.skip.install>
|
||||
<build.skip.deploy>true</build.skip.deploy>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Web 相关 -->
|
||||
<dependency>
|
||||
|
|
@ -32,10 +38,10 @@
|
|||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<!--<build>
|
||||
<plugins>
|
||||
|
||||
<!-- 打包 -->
|
||||
<!– 打包 –>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
|
|
@ -45,6 +51,14 @@
|
|||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>-->
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,31 @@
|
|||
<assembly>
|
||||
<id>assembly</id>
|
||||
<formats>
|
||||
<format>dir</format>
|
||||
<format>tar.gz</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<!--bin-->
|
||||
<fileSet>
|
||||
<directory>src/main/assembly/scripts</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<fileMode>0755</fileMode>
|
||||
</fileSet>
|
||||
<!--res-->
|
||||
<fileSet>
|
||||
<directory>src/main/resources</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet>
|
||||
<!--webapp-->
|
||||
<!-- <fileSet>
|
||||
<directory>src/main/webapp</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet> -->
|
||||
<!--lib-->
|
||||
<fileSet>
|
||||
<directory>${project.build.directory}/lib</directory>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
@echo off & setlocal enabledelayedexpansion
|
||||
set BIN_DIR=%~dp0
|
||||
|
||||
::cnf
|
||||
set APP_OPS=""
|
||||
set APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
::run
|
||||
cd %BIN_DIR%\..
|
||||
set APP_CP=""
|
||||
for %%f in (lib\*.jar) do set APP_CP=!APP_CP!;%%f
|
||||
::echo libs: %APP_CP%
|
||||
|
||||
::java %APP_OPS% -cp "conf:%APP_CP%" %APP_MAIN%
|
||||
java -Dfile.encoding=UTF-8 -Xms256m -Xmx512m -cp ".\runtime;%APP_CP%" %APP_MAIN%
|
||||
cd %BIN_DIR%
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
##cnf
|
||||
APP_OPS="-Xms256m -Xmx512m"
|
||||
APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
##run
|
||||
cur=$(dirname $(readlink -f "$0")) && cd $cur/..
|
||||
|
||||
APP_CP=$(echo lib/*.jar |tr ' ' ':')
|
||||
exec java -Dfile.encoding=UTF-8 ${APP_OPS} -server -cp "runtime:${APP_CP}" ${APP_MAIN}
|
||||
|
|
@ -11,6 +11,13 @@
|
|||
|
||||
<artifactId>order-application</artifactId>
|
||||
|
||||
<properties>
|
||||
<build.skip.assembly>false</build.skip.assembly>
|
||||
<build.skip.install>true</build.skip.install>
|
||||
<build.skip.deploy>true</build.skip.deploy>
|
||||
</properties>
|
||||
|
||||
|
||||
<dependencies>
|
||||
<!-- Mall 相关 -->
|
||||
<dependency>
|
||||
|
|
@ -26,5 +33,12 @@
|
|||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,31 @@
|
|||
<assembly>
|
||||
<id>assembly</id>
|
||||
<formats>
|
||||
<format>dir</format>
|
||||
<format>tar.gz</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<!--bin-->
|
||||
<fileSet>
|
||||
<directory>src/main/assembly/scripts</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<fileMode>0755</fileMode>
|
||||
</fileSet>
|
||||
<!--res-->
|
||||
<fileSet>
|
||||
<directory>src/main/resources</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet>
|
||||
<!--webapp-->
|
||||
<!-- <fileSet>
|
||||
<directory>src/main/webapp</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet> -->
|
||||
<!--lib-->
|
||||
<fileSet>
|
||||
<directory>${project.build.directory}/lib</directory>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
@echo off & setlocal enabledelayedexpansion
|
||||
set BIN_DIR=%~dp0
|
||||
|
||||
::cnf
|
||||
set APP_OPS=""
|
||||
set APP_MAIN=cn.iocoder.mall.order.application.OrderApplication
|
||||
|
||||
::run
|
||||
cd %BIN_DIR%\..
|
||||
set APP_CP=""
|
||||
for %%f in (lib\*.jar) do set APP_CP=!APP_CP!;%%f
|
||||
::echo libs: %APP_CP%
|
||||
|
||||
::java %APP_OPS% -cp "conf:%APP_CP%" %APP_MAIN%
|
||||
java -Dfile.encoding=UTF-8 -Xms256m -Xmx512m -cp ".\runtime;%APP_CP%" %APP_MAIN%
|
||||
cd %BIN_DIR%
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
##cnf
|
||||
APP_OPS="-Xms256m -Xmx512m"
|
||||
APP_MAIN=cn.iocoder.mall.order.application.OrderApplication
|
||||
|
||||
##run
|
||||
cur=$(dirname $(readlink -f "$0")) && cd $cur/..
|
||||
|
||||
APP_CP=$(echo lib/*.jar |tr ' ' ':')
|
||||
exec java -Dfile.encoding=UTF-8 ${APP_OPS} -server -cp "runtime:${APP_CP}" ${APP_MAIN}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
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>
|
||||
<artifactId>product</artifactId>
|
||||
<artifactId>order</artifactId>
|
||||
<groupId>cn.iocoder.mall</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
call mvn package -Pjenkins
|
||||
|
||||
pause
|
||||
|
|
@ -11,6 +11,12 @@
|
|||
|
||||
<artifactId>pay-application</artifactId>
|
||||
|
||||
<properties>
|
||||
<build.skip.assembly>false</build.skip.assembly>
|
||||
<build.skip.install>true</build.skip.install>
|
||||
<build.skip.deploy>true</build.skip.deploy>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Mall 相关 -->
|
||||
<dependency>
|
||||
|
|
@ -85,21 +91,29 @@
|
|||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<!--<build>
|
||||
<plugins>
|
||||
<!-- 提供给 mapstruct 使用 -->
|
||||
<!– 提供给 mapstruct 使用 –>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
<!-- 打包 -->
|
||||
<!– 打包 –>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>-->
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,31 @@
|
|||
<assembly>
|
||||
<id>assembly</id>
|
||||
<formats>
|
||||
<format>dir</format>
|
||||
<format>tar.gz</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<!--bin-->
|
||||
<fileSet>
|
||||
<directory>src/main/assembly/scripts</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<fileMode>0755</fileMode>
|
||||
</fileSet>
|
||||
<!--res-->
|
||||
<fileSet>
|
||||
<directory>src/main/resources</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet>
|
||||
<!--webapp-->
|
||||
<!-- <fileSet>
|
||||
<directory>src/main/webapp</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet> -->
|
||||
<!--lib-->
|
||||
<fileSet>
|
||||
<directory>${project.build.directory}/lib</directory>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
@echo off & setlocal enabledelayedexpansion
|
||||
set BIN_DIR=%~dp0
|
||||
|
||||
::cnf
|
||||
set APP_OPS=""
|
||||
set APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
::run
|
||||
cd %BIN_DIR%\..
|
||||
set APP_CP=""
|
||||
for %%f in (lib\*.jar) do set APP_CP=!APP_CP!;%%f
|
||||
::echo libs: %APP_CP%
|
||||
|
||||
::java %APP_OPS% -cp "conf:%APP_CP%" %APP_MAIN%
|
||||
java -Dfile.encoding=UTF-8 -Xms256m -Xmx512m -cp ".\runtime;%APP_CP%" %APP_MAIN%
|
||||
cd %BIN_DIR%
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
##cnf
|
||||
APP_OPS="-Xms256m -Xmx512m"
|
||||
APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
##run
|
||||
cur=$(dirname $(readlink -f "$0")) && cd $cur/..
|
||||
|
||||
APP_CP=$(echo lib/*.jar |tr ' ' ':')
|
||||
exec java -Dfile.encoding=UTF-8 ${APP_OPS} -server -cp "runtime:${APP_CP}" ${APP_MAIN}
|
||||
|
|
@ -129,7 +129,7 @@
|
|||
</snapshots>
|
||||
<id>central</id>
|
||||
<name>bintray</name>
|
||||
<url>http://jcenter.bintray.com</url>
|
||||
<url>https://jcenter.bintray.com</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
|
|
|
|||
77
pom.xml
77
pom.xml
|
|
@ -3,29 +3,34 @@
|
|||
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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<!--<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.2.4.RELEASE</version>
|
||||
<relativePath/> <!-- lookup parent from repository -->
|
||||
<relativePath/> <!– lookup parent from repository –>
|
||||
</parent>-->
|
||||
<parent>
|
||||
<groupId>com.demo1.pom</groupId>
|
||||
<artifactId>pom-rpc</artifactId>
|
||||
<version>1.1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>cn.iocoder.mall</groupId>
|
||||
<artifactId>onemall</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<modules>
|
||||
<module>common</module>
|
||||
<module>system</module>
|
||||
<module>product</module>
|
||||
<module>order</module>
|
||||
<module>user</module>
|
||||
<module>common</module>
|
||||
<module>system</module>
|
||||
<!-- <module>ops</module>-->
|
||||
<!-- <module>pay</module>-->
|
||||
<module>promotion</module>
|
||||
<!-- <module>search</module>-->
|
||||
<!-- <module>demo</module>-->
|
||||
<module>mall-dependencies</module>
|
||||
<module>mall-spring-boot-starter-cache</module>
|
||||
<!--<module>mall-spring-boot-starter-cache</module>-->
|
||||
</modules>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
|
|
@ -63,6 +68,25 @@
|
|||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>${springboot.version}</version>
|
||||
<!--<version>2.1.3.RELEASE</version>-->
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
<!--<dependency> err: no-profile
|
||||
<groupId>com.demo1.pom</groupId>
|
||||
<artifactId>pom-rpc</artifactId>
|
||||
<version>1.1.0-SNAPSHOT</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>-->
|
||||
|
||||
|
||||
|
||||
<!-- Spring 核心 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
|
@ -197,12 +221,12 @@
|
|||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<!--<distributionManagement>-->
|
||||
<!--<snapshotRepository>-->
|
||||
<!--<id>apache-snapshots</id>-->
|
||||
<!--<url>http://repository.apache.org/snapshots/</url>-->
|
||||
<!--</snapshotRepository>-->
|
||||
<!--</distributionManagement>-->
|
||||
<!--<distributionManagement>
|
||||
<snapshotRepository>
|
||||
<id>apache-snapshots</id>
|
||||
<url>http://repository.apache.org/snapshots/</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>-->
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
|
|
@ -231,15 +255,42 @@
|
|||
</plugin>
|
||||
|
||||
<!-- 打包 -->
|
||||
<plugin>
|
||||
<!--<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<fork>true</fork>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugin>-->
|
||||
|
||||
<plugin><artifactId>maven-resources-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-source-plugin</artifactId></plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
|
||||
<repositories>
|
||||
<!--<repository>
|
||||
<id>aliyun</id>
|
||||
<url>maven.aliyun.com/nexus/content/groups/public</url>
|
||||
</repository>-->
|
||||
<repository>
|
||||
<id>nexus-devcn</id>
|
||||
<url>http://nexus.ali.devcn.fun:81/nexus/content/groups/public</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>always</updatePolicy>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>aliyun</id>
|
||||
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<module>product-rest</module>
|
||||
<module>product-biz</module>
|
||||
<module>product-biz-api</module>
|
||||
<module>product-mq</module>
|
||||
<!--<module>product-mq</module>-->
|
||||
</modules>
|
||||
|
||||
<dependencyManagement>
|
||||
|
|
|
|||
|
|
@ -11,6 +11,12 @@
|
|||
|
||||
<artifactId>product-application</artifactId>
|
||||
|
||||
<properties>
|
||||
<build.skip.assembly>false</build.skip.assembly>
|
||||
<build.skip.install>true</build.skip.install>
|
||||
<build.skip.deploy>true</build.skip.deploy>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Mall 相关 -->
|
||||
<dependency>
|
||||
|
|
@ -26,4 +32,12 @@
|
|||
</dependencies>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,31 @@
|
|||
<assembly>
|
||||
<id>assembly</id>
|
||||
<formats>
|
||||
<format>dir</format>
|
||||
<format>tar.gz</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<!--bin-->
|
||||
<fileSet>
|
||||
<directory>src/main/assembly/scripts</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<fileMode>0755</fileMode>
|
||||
</fileSet>
|
||||
<!--res-->
|
||||
<fileSet>
|
||||
<directory>src/main/resources</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet>
|
||||
<!--webapp-->
|
||||
<!-- <fileSet>
|
||||
<directory>src/main/webapp</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet> -->
|
||||
<!--lib-->
|
||||
<fileSet>
|
||||
<directory>${project.build.directory}/lib</directory>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
@echo off & setlocal enabledelayedexpansion
|
||||
set BIN_DIR=%~dp0
|
||||
|
||||
::cnf
|
||||
set APP_OPS=""
|
||||
set APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
::run
|
||||
cd %BIN_DIR%\..
|
||||
set APP_CP=""
|
||||
for %%f in (lib\*.jar) do set APP_CP=!APP_CP!;%%f
|
||||
::echo libs: %APP_CP%
|
||||
|
||||
::java %APP_OPS% -cp "conf:%APP_CP%" %APP_MAIN%
|
||||
java -Dfile.encoding=UTF-8 -Xms256m -Xmx512m -cp ".\runtime;%APP_CP%" %APP_MAIN%
|
||||
cd %BIN_DIR%
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
##cnf
|
||||
APP_OPS="-Xms256m -Xmx512m"
|
||||
APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
##run
|
||||
cur=$(dirname $(readlink -f "$0")) && cd $cur/..
|
||||
|
||||
APP_CP=$(echo lib/*.jar |tr ' ' ':')
|
||||
exec java -Dfile.encoding=UTF-8 ${APP_OPS} -server -cp "runtime:${APP_CP}" ${APP_MAIN}
|
||||
|
|
@ -11,6 +11,12 @@
|
|||
|
||||
<artifactId>promotion-application</artifactId>
|
||||
|
||||
<properties>
|
||||
<build.skip.assembly>false</build.skip.assembly>
|
||||
<build.skip.install>true</build.skip.install>
|
||||
<build.skip.deploy>true</build.skip.deploy>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>cn.iocoder.mall</groupId>
|
||||
|
|
@ -23,4 +29,14 @@
|
|||
<version>1.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,31 @@
|
|||
<assembly>
|
||||
<id>assembly</id>
|
||||
<formats>
|
||||
<format>dir</format>
|
||||
<format>tar.gz</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<!--bin-->
|
||||
<fileSet>
|
||||
<directory>src/main/assembly/scripts</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<fileMode>0755</fileMode>
|
||||
</fileSet>
|
||||
<!--res-->
|
||||
<fileSet>
|
||||
<directory>src/main/resources</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet>
|
||||
<!--webapp-->
|
||||
<!-- <fileSet>
|
||||
<directory>src/main/webapp</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet> -->
|
||||
<!--lib-->
|
||||
<fileSet>
|
||||
<directory>${project.build.directory}/lib</directory>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
@echo off & setlocal enabledelayedexpansion
|
||||
set BIN_DIR=%~dp0
|
||||
|
||||
::cnf
|
||||
set APP_OPS=""
|
||||
set APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
::run
|
||||
cd %BIN_DIR%\..
|
||||
set APP_CP=""
|
||||
for %%f in (lib\*.jar) do set APP_CP=!APP_CP!;%%f
|
||||
::echo libs: %APP_CP%
|
||||
|
||||
::java %APP_OPS% -cp "conf:%APP_CP%" %APP_MAIN%
|
||||
java -Dfile.encoding=UTF-8 -Xms256m -Xmx512m -cp ".\runtime;%APP_CP%" %APP_MAIN%
|
||||
cd %BIN_DIR%
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
##cnf
|
||||
APP_OPS="-Xms256m -Xmx512m"
|
||||
APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
##run
|
||||
cur=$(dirname $(readlink -f "$0")) && cd $cur/..
|
||||
|
||||
APP_CP=$(echo lib/*.jar |tr ' ' ':')
|
||||
exec java -Dfile.encoding=UTF-8 ${APP_OPS} -server -cp "runtime:${APP_CP}" ${APP_MAIN}
|
||||
|
|
@ -10,6 +10,11 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>search-application</artifactId>
|
||||
<properties>
|
||||
<build.skip.assembly>false</build.skip.assembly>
|
||||
<build.skip.install>true</build.skip.install>
|
||||
<build.skip.deploy>true</build.skip.deploy>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Mall 相关 -->
|
||||
|
|
@ -26,4 +31,12 @@
|
|||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,31 @@
|
|||
<assembly>
|
||||
<id>assembly</id>
|
||||
<formats>
|
||||
<format>dir</format>
|
||||
<format>tar.gz</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<!--bin-->
|
||||
<fileSet>
|
||||
<directory>src/main/assembly/scripts</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<fileMode>0755</fileMode>
|
||||
</fileSet>
|
||||
<!--res-->
|
||||
<fileSet>
|
||||
<directory>src/main/resources</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet>
|
||||
<!--webapp-->
|
||||
<!-- <fileSet>
|
||||
<directory>src/main/webapp</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet> -->
|
||||
<!--lib-->
|
||||
<fileSet>
|
||||
<directory>${project.build.directory}/lib</directory>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
@echo off & setlocal enabledelayedexpansion
|
||||
set BIN_DIR=%~dp0
|
||||
|
||||
::cnf
|
||||
set APP_OPS=""
|
||||
set APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
::run
|
||||
cd %BIN_DIR%\..
|
||||
set APP_CP=""
|
||||
for %%f in (lib\*.jar) do set APP_CP=!APP_CP!;%%f
|
||||
::echo libs: %APP_CP%
|
||||
|
||||
::java %APP_OPS% -cp "conf:%APP_CP%" %APP_MAIN%
|
||||
java -Dfile.encoding=UTF-8 -Xms256m -Xmx512m -cp ".\runtime;%APP_CP%" %APP_MAIN%
|
||||
cd %BIN_DIR%
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
##cnf
|
||||
APP_OPS="-Xms256m -Xmx512m"
|
||||
APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
##run
|
||||
cur=$(dirname $(readlink -f "$0")) && cd $cur/..
|
||||
|
||||
APP_CP=$(echo lib/*.jar |tr ' ' ':')
|
||||
exec java -Dfile.encoding=UTF-8 ${APP_OPS} -server -cp "runtime:${APP_CP}" ${APP_MAIN}
|
||||
|
|
@ -11,6 +11,12 @@
|
|||
|
||||
<artifactId>system-application</artifactId>
|
||||
|
||||
<properties>
|
||||
<build.skip.assembly>false</build.skip.assembly>
|
||||
<build.skip.install>true</build.skip.install>
|
||||
<build.skip.deploy>true</build.skip.deploy>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Mall 相关 -->
|
||||
<dependency>
|
||||
|
|
@ -26,4 +32,14 @@
|
|||
|
||||
</dependencies>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,31 @@
|
|||
<assembly>
|
||||
<id>assembly</id>
|
||||
<formats>
|
||||
<format>dir</format>
|
||||
<format>tar.gz</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<!--bin-->
|
||||
<fileSet>
|
||||
<directory>src/main/assembly/scripts</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<fileMode>0755</fileMode>
|
||||
</fileSet>
|
||||
<!--res-->
|
||||
<fileSet>
|
||||
<directory>src/main/resources</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet>
|
||||
<!--webapp-->
|
||||
<!-- <fileSet>
|
||||
<directory>src/main/webapp</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet> -->
|
||||
<!--lib-->
|
||||
<fileSet>
|
||||
<directory>${project.build.directory}/lib</directory>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
@echo off & setlocal enabledelayedexpansion
|
||||
set BIN_DIR=%~dp0
|
||||
|
||||
::cnf
|
||||
set APP_OPS=""
|
||||
set APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
::run
|
||||
cd %BIN_DIR%\..
|
||||
set APP_CP=""
|
||||
for %%f in (lib\*.jar) do set APP_CP=!APP_CP!;%%f
|
||||
::echo libs: %APP_CP%
|
||||
|
||||
::java %APP_OPS% -cp "conf:%APP_CP%" %APP_MAIN%
|
||||
java -Dfile.encoding=UTF-8 -Xms256m -Xmx512m -cp ".\runtime;%APP_CP%" %APP_MAIN%
|
||||
cd %BIN_DIR%
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
##cnf
|
||||
APP_OPS="-Xms256m -Xmx512m"
|
||||
APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
##run
|
||||
cur=$(dirname $(readlink -f "$0")) && cd $cur/..
|
||||
|
||||
APP_CP=$(echo lib/*.jar |tr ' ' ':')
|
||||
exec java -Dfile.encoding=UTF-8 ${APP_OPS} -server -cp "runtime:${APP_CP}" ${APP_MAIN}
|
||||
|
|
@ -11,6 +11,11 @@
|
|||
|
||||
<artifactId>user-application</artifactId>
|
||||
|
||||
<properties>
|
||||
<build.skip.assembly>false</build.skip.assembly>
|
||||
<build.skip.install>true</build.skip.install>
|
||||
<build.skip.deploy>true</build.skip.deploy>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Mall 相关 -->
|
||||
|
|
@ -27,4 +32,13 @@
|
|||
|
||||
</dependencies>
|
||||
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin><artifactId>maven-surefire-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-dependency-plugin</artifactId></plugin>
|
||||
<plugin><artifactId>maven-assembly-plugin</artifactId></plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,31 @@
|
|||
<assembly>
|
||||
<id>assembly</id>
|
||||
<formats>
|
||||
<format>dir</format>
|
||||
<format>tar.gz</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>false</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<!--bin-->
|
||||
<fileSet>
|
||||
<directory>src/main/assembly/scripts</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<fileMode>0755</fileMode>
|
||||
</fileSet>
|
||||
<!--res-->
|
||||
<fileSet>
|
||||
<directory>src/main/resources</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet>
|
||||
<!--webapp-->
|
||||
<!-- <fileSet>
|
||||
<directory>src/main/webapp</directory>
|
||||
<outputDirectory>runtime</outputDirectory>
|
||||
</fileSet> -->
|
||||
<!--lib-->
|
||||
<fileSet>
|
||||
<directory>${project.build.directory}/lib</directory>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
@echo off & setlocal enabledelayedexpansion
|
||||
set BIN_DIR=%~dp0
|
||||
|
||||
::cnf
|
||||
set APP_OPS=""
|
||||
set APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
::run
|
||||
cd %BIN_DIR%\..
|
||||
set APP_CP=""
|
||||
for %%f in (lib\*.jar) do set APP_CP=!APP_CP!;%%f
|
||||
::echo libs: %APP_CP%
|
||||
|
||||
::java %APP_OPS% -cp "conf:%APP_CP%" %APP_MAIN%
|
||||
java -Dfile.encoding=UTF-8 -Xms256m -Xmx512m -cp ".\runtime;%APP_CP%" %APP_MAIN%
|
||||
cd %BIN_DIR%
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
##cnf
|
||||
APP_OPS="-Xms256m -Xmx512m"
|
||||
APP_MAIN=com.dvp.ci.web.Main
|
||||
|
||||
##run
|
||||
cur=$(dirname $(readlink -f "$0")) && cd $cur/..
|
||||
|
||||
APP_CP=$(echo lib/*.jar |tr ' ' ':')
|
||||
exec java -Dfile.encoding=UTF-8 ${APP_OPS} -server -cp "runtime:${APP_CP}" ${APP_MAIN}
|
||||
Loading…
Reference in New Issue