1 Star 0 Fork 85

赵先生/暹罗点餐-java多门店点餐系统-连锁门店如蜜雪冰城瑞幸咖啡

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 4.47 KB
一键复制 编辑 原始数据 按行查看 历史
暹罗 提交于 2024-02-27 20:00 . 更新注释
<?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>
<groupId>com.siam</groupId>
<artifactId>siam-server</artifactId>
<packaging>pom</packaging>
<version>1.0</version>
<modules>
<module>./siam-common</module>
<module>./siam-weixin</module>
<module>./siam-system</module>
<module>./siam-monitor</module>
</modules>
<name>siam-server</name>
<!-- 将其更改为项目的网站 -->
<url>https://www.siamit.cn</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
<dependencyManagement>
<dependencies>
<!-- 控制Springboot的版本在2.1.4 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.3.3.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<!-- springboot打包插件 exec这种形式打出的两个jar包,带exec名称的
是具有BOOT-INFO目录的可执行jar,另一个为普通jar,是用来被别人调用的-->
<!--<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<classifier>exec</classifier>
</configuration>
</plugin>-->
<!-- maven打包时忽略junit测试类(如果不忽略,打包时就会把所有@Test方法执行一遍) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<!-- 设置jdk的编译版本为jdk1.8,可以使用Lambda表达式 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
</plugins>
<resources>
<!-- 这个配置必须得加上,否则resources文件夹下的内容就不会被编译进来 -->
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
<!-- 扫描java包下面的xml文件(如mapper.xml文件)作为资源文件进行加载 -->
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</build>
<profiles>
<profile>
<id>local</id>
<properties>
<spring.active>local</spring.active>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>dev</id>
<properties>
<spring.active>dev</spring.active>
</properties>
</profile>
<profile>
<id>test</id>
<properties>
<spring.active>test</spring.active>
</properties>
</profile>
<profile>
<id>show</id>
<properties>
<spring.active>show</spring.active>
</properties>
</profile>
<profile>
<id>release</id>
<properties>
<spring.active>release</spring.active>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<spring.active>prod</spring.active>
</properties>
</profile>
</profiles>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/zhaofamily/siam-server.git
git@gitee.com:zhaofamily/siam-server.git
zhaofamily
siam-server
暹罗点餐-java多门店点餐系统-连锁门店如蜜雪冰城瑞幸咖啡
master

搜索帮助