1 Star 0 Fork 30

zhili_huang/实训课程:spring容器上下文初始化与装配Bean

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 2.64 KB
一键复制 编辑 原始数据 按行查看 历史
Sai 提交于 2019-09-07 16:04 . little
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.edu.dgut.sai</groupId>
<artifactId>spring-demo</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>spring-demo</name>
<url>http://maven.apache.org</url>
<developers>
<developer>
<id>Sai</id>
<name>黎志雄</name>
<email>dgsai@vip.qq.com</email>
<organization>东莞理工学院</organization>
<organizationUrl>http://www.dgut.edu.cn</organizationUrl>
</developer>
</developers>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<dependencies>
<!-- aop aspect 相关jar包-->
<!-- https://mvnrepository.com/artifact/org.springframework/spring-aspects -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>5.1.9.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>5.1.9.RELEASE</version>
<scope>test</scope>
</dependency>
<!--
要使用spring框架,调用spring-context依赖即可。
spring-context依赖内含了spring-core、spring-beans、spring-expression、spring-aop这些核心依赖包,
这些内含的依赖包的scope都是compile,根据maven的依赖传递,都会包含进本项目。
-->
<!-- https://mvnrepository.com/artifact/org.springframework/spring-context -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.1.9.RELEASE</version>
</dependency>
<!-- Spring需要使用4.0版本以上 -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<archive>
<manifest>
<mainClass>cn.edu.dgut.sai.App</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/huang_zhili/spring-bean-demo.git
git@gitee.com:huang_zhili/spring-bean-demo.git
huang_zhili
spring-bean-demo
实训课程:spring容器上下文初始化与装配Bean
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385