123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220 |
- <?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">
- <modelVersion>4.0.0</modelVersion> <parent>
- <groupId>com.hcloud.microserver</groupId>
- <artifactId>common-parent</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- </parent>
- <groupId>com.hywa</groupId>
- <artifactId>supply-chain-web</artifactId>
- <version>${supply.chain.web.version}</version>
- <name>supply-chain-web</name>
- <packaging>jar</packaging>
- <profiles>
- <profile>
- <id>dev</id>
- <!--默认激活当前配置-->
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <properties>
- <profiles.active>dev</profiles.active>
- <!-- Docker 配置 -->
- <docker.dockerHost>http://172.16.90.64:22375</docker.dockerHost>
- <docker.serviceId>DockerHub</docker.serviceId>
- <docker.image.version>1.0.0</docker.image.version>
- </properties>
- </profile>
- <profile>
- <id>pro</id>
- <properties>
- <profiles.active>pro</profiles.active>
- <!-- Docker 配置 -->
- <docker.dockerHost>http://172.17.14.184:22375</docker.dockerHost>
- <docker.serviceId>DockerHub</docker.serviceId>
- <docker.image.version>1.0.0</docker.image.version>
- </properties>
- </profile>
- </profiles>
- <properties>
- <imageName>web_image</imageName>
- <swagger.version>2.6.1</swagger.version>
- <swagger2markup.version>1.3.3</swagger2markup.version>
- <asciidoctor.input.directory>${project.basedir}/src/docs/asciidoc</asciidoctor.input.directory>
- <swagger.output.dir>${project.build.directory}/swagger</swagger.output.dir>
- <swagger.input>${swagger.output.dir}/swagger.json</swagger.input>
- <swagger.snippetOutput.dir>${project.build.directory}/asciidoc/snippets</swagger.snippetOutput.dir>
- <generated.asciidoc.directory>${project.build.directory}/asciidoc/generated</generated.asciidoc.directory>
- <asciidoctor.html.output.directory>${project.build.directory}/asciidoc/html</asciidoctor.html.output.directory>
- <asciidoctor.pdf.output.directory>${project.build.directory}/asciidoc/pdf</asciidoctor.pdf.output.directory>
- </properties>
- <dependencies>
- <dependency>
- <groupId>com.hcloud.microserver</groupId>
- <artifactId>common-core</artifactId>
- <version>${common.core.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>spring-jdbc</artifactId>
- <groupId>org.springframework</groupId>
- </exclusion>
- </exclusions>
- <!-- <exclusions>
- <exclusion>
- <artifactId>spring-boot-starter-jdbc</artifactId>
- <groupId>org.springframework.boot</groupId>
- </exclusion>
- </exclusions>-->
- </dependency>
- <dependency>
- <groupId>com.hywa</groupId>
- <artifactId>supply-chain-base-client</artifactId>
- <version>${org.managerclient.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>spring-jdbc</artifactId>
- <groupId>org.springframework</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <!--订单服务-->
- <dependency>
- <groupId>com.hywa</groupId>
- <artifactId>supply-chain-order-client</artifactId>
- <version>${org.managerclient.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>spring-jdbc</artifactId>
- <groupId>org.springframework</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <!--权限-->
- <dependency>
- <groupId>com.hywa</groupId>
- <artifactId>supply-chain-sys-client</artifactId>
- <version>${supply-chain-sys-client.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>spring-jdbc</artifactId>
- <groupId>org.springframework</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- <!--<scope>provided</scope>-->
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-eureka</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-thymeleaf</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-spring</artifactId>
- <version>${shiro.version}</version>
- </dependency>
- <dependency>
- <groupId>org.crazycake</groupId>
- <artifactId>shiro-redis</artifactId>
- <version>2.4.2.1-RELEASE</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.restdocs</groupId>
- <artifactId>spring-restdocs-mockmvc</artifactId>
- </dependency>
- <dependency>
- <groupId>io.springfox</groupId>
- <artifactId>springfox-staticdocs</artifactId>
- <version>${swagger.version}</version>
- </dependency>
- <dependency>
- <groupId>io.github.robwin</groupId>
- <artifactId>assertj-swagger</artifactId>
- <version>0.2.0</version>
- <scope>test</scope>
- </dependency>
- <!--微信授权登录-->
- <dependency>
- <groupId>com.github.binarywang</groupId>
- <artifactId>weixin-java-mp</artifactId>
- <version>3.1.0</version>
- </dependency>
- <!--微信支付-->
- <dependency>
- <groupId>com.github.binarywang</groupId>
- <artifactId>weixin-java-pay</artifactId>
- <version>3.1.0</version>
- </dependency>
- <!--极光推送jar -->
- <dependency>
- <groupId>cn.jpush.api</groupId>
- <artifactId>jpush-client</artifactId>
- <version>3.3.8</version>
- </dependency>
- <dependency>
- <groupId>net.sf.json-lib</groupId>
- <artifactId>json-lib</artifactId>
- <version>2.4</version>
- <classifier>jdk15</classifier>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.18.1</version>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.spotify</groupId>
- <artifactId>docker-maven-plugin</artifactId>
- <version>1.2.2</version>
- <configuration>
- <serverId>${docker.serviceId}</serverId>
- <dockerHost>${docker.dockerHost}</dockerHost>
- <imageName>docker.io/${project.artifactId}:${docker.image.version}</imageName>
- <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
- <resources>
- <resource>
- <targetPath>/</targetPath>
- <directory>${project.build.directory}</directory>
- <include>${project.build.finalName}.jar</include>
- </resource>
- </resources>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|