Create Java project with Maven archetype liferay-portlet-spring-mvc-archetype

Provides an archetype to create Liferay Spring MVC portlets.

Create a Java Project by archetype liferay-portlet-spring-mvc-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DcontrollerClassName="My-controllerClassName"   -DarchetypeGroupId="com.liferay.maven.archetypes"   -DarchetypeArtifactId="liferay-portlet-spring-mvc-archetype"   -DarchetypeVersion="6.2.10.16"   -DinteractiveMode=false 

Required parameters for generate java project:

controllerClassName
validationRegex: none

Details about maven archetype liferay-portlet-spring-mvc-archetype

License

License

GroupId

GroupId

com.liferay.maven.archetypes
ArtifactId

ArtifactId

liferay-portlet-spring-mvc-archetype
Version

Version

6.2.10.16
Type

Type

maven-archetype
Description

Description

Liferay Maven Portlet Spring MVC Archetype
Provides an archetype to create Liferay Spring MVC portlets.

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.liferay.maven.archetypes -DarchetypeArtifactId=liferay-portlet-spring-mvc-archetype -DarchetypeVersion=6.2.10.16 -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.