ruoyi-vue的pom怎么相互依赖的
时间: 2024-05-11 19:20:28 浏览: 214
ruoyi-vue 是一个基于 Vue.js 的前端框架,它的 pom.xml 文件中定义了一些依赖项,这些依赖项之间有些是相互依赖的。下面是 ruoyi-vue 的 pom.xml 文件中的依赖项:
```xml
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.56</version>
</dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.2.12</version>
</dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>5.1.10</version>
</dependency>
<dependency>
<groupId>com.github.liaochong</groupId>
<artifactId>mybatis-pagehelper-spring-boot-starter</artifactId>
<version>1.2.5</version>
</dependency>
<dependency>
<groupId>com.github.liaochong</groupId>
<artifactId>mybatis-pagehelper</artifactId>
<version>5.1.11</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus</artifactId>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-spring-boot-starter</artifactId>
<version>1.5.3</version>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>1.5.3</version>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-web</artifactId>
<version>1.5.3</version>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-ehcache</artifactId>
<version>1.5.3</version>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-ehcache-web</artifactId>
<version>1.5.3</version>
</dependency>
<dependency>
<groupId>com.github.theborakompanioni</groupId>
<artifactId>vuejs-spring-boot-starter</artifactId>
<version>0.1.7</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>vue</artifactId>
<version>2.6.12</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>axios</artifactId>
<version>0.21.1</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>vue-router</artifactId>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>element-ui</artifactId>
<version>2.15.1</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>echarts</artifactId>
<version>5.1.2</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>js-cookie</artifactId>
<version>2.2.1</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>screenfull</artifactId>
<version>5.1.0</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>vue-quill-editor</artifactId>
<version>3.0.6</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>quill</artifactId>
<version>1.3.7</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>jspdf</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>jspdf-autotable</artifactId>
<version>3.5.16</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>file-saver</artifactId>
<version>2.0.5</version>
</dependency>
<!-- ruoyi common -->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-common</artifactId>
<version>${project.version}</version>
</dependency>
<!-- ruoyi generator -->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-generator</artifactId>
<version>${project.version}</version>
</dependency>
<!-- ruoyi system -->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-system</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
```
可以看到,ruoyi-vue 的 pom.xml 文件中包含了一些第三方依赖,如 fastjson、pagehelper、mybatis-plus 等,以及 ruoyi-common、ruoyi-generator、ruoyi-system 等 ruoyi 项目中的依赖。这些依赖之间可能存在相互依赖的关系。例如,ruoyi-vue 依赖了 ruoyi-common、ruoyi-generator、ruoyi-system,而这些项目中也可能存在相互依赖的情况。这些依赖关系在 Maven 构建时会自动解决,确保每个依赖项都能够正确地被加载和使用。
阅读全文