|
|
@@ -6,6 +6,7 @@ |
|
|
|
<version>0.0.1-SNAPSHOT</version> |
|
|
|
</parent> |
|
|
|
<artifactId>user-service</artifactId> |
|
|
|
<packaging>jar</packaging> |
|
|
|
<dependencies> |
|
|
|
<!-- 内部依赖--> |
|
|
|
<dependency> |
|
|
@@ -17,12 +18,16 @@ |
|
|
|
<groupId>org.mybatis.spring.boot</groupId> |
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId> |
|
|
|
</exclusion> |
|
|
|
<exclusion> |
|
|
|
<groupId>org.springframework</groupId> |
|
|
|
<artifactId>spring-beans</artifactId> |
|
|
|
</exclusion> |
|
|
|
</exclusions> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>com.hp</groupId> |
|
|
|
<artifactId>user-client</artifactId> |
|
|
|
<version>0.0.1-SNAPSHOT</version> |
|
|
|
<version>0.0.2-SNAPSHOT</version> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>com.hp</groupId> |
|
|
@@ -47,6 +52,10 @@ |
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
<artifactId>spring-boot-starter</artifactId> |
|
|
|
</exclusion> |
|
|
|
<exclusion> |
|
|
|
<groupId>org.springframework</groupId> |
|
|
|
<artifactId>spring-beans</artifactId> |
|
|
|
</exclusion> |
|
|
|
|
|
|
|
</exclusions> |
|
|
|
</dependency> |
|
|
@@ -84,21 +93,39 @@ |
|
|
|
|
|
|
|
|
|
|
|
</dependencies> |
|
|
|
<!-- <build>--> |
|
|
|
<!-- <plugins>--> |
|
|
|
<!-- <plugin>--> |
|
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>--> |
|
|
|
<!-- <!– 注意打包成war 引入的是 maven-war-plugin,打包为jar则引入的是 maven-jar-plugin –>--> |
|
|
|
<!-- <artifactId>maven-war-plugin</artifactId>--> |
|
|
|
<!-- <version>3.2.3</version>--> |
|
|
|
<!-- <configuration>--> |
|
|
|
<!-- <packagingExcludes>--> |
|
|
|
<!-- <!–war排除conf文件中的properties文件–>--> |
|
|
|
<!-- WEB-INF/conf/*.properties--> |
|
|
|
<!-- <!–排除文件夹下所有的的文件 WEB-INF/classes/config/** –>--> |
|
|
|
<!-- </packagingExcludes>--> |
|
|
|
<!-- </configuration>--> |
|
|
|
<!-- </plugin>--> |
|
|
|
<!-- </plugins>--> |
|
|
|
<!-- </build>--> |
|
|
|
<!-- <properties> |
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml> |
|
|
|
</properties> --> |
|
|
|
<build> |
|
|
|
<plugins> |
|
|
|
|
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
<artifactId>maven-shade-plugin</artifactId> |
|
|
|
<version>2.4.1</version> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<phase>package</phase> |
|
|
|
<goals> |
|
|
|
<goal>shade</goal> |
|
|
|
</goals> |
|
|
|
<configuration> |
|
|
|
<transformers> |
|
|
|
<!-- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
|
|
|
<mainClass>com.xxg.Main</mainClass> |
|
|
|
</transformer> --> |
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
|
|
|
<resource>META-INF/spring.handlers</resource> |
|
|
|
</transformer> |
|
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
|
|
|
<resource>META-INF/spring.schemas</resource> |
|
|
|
</transformer> |
|
|
|
</transformers> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
|
|
|
|
</plugins> |
|
|
|
</build> |
|
|
|
</project> |