国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發(fā)設(shè)計 > 正文

Maven with Multi-module

2019-11-14 21:43:17
字體:
供稿:網(wǎng)友
Maven with Multi-module

Well, A PRoject made of multi modules.

For example, the hongten-security project, the structure of the hongten-security project display as below(In eclipse tool):

and in the Windows 7 Operating system, the folder structure of the hongten-security project display as below,

then, you have TWO choices to run(or install) this project to you local liberary(repository).

The first one :

  Back to eclipse tool, select the "Package explorer" window, and select the "/hongten-sesurity/pom.xml" to run(or install) this project.

The second:

Back to Window 7 operating system, go to the directory "D:/Development/j2ee/workspace/hongten-sesurity", and open the command window to run(or install) this project.

I will display with the second method, and type the command "mvn install" in the command window.

WOW, there is an ERROR!!!!

The Maven can NOT find the parent.relativePath , it means that the "security-parent" model must install before you run(or install) the "hongten-security" project.

en, you should go to the derictory "D:/Development/j2ee/workspace/hongten-sesurity/security-parent" to install "security-parent" model.

After installing the "security-parent" model, rember to back to parent folder("D:/Development/j2ee/workspace/hongten-sesurity")

and type the command "mvn install"

============================================

Source Code

============================================

/hongten-sesurity/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.b510.hongten</groupId>  <artifactId>hongten-sesurity</artifactId>  <version>0.0.1</version>  <packaging>pom</packaging>  <name>hongten-sesurity</name>  <url>http://maven.apache.org</url>    <modules>      <module>security-parent</module>      <module>security-configuration</module>      <module>security-model</module>      <module>security-web</module>  </modules></project>

/security-configuration/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.b510.hongten</groupId>        <artifactId>security-parent</artifactId>        <version>0.0.1</version>    </parent>    <artifactId>security-configuration</artifactId>    <name>security-configuration</name>    <packaging>jar</packaging></project>

/security-model/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.b510.hongten</groupId>      <artifactId>security-parent</artifactId>      <version>0.0.1</version>  </parent>  <artifactId>security-model</artifactId>  <name>security-model</name>  <packaging>pom</packaging>  <modules>      <module>security-model-ai</module>      <module>security-model-xml</module>  </modules></project>

/security-model-ai/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.b510.hongten</groupId>        <artifactId>security-model</artifactId>        <version>0.0.1</version>    </parent>    <artifactId>security-model-ai</artifactId>    <name>security-model-ai</name>    <packaging>jar</packaging></project>

/security-model-xml/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.b510.hongten</groupId>        <artifactId>security-model</artifactId>        <version>0.0.1</version>    </parent>    <artifactId>security-model-xml</artifactId>    <name>security-model-xml</name>    <packaging>jar</packaging></project>

/security-parent/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>    <!-- security-parent -->    <groupId>com.b510.hongten</groupId>    <artifactId>security-parent</artifactId>    <version>0.0.1</version>    <packaging>pom</packaging>    <name>security-parent</name>    <url>http://maven.apache.org</url>    <!-- All properties declare here -->    <properties>        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>        <junit.version>4.10</junit.version>        <hibernate.core.version>3.6.10.Final</hibernate.core.version>        <javassist.version>3.18.1-GA</javassist.version>        <MySQL.connector.version>5.1.33</mysql.connector.version>        <log4j.version>1.2.17</log4j.version>    </properties>    <dependencies>        <dependency>            <groupId>junit</groupId>            <artifactId>junit</artifactId>            <version>${junit.version}</version>            <scope>test</scope>        </dependency>        <!-- Configuration for Hibernate -->        <dependency>            <groupId>org.hibernate</groupId>            <artifactId>hibernate-core</artifactId>            <version>${hibernate.core.version}</version>        </dependency>        <dependency>            <groupId>org.javassist</groupId>            <artifactId>javassist</artifactId>            <version>${javassist.version}</version>        </dependency>        <!-- Configuration for mysql -->        <dependency>            <groupId>mysql</groupId>            <artifactId>mysql-connector-java</artifactId>            <version>${mysql.connector.version}</version>        </dependency>        <!-- Configuration for log4j -->        <dependency>            <groupId>log4j</groupId>            <artifactId>log4j</artifactId>            <version>${log4j.version}</version>        </dependency>    </dependencies></project>

/security-web/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.b510.hongten</groupId>        <artifactId>security-parent</artifactId>        <version>0.0.1</version>    </parent>    <artifactId>security-web</artifactId>    <name>security-web</name>    <packaging>jar</packaging></project>

Source Code Download :http://files.VEVb.com/hongten/hongten-sesurity.rar

Source Code Download :http://files.VEVb.com/hongten/hongten-sesurity_with_dependencyManagement.rar

========================================================

More reading,and english is important.

I'm Hongten

hongten

E | hongtenzone@Foxmail.com B |http://m.survivalescaperooms.com/hongten

========================================================


上一篇:centos下安裝nginx

下一篇:接口

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 隆化县| 吴堡县| 稻城县| 辉南县| 嵩明县| 甘孜县| 长寿区| 卫辉市| 穆棱市| 扎赉特旗| 德格县| 黑水县| 平果县| 福州市| 沛县| 彰武县| 高密市| 兴文县| 万年县| 江安县| 延津县| 波密县| 丽水市| 淳安县| 都匀市| 伽师县| 肇东市| 兴安盟| 六安市| 江达县| 新晃| 巨野县| 思南县| 阳泉市| 原平市| 麟游县| 阿瓦提县| 县级市| 皮山县| 板桥市| 大洼县|