SlideShare une entreprise Scribd logo
1  sur  5
HowTo: Using Liferay Maven Plugin module with
Liferay Portal 6.2 GA2 -v6.2.1
Liferay Portal plugins can be created, built and packaged for Liferay Portal 6.2 GA2 using the Liferay Maven Plugin module and the Liferay Maven
SDK.
The Liferay Maven Plugin module contains the Maven archetypes for Liferay Portal plugins and the Liferay Portal theme builder.
The Liferay Maven SDK contains the Liferay Portal artefacts (i.e. libraries).
To use the latest Liferay Maven Plugin module, consider one of these approaches:
1. Use Maven Central Repository
Update Maven project definition (POM)
Update Maven settings file with Liferay version and Maven plugin module properties.
If you wish to use <liferay.version>6.2.1</liferay-version> or <liferay-version>6.2.1</liferay-version> you must already have a repository available
and referenced containing these artefacts with the version number as 6.2.1 in your build.username.properties file.
2. Build From Source & Install in Local Repository
Download Liferay Maven packages:
liferay-portal-maven-6.2-ce-ga2-20140326112342532.zip from http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.2.1
%20GA2/
liferay-maven-support-6.2.1.zip from https://github.com/liferay/liferay-maven-support/archive/6.2.1.zip
Extract downloaded zip files
Install liferay portal artifacts to your local ~/.m2 directory
Install liferay-maven-support artifacts to your local ~/.m2 directory
Verify liferay maven artifacts installation in your .m2 directory:
The and folder should be in ~/.m2/repository/com/liferay directory.maven portal
The archetype-catalog.xml should be in ~/.m2 directory.
3. Create Liferay Plugin by Using Maven
Creating liferay plugin (e.g. portlet, theme, layout, hook, web, ext plugins) using liferay-maven-sdk is intended to be as simple as using Liferay
SDK but in addition it does not limits to a specific folder. You can use maven command line or Liferay IDE
3.1 Using Maven Command Line
NOTE: These property names are based on the Liferay Portal plugin project definition (POM) generated using the Liferay Portal plugin
archetypes.
<?xml version="1.0"?>
<project . . . >
<-- other elements removed for clarity -->
<properties>
<-- other properties removed for clarity -->
<liferay-maven-plugin.version>6.2.1</liferay-maven-plugin.version>
<liferay.version>6.2.1</liferay.version>
</properties>
</project>
$>cd /{your_extracted_directory}/liferay-portal-maven-6.2-ce-ga2
$>ant install
$>cd /{your_extracted_directory}/liferay-maven-support-6.2.1
$>mvn clean install
1.
2.
3.
4.
5.
1.
2.
1.
2.
1.
2.
3.
4.
1.
2.
3.
1.
2.
The maven command line below is used to create a liferay plugin:
<liferay-plugin-archetype>: It can be:
liferay-portlet-archetype (Liferay portlet archetype)
liferay-theme-archetype (Liferay theme archetype)
liferay-layouttpl-archetype (Liferay layout archetype)
liferay-hook-archetype (Liferay hook archetype)
liferay-web-archetype (Liferay web archetype)
liferay-ext-archetype (Liferay extension archetype)
liferay-servicebuilder-archetype (Liferay Service Builder archetype)
<your-liferay-plugin-name>: You have to follow the plugin name rules below
Liferay Portlet: The portlet is standard web application with these rules:
It contains liferay-plugin-package.properties
It contains liferay-portlet.xml
It contains liferay-display.xml
It contains portlet.xml
The war file name contains “ ” string-portlet
Liferay Theme: The theme is standard web application with these rules:
It contains liferay-plugin-package.properties
The war file name contains “ ” string-theme
Liferay Layout: The layout is standard web application with these rules:
It contains liferay-plugin-package.properties
The war file name contains “ ” string-layouttpl
Liferay Hook: The hook is standard web application with these rules:
It contains liferay-plugin-package.properties
It contains liferay-hook.xml
The war file name contains “ ” string-hook
The war file name doesn’t contain “-portlet” string
Liferay Web: The web plugin is standard web application with these rules:
It requires web.xml and liferay-plugin-package.properties files.
It contains liferay-plugin-package.properties
The war file name contains “ ” string-web
Liferay Service Builder: The service builder is generated with rules:
Create a project.{domain}-portlet-service
Create a project. This project have dependency with {domain-portlet-service} project.{domain}-portlet
Compile & Deploy Liferay Maven Plugin
Go to sample-portlet directory and run
This will compile any classes and packages the portlet war file in target directory.
To deploy the portlet into your Liferay bundle you can run
3.2 Using Liferay IDE (Eclipse Based)
Note: make sure that you already install Liferay maven local repository.
Step 1: Create Maven Project by using: File -> New -> Maven Project
$> mvn archetype:generate -DarchetypeArtifactId= -DarchetypeGroupId=com.liferay.maven.archetypes<liferay-plugin-archetype>
-DarchetypeVersion=6.2.1 -DartifactId= -DgroupId= -Dversion=1.0-SNAPSHOT<your-liferay-plugin-name> <your-package-name>
$> mvn clean package
$> mvn clean package liferay:deploy
Step 2: Use default value and click on "Next" button
Step 3: Select "Default Local" for Catalog, and select created archetype (e.g: liferay-portlet-archetype)
Step 4: input required information (e.g. group id, artifact id, version, and package,..)
Note: artifact id needs to follow liferay plugin name rules (e.g. the liferay portlet will contain "-portlet" string)
Related articles
HowTo: Using Liferay Maven Plugin module with Liferay Portal 6.2 GA2 -v6.2.1
HowTo: Fix Liferay XML Library Conflict on AMP - WebLogic Platform

Contenu connexe

En vedette

Portets to composite applications
Portets to composite applicationsPortets to composite applications
Portets to composite applicationsSerge Huber
 
Portlet Framework: the Liferay way
Portlet Framework: the Liferay wayPortlet Framework: the Liferay way
Portlet Framework: the Liferay wayriround
 
Alfresco P Tardif V1 0 Mars 2009
Alfresco   P Tardif V1 0   Mars 2009Alfresco   P Tardif V1 0   Mars 2009
Alfresco P Tardif V1 0 Mars 2009tardifpa
 
Web Apps for the Masses
Web Apps for the MassesWeb Apps for the Masses
Web Apps for the MassesDavid Tufts
 
WordCamp GR 2012 Web Apps for the Masses
WordCamp GR 2012 Web Apps for the MassesWordCamp GR 2012 Web Apps for the Masses
WordCamp GR 2012 Web Apps for the MassesDavid Tufts
 
Ahlan Ramadan presentation
Ahlan Ramadan presentationAhlan Ramadan presentation
Ahlan Ramadan presentationbintMahmood
 
Sms obaveštenja - prezentacija
Sms obaveštenja  - prezentacijaSms obaveštenja  - prezentacija
Sms obaveštenja - prezentacijanemanjakovacevic
 
Celebracion especial dd.hh y la paz.
Celebracion especial dd.hh y la paz.Celebracion especial dd.hh y la paz.
Celebracion especial dd.hh y la paz.zitamaria
 

En vedette (20)

Portets to composite applications
Portets to composite applicationsPortets to composite applications
Portets to composite applications
 
Liferay maven sdk
Liferay maven sdkLiferay maven sdk
Liferay maven sdk
 
Portlet Framework: the Liferay way
Portlet Framework: the Liferay wayPortlet Framework: the Liferay way
Portlet Framework: the Liferay way
 
Alfresco P Tardif V1 0 Mars 2009
Alfresco   P Tardif V1 0   Mars 2009Alfresco   P Tardif V1 0   Mars 2009
Alfresco P Tardif V1 0 Mars 2009
 
Web Apps for the Masses
Web Apps for the MassesWeb Apps for the Masses
Web Apps for the Masses
 
สายตาสั้น
สายตาสั้นสายตาสั้น
สายตาสั้น
 
Esalter web-cirilica
Esalter web-cirilicaEsalter web-cirilica
Esalter web-cirilica
 
WordCamp GR 2012 Web Apps for the Masses
WordCamp GR 2012 Web Apps for the MassesWordCamp GR 2012 Web Apps for the Masses
WordCamp GR 2012 Web Apps for the Masses
 
EvalInvStrats_web
EvalInvStrats_webEvalInvStrats_web
EvalInvStrats_web
 
Ahlan Ramadan presentation
Ahlan Ramadan presentationAhlan Ramadan presentation
Ahlan Ramadan presentation
 
สตอก
สตอกสตอก
สตอก
 
สตอก
สตอกสตอก
สตอก
 
Esalter web-latinica
Esalter web-latinicaEsalter web-latinica
Esalter web-latinica
 
Sms obaveštenja - prezentacija
Sms obaveštenja  - prezentacijaSms obaveštenja  - prezentacija
Sms obaveštenja - prezentacija
 
Esalter latinica
Esalter latinicaEsalter latinica
Esalter latinica
 
My presentation
My presentationMy presentation
My presentation
 
Esalter cirilica
Esalter cirilicaEsalter cirilica
Esalter cirilica
 
Celebracion especial dd.hh y la paz.
Celebracion especial dd.hh y la paz.Celebracion especial dd.hh y la paz.
Celebracion especial dd.hh y la paz.
 
Esalter web-madjarski
Esalter web-madjarskiEsalter web-madjarski
Esalter web-madjarski
 
Tec1
Tec1Tec1
Tec1
 

Dernier

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Dernier (20)

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

Using liferay maven plugin with liferay 6.2 ga2 v6.2.1

  • 1. HowTo: Using Liferay Maven Plugin module with Liferay Portal 6.2 GA2 -v6.2.1 Liferay Portal plugins can be created, built and packaged for Liferay Portal 6.2 GA2 using the Liferay Maven Plugin module and the Liferay Maven SDK. The Liferay Maven Plugin module contains the Maven archetypes for Liferay Portal plugins and the Liferay Portal theme builder. The Liferay Maven SDK contains the Liferay Portal artefacts (i.e. libraries). To use the latest Liferay Maven Plugin module, consider one of these approaches: 1. Use Maven Central Repository Update Maven project definition (POM) Update Maven settings file with Liferay version and Maven plugin module properties. If you wish to use <liferay.version>6.2.1</liferay-version> or <liferay-version>6.2.1</liferay-version> you must already have a repository available and referenced containing these artefacts with the version number as 6.2.1 in your build.username.properties file. 2. Build From Source & Install in Local Repository Download Liferay Maven packages: liferay-portal-maven-6.2-ce-ga2-20140326112342532.zip from http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.2.1 %20GA2/ liferay-maven-support-6.2.1.zip from https://github.com/liferay/liferay-maven-support/archive/6.2.1.zip Extract downloaded zip files Install liferay portal artifacts to your local ~/.m2 directory Install liferay-maven-support artifacts to your local ~/.m2 directory Verify liferay maven artifacts installation in your .m2 directory: The and folder should be in ~/.m2/repository/com/liferay directory.maven portal The archetype-catalog.xml should be in ~/.m2 directory. 3. Create Liferay Plugin by Using Maven Creating liferay plugin (e.g. portlet, theme, layout, hook, web, ext plugins) using liferay-maven-sdk is intended to be as simple as using Liferay SDK but in addition it does not limits to a specific folder. You can use maven command line or Liferay IDE 3.1 Using Maven Command Line NOTE: These property names are based on the Liferay Portal plugin project definition (POM) generated using the Liferay Portal plugin archetypes. <?xml version="1.0"?> <project . . . > <-- other elements removed for clarity --> <properties> <-- other properties removed for clarity --> <liferay-maven-plugin.version>6.2.1</liferay-maven-plugin.version> <liferay.version>6.2.1</liferay.version> </properties> </project> $>cd /{your_extracted_directory}/liferay-portal-maven-6.2-ce-ga2 $>ant install $>cd /{your_extracted_directory}/liferay-maven-support-6.2.1 $>mvn clean install
  • 2. 1. 2. 3. 4. 5. 1. 2. 1. 2. 1. 2. 3. 4. 1. 2. 3. 1. 2. The maven command line below is used to create a liferay plugin: <liferay-plugin-archetype>: It can be: liferay-portlet-archetype (Liferay portlet archetype) liferay-theme-archetype (Liferay theme archetype) liferay-layouttpl-archetype (Liferay layout archetype) liferay-hook-archetype (Liferay hook archetype) liferay-web-archetype (Liferay web archetype) liferay-ext-archetype (Liferay extension archetype) liferay-servicebuilder-archetype (Liferay Service Builder archetype) <your-liferay-plugin-name>: You have to follow the plugin name rules below Liferay Portlet: The portlet is standard web application with these rules: It contains liferay-plugin-package.properties It contains liferay-portlet.xml It contains liferay-display.xml It contains portlet.xml The war file name contains “ ” string-portlet Liferay Theme: The theme is standard web application with these rules: It contains liferay-plugin-package.properties The war file name contains “ ” string-theme Liferay Layout: The layout is standard web application with these rules: It contains liferay-plugin-package.properties The war file name contains “ ” string-layouttpl Liferay Hook: The hook is standard web application with these rules: It contains liferay-plugin-package.properties It contains liferay-hook.xml The war file name contains “ ” string-hook The war file name doesn’t contain “-portlet” string Liferay Web: The web plugin is standard web application with these rules: It requires web.xml and liferay-plugin-package.properties files. It contains liferay-plugin-package.properties The war file name contains “ ” string-web Liferay Service Builder: The service builder is generated with rules: Create a project.{domain}-portlet-service Create a project. This project have dependency with {domain-portlet-service} project.{domain}-portlet Compile & Deploy Liferay Maven Plugin Go to sample-portlet directory and run This will compile any classes and packages the portlet war file in target directory. To deploy the portlet into your Liferay bundle you can run 3.2 Using Liferay IDE (Eclipse Based) Note: make sure that you already install Liferay maven local repository. Step 1: Create Maven Project by using: File -> New -> Maven Project $> mvn archetype:generate -DarchetypeArtifactId= -DarchetypeGroupId=com.liferay.maven.archetypes<liferay-plugin-archetype> -DarchetypeVersion=6.2.1 -DartifactId= -DgroupId= -Dversion=1.0-SNAPSHOT<your-liferay-plugin-name> <your-package-name> $> mvn clean package $> mvn clean package liferay:deploy
  • 3. Step 2: Use default value and click on "Next" button Step 3: Select "Default Local" for Catalog, and select created archetype (e.g: liferay-portlet-archetype)
  • 4. Step 4: input required information (e.g. group id, artifact id, version, and package,..) Note: artifact id needs to follow liferay plugin name rules (e.g. the liferay portlet will contain "-portlet" string)
  • 5. Related articles HowTo: Using Liferay Maven Plugin module with Liferay Portal 6.2 GA2 -v6.2.1 HowTo: Fix Liferay XML Library Conflict on AMP - WebLogic Platform