MVN

com.liferay.maven.archetypes : liferay-portlet-spring-mvc-archetype

Maven & Gradle

Apr 25, 2017
52 stars

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

mvn archetype:generate -DarchetypeGroupId=com.liferay.maven.archetypes -DarchetypeArtifactId=liferay-portlet-spring-mvc-archetype -DarchetypeVersion=6.2.10.16
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.liferay.maven.archetypes : liferay-portlet-spring-mvc-archetype to generate a Maven project - Latest Versions:

  • Latest Stable: 6.2.10.16

All Versions

Choose a version of com.liferay.maven.archetypes : liferay-portlet-spring-mvc-archetype to generate a Maven project - All Versions:

Version Vulnerabilities Updated
6.2.x
liferay-portlet-spring-mvc-archetype-6.2.10.16
liferay-portlet-spring-mvc-archetype-6.2.10.15
liferay-portlet-spring-mvc-archetype-6.2.10.14
liferay-portlet-spring-mvc-archetype-6.2.10.13
liferay-portlet-spring-mvc-archetype-6.2.10.12
liferay-portlet-spring-mvc-archetype-6.2.5
liferay-portlet-spring-mvc-archetype-6.2.4

How to generate a maven project from archetype

Instead of manually creating the directory structure needed for an archetype, simply use:

mvn archetype:generate -DarchetypeGroupId=com.liferay.maven.archetypes -DarchetypeArtifactId=liferay-portlet-spring-mvc-archetype -DarchetypeVersion=6.2.10.16

Advertisement