zoukankan      html  css  js  c++  java
  • maven项目板块的pom.xml配置

    项目名为helloweb

    项目文件结构图1

    helloweb>pom.xml内容如下:

    <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.jikexueyuan</groupId>
      <artifactId>helloweb-parent</artifactId>
      <version>1.0-SNAPSHOT</version>
      <packaging>pom</packaging>
    
      <name>helloweb</name>
      
      <modules>
        <module>helloweb-entity</module>
        <module>helloweb-core</module>
        <module>helloweb-web</module>
        <module>helloweb-design</module>
      </modules>
    </project>

    其中helloweb-core中的目录为

    pom.xml内容

    <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>
    
      <parent>
          <groupId>com.jikexueyuan</groupId>
          <artifactId>helloweb-parent</artifactId>
          <version>1.0-SNAPSHOT</version>
      </parent>
    
      <artifactId>helloweb-core</artifactId>
      <version>${project.parent.version}</version>
      <packaging>jar</packaging>
      <name>${project.artifactId}</name>
      
    </project>

    其它模块的结构类似。

  • 相关阅读:
    HTTP协议基础
    MySQL必知必会总结(二)
    MySQL必知必会总结(一)
    微信小程序开发总结
    从零开始搭建物联网平台(8):邮箱通知服务
    使用CDN优化首页加载速度
    Django+Vue前后端分离项目的部署
    Docker命令
    Django中间件执行流程和CSRF验证
    golang 快速排序及二分查找
  • 原文地址:https://www.cnblogs.com/TheoryDance/p/7531035.html
Copyright © 2011-2022 走看看