- <?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>com.51trust.ywx</groupId>
- <artifactId>ywx-customer-parent</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
- <artifactId>ywx-customer</artifactId>
- <version>0.0.1-SNAPSHOT</version>
-
- <properties>
- <maven.deploy.skip>true</maven.deploy.skip>
- <application.name>ywx-customer</application.name>
- </properties>
-
- <dependencies>
-
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter</artifactId>
- </dependency>
- <dependency>
- <groupId>com.51trust.ywx</groupId>
- <artifactId>ywx-customer-common</artifactId>
- </dependency>
-
-
- <dependency>
- <groupId>org.mybatis.spring.boot</groupId>
- <artifactId>mybatis-spring-boot-starter</artifactId>
- </dependency>
-
-
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.junit.vintage</groupId>
- <artifactId>junit-vintage-engine</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>com.51trust.rd</groupId>
- <artifactId>common-model</artifactId>
- </dependency>
- <dependency>
- <groupId>com.51trust.rd</groupId>
- <artifactId>common-util</artifactId>
- </dependency>
- <dependency>
- <groupId>com.51trust.rd</groupId>
- <artifactId>common-redis</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.hibernate.validator</groupId>
- <artifactId>hibernate-validator</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.github.pagehelper</groupId>
- <artifactId>pagehelper</artifactId>
- </dependency>
- <dependency>
- <groupId>com.dianping.cat</groupId>
- <artifactId>cat-client</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-dbcp</groupId>
- <artifactId>commons-dbcp</artifactId>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid-spring-boot-starter</artifactId>
- <version>1.1.17</version>
- </dependency>
- <!-- Dubbo -->
- <dependency>
- <groupId>org.apache.dubbo</groupId>
- <artifactId>dubbo</artifactId>
- </dependency>
-
- <!-- Dubbo Registry Nacos-->
- <dependency>
- <groupId>org.apache.dubbo</groupId>
- <artifactId>dubbo-registry-nacos</artifactId>
- <version>${dubbo.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>nacos-client</artifactId>
- <groupId>com.alibaba.nacos</groupId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.dubbo</groupId>
- <artifactId>dubbo-remoting</artifactId>
- </exclusion>
- <exclusion>
- <artifactId>dubbo-remoting-api</artifactId>
- <groupId>org.apache.dubbo</groupId>
- </exclusion>
- <exclusion>
- <artifactId>fastjson</artifactId>
- <groupId>com.alibaba</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.alibaba.nacos</groupId>
- <artifactId>nacos-client</artifactId>
- </dependency>
-
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <!-- <scope>runtime</scope>-->
- </dependency>
-
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.itfsw</groupId>
- <artifactId>mybatis-generator-plugin</artifactId>
- <version>1.3.8</version>
- </dependency>
- <dependency>
- <groupId>org.mybatis.generator</groupId>
- <artifactId>mybatis-generator-core</artifactId>
- <version>1.4.0</version>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <!-- logback 依赖 -->
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- </dependency>
-
- </dependencies>
-
-
- <build>
- <finalName>${application.name}</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>2.3.0.RELEASE</version>
- <configuration>
- <mainClass>com.trust.ywx.customer.Application</mainClass>
- <skip>false</skip>
- </configuration>
- <executions>
- <execution>
- <id>repackage</id>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.mybatis.generator</groupId>
- <artifactId>mybatis-generator-maven-plugin</artifactId>
- <version>1.3.5</version>
- <configuration>
- <verbose>true</verbose>
- <overwrite>true</overwrite>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.1.27</version>
- </dependency>
- <dependency>
- <groupId>com.chrm</groupId>
- <artifactId>mybatis-generator-lombok-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>com.itfsw</groupId>
- <artifactId>mybatis-generator-plugin</artifactId>
- <version>1.3.8</version>
- </dependency>
- </dependencies>
- </plugin>
- <!-- <plugin>-->
- <!-- <groupId>com.github.spotbugs</groupId>-->
- <!-- <artifactId>spotbugs-maven-plugin</artifactId>-->
- <!-- <version>4.6.0.2</version>-->
- <!-- <dependencies>-->
- <!-- <!– overwrite dependency on spotbugs if you want to specify the version of spotbugs –>-->
- <!-- <dependency>-->
- <!-- <groupId>com.github.spotbugs</groupId>-->
- <!-- <artifactId>spotbugs</artifactId>-->
- <!-- <version>4.7.0</version>-->
- <!-- </dependency>-->
- <!-- </dependencies>-->
- <!-- </plugin>-->
- </plugins>
- <resources>
- <resource>
- <directory>src/main/resources.${deploy.type}</directory>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <excludes>
- </excludes>
- <includes>
- <include>logback.xml</include>
- <include>application.properties</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>spring/**</include>
- <include>mybatis/**</include>
- <include>META-INF/**</include>
- </includes>
- <filtering>false</filtering>
- </resource>
-
- <resource>
- <directory>src/main/resources.${deploy.type}</directory>
- <excludes>
- </excludes>
- <includes>
- <include>logback.xml</include>
- <include>application.properties</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- <resource>
- <directory>src/main/resources.${deploy.type}</directory>
- <includes>
- <include>spring/**</include>
- <include>mybatis/**</include>
- <include>base.properties</include>
- <include>server.properties</include>
- <include>redis.properties</include>
- <include>jdbc.properties</include>
- </includes>
- <filtering>false</filtering>
- </resource>
-
- </resources>
-
- </build>
- <profiles>
- <profile>
- <id>local</id>
- <properties>
- <deploy.type>local</deploy.type>
- </properties>
- </profile>
- <profile>
- <id>dev</id>
- <properties>
- <deploy.type>dev</deploy.type>
- <activeByDefault>true</activeByDefault>
- </properties>
- </profile>
- <profile>
- <id>test</id>
- <properties>
- <deploy.type>test</deploy.type>
- </properties>
- </profile>
- <profile>
- <id>on</id>
- <properties>
- <deploy.type>on</deploy.type>
- </properties>
- </profile>
- </profiles>
-
- <!--发布-->
- <distributionManagement>
- <repository>
- <id>myNexus-releases</id>
- <name>private-nexus-library-releases</name>
- <url>http://nexus.51trust.com/repository/releases/</url>
- </repository>
-
- <snapshotRepository>
- <id>snapshots</id>
- <name>private-nexus-library-snapshots</name>
- <url>http://192.168.126.39:8081/repository/maven-snapshots/</url>
- </snapshotRepository>
- </distributionManagement>
-
- </project>
|