cannot generate maven projectcannot generate maven projecthttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1204709952024-03-28T19:19:26Z2024-03-28T19:19:26ZRE: cannot generate maven projectAlexey Perekhodovhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1204738952020-11-30T17:58:06Z2020-11-26T16:45:09Z<p>
<span class="h5 text-default"></span>The thing was missing quotes:
-Dauthor="Joe Bloggs"</p>Alexey Perekhodov2020-11-26T16:45:09Zcannot generate maven projectAlexey Perekhodovhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1204709942020-11-26T16:08:05Z2020-11-26T00:47:33Z<p>I'm trying generate portlet project with maven according to 'MVC
Portlet Template' article. However, when I input the command from the article:</p>
<p>mvn archetype:generate -DarchetypeGroupId=com.liferay
-DarchetypeArtifactId=com.liferay.project.templates.mvc.portlet
-DgroupId=com.liferay -DartifactId=my-mvc-portlet-project
-Dpackage=com.liferay.docs.mvcportlet -Dversion=1.0
-DclassName=MyMvcPortlet -Dauthor=Joe Bloggs -DliferayVersion=7.2</p>
<p>I get the error:</p>
<p>The goal you specified requires a project to execute but there is no
POM in this directory</p>
<p>As far as I understand all data is s