1 Star 0 Fork 56

hpz/ivy

forked from ming/ivy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 5.18 KB
一键复制 编辑 原始数据 按行查看 历史
ming 提交于 2024-07-30 16:59 . commit switch编排解析
<?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.ming</groupId>
<artifactId>ivy</artifactId>
<version>1.0-SNAPSHOT</version>
<!--父模块打包类型必须为 pom-->
<packaging>pom</packaging>
<name>parent</name>
<description>parent project for Maven</description>
<!--在 parent 指明继承关系,给出被继承的父项目的具体信息-->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.14</version>
<relativePath/>
</parent>
<!--在 properties 中统一管理项目依赖包的版本,更清晰-->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<springboot.version>2.7.14</springboot.version>
<ivy.version>1.0-SNAPSHOT</ivy.version>
</properties>
<!--注册子项目 后面创建二级子项目后,需在父项目中注册-->
<modules>
<module>ivy-el-parser</module>
<module>ivy-core</module>
<module>ivy-web</module>
<module>ivy-el-parser-vueflow</module>
<!-- <module>ivy-samples</module>-->
<!-- <module>ivy-spi</module>-->
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.8.0</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
<!--SpringBoot的 web 依赖配置-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${springboot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${springboot.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--WEB模块-->
<dependency>
<groupId>com.ming</groupId>
<artifactId>ivy-web</artifactId>
<version>${ivy.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
</plugins>
</build>
<!--配置 Maven 项目的依赖远程仓库-->
<repositories>
<repository>
<!--远程仓库唯一标识符-->
<id>public</id>
<!--描述-->
<name>aliyun nexus</name>
<!--远程仓库 url-->
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<!--用于定位和排序构件的仓库布局类型-可以是 default(默认)或者 legacy(遗留)-->
<layout>default</layout>
<!--Maven 要不要从这个仓库下载 release 版本的构件-->
<releases>
<enabled>true</enabled>
</releases>
<!--Maven 要不要从这个仓库下载 snapshot 版本的构件
禁止从公共仓库下载 snapshot 构件是推荐的做法,因为这些构件不稳定,且不受你控制,你应该避免使用。
当然,如果你想使用局域网内组织内部的仓库,你可以激活 snapshot 的支持。
-->
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<!--配置 Maven 项目的插件构件远程仓库,maven 命令需要的插件(比如clean、install 都是 maven 的插件)-->
<pluginRepositories>
<pluginRepository>
<id>public</id>
<name>aliyun nexus</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/hpz120/ivy.git
git@gitee.com:hpz120/ivy.git
hpz120
ivy
ivy
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385