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>

    其它模块的结构类似。

  • 相关阅读:
    php设计模式之观察者模式
    git tag 相关命令
    git 命令
    phpstudy 配置本地站点的ssl证书
    b
    __invoke,try{}catch(){},microtime(),is_callable()
    json_encode 中文不乱码
    php ::class
    yii 2 美化url
    JNIjw03
  • 原文地址:https://www.cnblogs.com/TheoryDance/p/7531035.html
Copyright © 2011-2022 走看看