archetype:generate
来源:互联网 发布:膜法传奇知乎 编辑:程序博客网 时间:2024/05/18 00:27
Full name:
org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
Description:
Generates a new project from an archetype, or updated the actual project if using a partial archetype. If the project is fully generated, it is generated in a directory corresponding to it sartifact Id. If the project is updated with a partial archetype, itis done in the current directory.
Attributes:
- Invokes the execution of the lifecycle phase generate-sources prior to executing itself.
Required Parameters
Default value is: ${settings.interactiveMode}.
Optional Parameters
- 'file://...' witharchetype-catalog.xml automatically appended whenpointing to a directory
- 'http://...' or 'https://...' witharchetype-catalog.xml always appended
- 'local' which is the shortcut for'file://~/.m2/archetype-catalog.xml'
- 'remote' which is the shortcut for Maven Centralrepository, ie 'http://repo1.maven.org/maven2'
- 'internal' which is an internal catalog
Default value is: remote,local.archetypeGroupIdString-The archetype's groupId.archetypeRepositoryString-The archetype's repository.archetypeVersionString-The archetype's version.basedirFile-(no description)filterString2.1Applying some filter on displayed archetypes list: format isartifactId orgroupId:artifactId.
- org.apache: -> displays all archetypes which contain org.apache in groupId
- :jee or jee -> displays allarchetypes which contain jee in artifactId
- org.apache:jee -> displays all archetypes which contain org.apache in groupId AND jee in artifactId
Parameter Details
archetypeArtifactId:
The archetype's artifactId.
- Type: java.lang.String
- Required: No
- Expression: ${archetypeArtifactId}
archetypeCatalog:
The archetype catalogs to use to build a list and let the userchoose from. It is a comma separated list of catalogs. Catalogs usefollowing schemes:
- 'file://...' witharchetype-catalog.xml automatically appended whenpointing to a directory
- 'http://...' or 'https://...' witharchetype-catalog.xml always appended
- 'local' which is the shortcut for'file://~/.m2/archetype-catalog.xml'
- 'remote' which is the shortcut for Maven Centralrepository, ie 'http://repo1.maven.org/maven2'
- 'internal' which is an internal catalog
- Type: java.lang.String
- Required: No
- Expression: ${archetypeCatalog}
- Default: remote,local
archetypeGroupId:
The archetype's groupId.
- Type: java.lang.String
- Required: No
- Expression: ${archetypeGroupId}
archetypeRepository:
The archetype's repository.
- Type: java.lang.String
- Required: No
- Expression: ${archetypeRepository}
archetypeVersion:
The archetype's version.
- Type: java.lang.String
- Required: No
- Expression: ${archetypeVersion}
basedir:
(no description)
- Type: java.io.File
- Required: No
- Expression: ${basedir}
filter:
Applying some filter on displayed archetypes list: format isartifactId orgroupId:artifactId.
- org.apache: -> displays all archetypes whichcontain org.apache in groupId
- :jee or jee -> displays allarchetypes which contain jee in artifactId
- org.apache:jee -> displays all archetypes whichcontain org.apache in groupId AND jee in artifactId
- Type: java.lang.String
- Since: 2.1
- Required: No
- Expression: ${filter}
goals:
Additional goals to immediately run on the project created from thearchetype.
- Type: java.lang.String
- Required: No
- Expression: ${goals}
interactiveMode:
User settings use to check the interactiveMode.
- Type: java.lang.Boolean
- Required: Yes
- Expression: ${interactiveMode}
- Default: ${settings.interactiveMode}
0 0
- archetype:generate
- mvn archetype:generate报错
- maven archetype:generate 的进一步理解
- 解决mvn archetype:generate 速度缓慢问题
- maven archetype:generate 的进一步理解
- idea maven mvn archetype:generate卡住问题
- maven自动创建项目:mvn archetype:generate
- idea maven mvn archetype:generate 速度缓慢问题
- Maven:解决mvn archetype:generate很慢的问题
- idea maven mvn archetype:generate 速度缓慢问题
- mvn archetype:generate 执行很慢的原因
- mvn学习日记(mvn clean install mvn archetype:generate)
- archetype
- 安装Maven,运行mvn archetype:generate后出现 ERROR: JAVA_HOME is set to an invalid directory.
- maven:使用mvn archetype:generate创建项目,停留在 "Generating project in Batch mode"
- Jenkin插件开发最新方式(mvn archetype:generate -Dfilter=io.jenkins.archetypes:plugin)
- generate
- DOS下使用maven的archetype:generate插件目标来创建maven项目的小结(maven3.0以后的版本)
- 第17周项目--胖子伤不起
- CentOS 7.0安装遨游浏览器
- application:didFinishLaunchingWithOptions
- BZOJ 2693 jzptab 莫比乌斯反演
- 关于struct调用sizeof的一个问题
- archetype:generate
- 2014年十大网络用语
- 【好程序员特训营】Java的Io操作
- hdu1248 寒冰王座 完全背包 简单
- 基于Innobackupex的全备恢复
- [LeetCode] Longest Palindromic Substring 使用2D-vector 和 2D-array的区别
- LeetCode--Implement strStr()
- OAF-Error001:Oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESS
- 推荐关于ElasticSearch的好文