Create Java project with Maven archetype cn1lib-archetype

Codename One cn1lib Archetype

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dcn1Version="My-cn1Version"   -DkotlinVersion="My-kotlinVersion"   -DarchetypeGroupId="com.codenameone"   -DarchetypeArtifactId="cn1lib-archetype"   -DarchetypeVersion="7.0.77"   -DinteractiveMode=false 

Required parameters for generate java project:

cn1Version
validationRegex: none
kotlinVersion
validationRegex: none

Generated Project modules

  • ${rootArtifactId}-common
  • ${rootArtifactId}-javase
  • ${rootArtifactId}-javascript
  • ${rootArtifactId}-ios
  • ${rootArtifactId}-win
  • ${rootArtifactId}-android
  • ${rootArtifactId}-lib
  • ${rootArtifactId}-tests

Details about maven archetype cn1lib-archetype

License

License

GroupId

GroupId

com.codenameone
ArtifactId

ArtifactId

cn1lib-archetype
Version

Version

7.0.77
Type

Type

maven-archetype
Description

Description

cn1lib-archetype
Codename One cn1lib Archetype
Project URL

Project URL

https://github.com/shannah/cn1-maven-archetypes

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.codenameone -DarchetypeArtifactId=cn1lib-archetype -DarchetypeVersion=7.0.77 -DinteractiveMode=false

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.