Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 6.2.0 CE M3
-
Fix Version/s: 6.2.0 CE M3
-
Component/s: Tools, Tools > Plugins SDK > Web
-
Labels:
-
Environment:liferay.com marketplace
-
Similar Issues:
Description
I would want to create an app in liferay.com marketplace with the appmanager.
My app is a single war and contains liferay-plugin-package.properties.
But when I upload the war file, it is not accepted and an error is displayed "Please define a compatible Liferay version in liferay-plugin-package.properties".
Whatever liferay versions I try in liferay-plugin-package.properties, it is always the same.
The war seems correct to me. I have attached it in the issue (liferay-javamelody.war).

I have found the cause.
The war file to upload should end with "-portlet" or "-web" or "-portlet" or others like that.
For example, it should be "liferay-javamelody-hook.war" and not "liferay-javamelody.war".
This requirement is perhaps obvious, but anyway this issue is now that the error message is incorrect in this case.
In fact, it should not be "Please define a compatible Liferay version in liferay-plugin-package.properties"
but the message should be that the file must be named for example "abc-portlet.war", "abc-web.war" or "abc-hook.war"