Legacy Knowledge Base
Published Jul. 2, 2025

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?

Environment

  • Liferay DXP 7.0+

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:

    1. blade create -t theme simpleTheme -v 7.2 -b maven
    2. compare pom.xml in simpleTheme/pom.xml to your own theme's pom.xml
    3. upgrade the versions of all relevant tools
    4. Run mvn verify to build the theme

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base