Skip to content

fastweb-archetype is a maven archetype for building a web project in a very fast and easy way.

Notifications You must be signed in to change notification settings

beiluve/fastweb-archetype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fastweb

fastweb-archetype是一个快速构建多模块SSM Web项目的maven脚手架。

项目结构

|-- pom.xml                    -- 父级POM
|-- docs                       -- 项目文档目录
|-- profiles                   -- 各环境配置文件
|-- server                     -- 本地服务容器配置文件目录
|-- sql                        -- sql脚本存储目录
|-- {artifactId}-common        -- 通用工具模块
|--|-- src/main/java
|--|-- src/main/resources
|--|-- src/test/java
|--|-- src/test/resources
|-- {artifactId}-service       -- 服务模块,持久层,依赖common模块
|--|-- src/main/java
|--|-- src/main/resources
|--|-- src/test/java
|--|-- src/test/resources
|-- {artifactId}-web           -- web模块,依赖service模块
|--|-- src/main/java
|--|-- src/main/resources
|--|-- src/main/webapp
|--|-- src/test/java
|--|-- src/test/resources

安装

fastweb-archetype安装到本地maven仓库:

mvn clean install

使用

使用mvn archetype:generate来创建maven web工程,其中:-DgrouopId-DartifactId-Dversion分别为新项目的maven坐标。

mvn archetype:generate -DgroupId=com.beiluve -DartifactId=demo -Dversion=0.0.1-SNAPSHOT -DarchetypeGroupId=com.beiluve -DarchetypeArtifactId=fastweb-archetype -DarchetypeVersion=0.0.1 -DarchetypeCatalog=local

About

fastweb-archetype is a maven archetype for building a web project in a very fast and easy way.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages