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>

    其它模块的结构类似。

  • 相关阅读:
    记录一个异常
    ajax4
    ajax3
    ajax2
    ajax
    break与continue的区别
    Dom
    Dom元素的操作
    javascript (2)
    javascript
  • 原文地址:https://www.cnblogs.com/TheoryDance/p/7531035.html
Copyright © 2011-2022 走看看