maven Jahia 7.3 Jahia 8

Issue with the usage of Maven


First issue:

Access to the Studio is not enabled due to this error

maven is not correctly configured, the studio is disabled


Second issue:

After creating a module with the Jahia Studio, this one does not appear in the Studio, nor in the module management screen.


First issue:
The Apache Maven script is mvn.cmd and Digital Factory is looking for a maven script as: mvn.bat

Second issue:
This is due to this error in the built process:

[WARNING] Error reading archetype catalog
org.apache.maven.wagon.TransferFailedException: Connect to [] failed: Connection refused: connect


First issue:

Duplicate the mvn.cmd script in mvn.bat and ensure that the mvnPath property is set as below in the file:

mvnPath = mvn

Second issue:

Add the below property in the file to connect to our Maven repository in HTTP: