| | |
| | | |
| | | <properties> |
| | | <bladex.project.version>3.0.1.RELEASE</bladex.project.version> |
| | | |
| | | <java.version>1.8</java.version> |
| | | <maven.plugin.version>3.8.0</maven.plugin.version> |
| | | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| | |
| | | <module>ubcs-plugin-api</module> |
| | | <module>ubcs-service</module> |
| | | <module>ubcs-service-api</module> |
| | | <module>ubcs-codeApply</module> |
| | | <!-- <module>ubcs-codeApply</module>--> |
| | | </modules> |
| | | |
| | | <dependencyManagement> |
| | |
| | | </compilerArgs> |
| | | </configuration> |
| | | </plugin> |
| | | |
| | | <!-- 打包时剔除jar,放置在lib当中 --> |
| | | <!-- <plugin> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-maven-plugin</artifactId> |
| | | <version>${spring.boot.version}</version> <!– 如果 spring.boot.version 版本修改,则这里也要跟着修改 –> |
| | | <configuration> |
| | | <fork>true</fork> |
| | | <!–解决windows命令行窗口中文乱码–> |
| | | <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments> |
| | | <!– 拆开依赖–> |
| | | <mainClass>cn.iocoder.qingning.server.QingningServerApplication</mainClass> |
| | | <layout>ZIP</layout> |
| | | <includes> |
| | | <include> |
| | | <!– 排除所有Jar –> |
| | | <groupId>nothing</groupId> |
| | | <artifactId>nothing</artifactId> |
| | | </include> |
| | | </includes> |
| | | </configuration> |
| | | <executions> |
| | | <execution> |
| | | <goals> |
| | | <goal>repackage</goal> <!– 将引入的 jar 打入其中 –> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!–此插件用于将依赖包抽出–> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-dependency-plugin</artifactId> |
| | | <executions> |
| | | <execution> |
| | | <id>copy-dependencies</id> |
| | | <phase>package</phase> |
| | | <goals> |
| | | <goal>copy-dependencies</goal> |
| | | </goals> |
| | | <configuration> |
| | | <outputDirectory>../target/lib</outputDirectory> |
| | | <excludeTransitive>false</excludeTransitive> |
| | | <stripVersion>false</stripVersion> |
| | | <includeScope>runtime</includeScope> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <plugin> |
| | | <artifactId>maven-surefire-plugin</artifactId> |
| | | <configuration> |
| | | <skip>true</skip> |
| | | </configuration> |
| | | </plugin>--> |
| | | </plugins> |
| | | </build> |
| | | |