Create Java project with 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".

Create a Java Project by archetype main-archetype with Command Line:

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 

Required parameters for generate java project:

groupId
validationRegex: none
artifactId
validationRegex: none
version
validationRegex: none
company
validationRegex: none
companyUrl
validationRegex: none

Details about maven archetype main-archetype

License

License

GroupId

GroupId

net.sf.itcb.archetype
ArtifactId

ArtifactId

main-archetype
Version

Version

1.0.0
Type

Type

maven-archetype
Description

Description

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".
Project URL

Project URL

http://itcb.sourceforge.net
Project Organization

Project Organization

SourceForge ITCB

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
javax.xml.bind : jaxb-api jar 2.0
com.sun.xml.bind : jaxb-impl jar 2.0.3

provided (1)

Group / Artifact Type Version
javax.persistence : persistence-api jar 1.0

test (2)

Group / Artifact Type Version
junit : junit jar 4.7
org.springframework : spring-test jar 3.0.5.RELEASE

Project Modules

There are no modules declared in this project.