1. 原来打包结果:xxx.jar是repackage可执行包,而xxx.jar.original则是模块编译的包; 2. 现在打包结果:xxx.jar是模块编译的包,而xxx-exec.jar则是repackage可执行包; 3. 这里调整的原因是接下来的litemall-all模块会打包这三个模块的xxx.jar包,之前会打包不正确的可执行包,现在则可以工作正常。
75 lines
2.3 KiB
XML
75 lines
2.3 KiB
XML
<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>
|
|
<groupId>org.linlinjava</groupId>
|
|
<artifactId>litemall-admin-api</artifactId>
|
|
<version>0.1.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>1.5.10.RELEASE</version>
|
|
<relativePath/>
|
|
</parent>
|
|
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<java.version>1.8</java.version>
|
|
<maven.test.skip>true</maven.test.skip>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.linlinjava</groupId>
|
|
<artifactId>litemall-core</artifactId>
|
|
<version>0.1.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.linlinjava</groupId>
|
|
<artifactId>litemall-db</artifactId>
|
|
<version>0.1.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- 热部署模块 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<executable>true</executable>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
<configuration>
|
|
<classifier>exec</classifier>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
</project> |