Liferay 7.2 Ext Module customization issue

Ghulam Yaseen Shar, modified 5 Years ago. New Member Posts: 7 Join Date: 9/25/19 Recent Posts
Hi
I am using Liferay 7.2 and trying to customize existing login, I have created ext-module using blade without work-space following the documentation https://portal.liferay.dev/docs/7-2/customization/-/knowledge_base/c/developing-an-ext-module, while deployment error occurs any one can help project is also attached.


> Configure project :
Evaluating root project 'com.liferay.login.web.ext' using build file 'D:\Liferay-7\liferay-portal-7.2.x\tools\sdk\ext\com.liferay.login.web.ext\build.gradle'.
Resource missing. [HTTP GET: https://repository-cdn.liferay.com/nexus/content/groups/public/com/liferay/com.liferay.login.web/4.0.19/com.liferay.login.web-4.0.19.pom]
Resource missing. [HTTP HEAD: https://repository-cdn.liferay.com/nexus/content/groups/public/com/liferay/com.liferay.login.web/4.0.19/com.liferay.login.web-4.0.19.jar]FAILURE: Build failed with an exception.* What went wrong:
A problem occurred configuring root project 'com.liferay.login.web.ext'.
> Could not resolve all files for configuration ':originalModule'.
   > Could not find com.liferay:com.liferay.login.web:4.0.19.
     Searched in the following locations:
       - https://repository-cdn.liferay.com/nexus/content/groups/public/com/liferay/com.liferay.login.web/4.0.19/com.liferay.login.web-4.0.19.pom
       - https://repository-cdn.liferay.com/nexus/content/groups/public/com/liferay/com.liferay.login.web/4.0.19/com.liferay.login.web-4.0.19.jar
     Required by:
         project :
Thanks
thumbnail
David H Nebinger, modified 5 Years ago. Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts
Ghulam Yaseen Shar:

I have created ext-module


Fail.

You do not need to do an EXT module for whatever you are trying to change. Thinking that Ext is necessary is an automatic fail.
Olaf Kock, modified 5 Years ago. New Member Posts: 7 Join Date: 9/25/19 Recent Posts
Thanks David for your prompt response,  I have created EXT module successful using BLADE CLI command after that made the required changes to login.jsp and trying to deploy OSGI module using BLADE CLI command 'blade gw deploy' then deployment fails.

'You do not need to do an EXT module for whatever you are trying to change. Thinking that Ext is necessary is an automatic fail.'
My requirement to customize login portlet Without creating EXT module how can I customize the login portlet for example *.jsp and *.actions according to my needs.
thumbnail
David H Nebinger, modified 5 Years ago. Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts
A jsp fragment bundle can override the jsp. A bundle with an action component with a higher service ranking can override the original action component. No ext, no maintenance issues, no further upgrade issues, etc. 

a client should never, ever accept a solution from a consultant if it uses an EXT plugin. It demonstrates the consultant does not know enough about Liferay and is a sure sign their implementation has other problems.