How do I upgrade a 7.x Maven theme to be a Maven theme for a next 7.x version?
Written By
Alfonso Crisci
How To articles are not official guidelines or officially
supporteddocumentation. They are community-contributed content and may
not alwaysreflect the latest updates to Liferay DXP. We welcome your
feedback toimprove How to articles!
While we make every effort to ensure this Knowledge Base is accurate,
itmay not always reflect the most recent updates or official
guidelines.We appreciate your understanding and encourage you to reach
out with anyfeedback or concerns.
Legacy Article
You are viewing an article from our legacy
"FastTrack"publication program, made available for
informational purposes. Articlesin this program were published without a
requirement for independentediting or verification and are provided
"as is" withoutguarantee.
Before using any information from this article, independently verify
itssuitability for your situation and project.
NOTE: This article is an INTERNAL article and is not visible to customers, currently. Please only link this article in internal comments, but not public comments.
Issue
- How do I upgrade a 7.x Maven theme to be a Maven theme for any next 7.x version?
Resolution
- It should be possible to update the
pom.xml
to be compliant with the new version and then build the theme. For, example, if you wish to upgrade from 7.0/7.1 to 7.2:
blade create -t theme simpleTheme -v 7.2 -b maven
- compare
pom.xml
in simpleTheme/pom.xml to your own theme's pom.xml
- upgrade the versions of all relevant tools
- Run
mvn verify
to build the theme
Did this article resolve your issue ?