1 Star 0 Fork 0

microbe/sunshine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 3.49 KB
一键复制 编辑 原始数据 按行查看 历史
caifenglin 提交于 2021-07-01 13:38 . 架构重组
<?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>cn.springbook</groupId>
<artifactId>sunshine</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version>
<modules>
<module>sunshine-common</module>
<module>sunshine-platform</module>
<module>sunshine-service</module>
<module>sunshine-solution</module>
</modules>
<!-- 统一管理版本 -->
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.compilerVersion>${java.version}</maven.compiler.compilerVersion>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
</properties>
<build>
<plugins>
<!-- 显式指定编译插件的版本和编译的JDK版本 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</build>
<profiles>
<!-- Local environment 本地环境,用于开发者调试使用 -->
<profile>
<id>local</id>
<properties>
<spring.active>local</spring.active>
</properties>
<activation>
<!-- 默认激活的profile为local -->
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<!-- Development environment 开发环境,用于开发者调试使用 -->
<profile>
<id>dev</id>
<properties>
<spring.active>dev</spring.active>
</properties>
</profile>
<!-- Production environment 生产环境 -->
<profile>
<id>prod</id>
<properties>
<spring.active>prod</spring.active>
</properties>
</profile>
</profiles>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/microbe/sunshine.git
git@gitee.com:microbe/sunshine.git
microbe
sunshine
sunshine
master

搜索帮助