Создать Java проект на основе Maven архетипа main-archetype

Archetype that might be used by IT managers in order to create the base of custom IT. archetypeId, groupId, version, company and companyUrl have to be defined in archetype execution. By convention, we recommend to call this module main-"yourcompany".

Консольная команда для создания Java-проекта на основе архетипа main-archetype:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DgroupId="My-groupId"   -DartifactId="My-artifactId"   -Dversion="My-version"   -Dcompany="My-company"   -DcompanyUrl="My-companyUrl"   -DarchetypeGroupId="net.sf.itcb.archetype"   -DarchetypeArtifactId="main-archetype"   -DarchetypeVersion="1.0.0"   -DinteractiveMode=false 

Обязательные параметры для создания java проекта:

groupId
validationRegex: нет
artifactId
validationRegex: нет
version
validationRegex: нет
company
validationRegex: нет
companyUrl
validationRegex: нет

Подробная информация об архетипе main-archetype

Лицензия

Лицензия

Группа

Группа

net.sf.itcb.archetype
Идентификатор

Идентификатор

main-archetype
Версия

Версия

1.0.0
Тип

Тип

maven-archetype
Описание

Описание

main-archetype
Archetype that might be used by IT managers in order to create the base of custom IT. archetypeId, groupId, version, company and companyUrl have to be defined in archetype execution. By convention, we recommend to call this module main-"yourcompany".
Ссылка на сайт

Ссылка на сайт

http://itcb.sourceforge.net
Организация-разработчик

Организация-разработчик

SourceForge ITCB

Как подключить последнюю версию

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=net.sf.itcb.archetype -DarchetypeArtifactId=main-archetype -DarchetypeVersion=1.0.0 -DinteractiveMode=false

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
javax.xml.bind : jaxb-api jar 2.0
com.sun.xml.bind : jaxb-impl jar 2.0.3

provided (1)

Идентификатор библиотеки Тип Версия
javax.persistence : persistence-api jar 1.0

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.7
org.springframework : spring-test jar 3.0.5.RELEASE

Модули Проекта

Данный проект не имеет модулей.