Des*_*lop 8 java maven maven-archetype
我是Maven的新手,并尝试使用命令行创建Maven项目.当我从命令行运行mvn archetype:generate
完成所有进程后的第一件事是:
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains)
Run Code Online (Sandbox Code Playgroud)
我知道我们可以按Enter键跳过这些.但我真的想知道这些线是什么?我用谷歌搜索,但没有给出清晰简单的答案.我的问题是:
寻找清晰明快的答案或链接.
更新:这些是"选择数字......"之前出现的几行.
1380: remote -> tr.com.lucidcode:kite-archetype (A Maven Archetype that allows u
sers to create a Fresh Kite project)
1381: remote -> uk.ac.rdg.resc:edal-ncwms-based-webapp (-)
1382: remote -> uk.co.nemstix:basic-javaee7-archetype (A basic Java EE7 Maven ar
chetype)
1383: remote -> us.fatehi:schemacrawler-archetype-maven-project (-)
1384: remote -> us.fatehi:schemacrawler-archetype-plugin-command (-)
1385: remote -> us.fatehi:schemacrawler-archetype-plugin-dbconnector (-)
1386: remote -> us.fatehi:schemacrawler-archetype-plugin-lint (-)
**Choose a number or apply filter (format: [groupId:]artifactId, case sensitive co
ntains): 630:**
Choose org.apache.maven.archetypes:maven-archetype-quickstart version:
1: 1.0-alpha-1
2: 1.0-alpha-2
3: 1.0-alpha-3
4: 1.0-alpha-4
5: 1.0
6: 1.1
Choose a number: 6:
Run Code Online (Sandbox Code Playgroud)
命令mvn原型:生成:
从原型生成新项目,如果使用部分原型,则更新实际项目。如果项目完全生成,那么将在与其artifactId相对应的目录中生成项目。如果使用部分原型更新了项目,则将在当前目录中完成。
Maven中提供了超过1000种原型,只要您选择它们中的任何一个,它将为您生成并采样Maven项目,默认情况下,它将在pom.xml中包含依赖项。
630默认是默认的,它是:remote-> org.apache.maven.archetypes:maven-archetype-quickstart
归档时间: |
|
查看次数: |
12736 次 |
最近记录: |