Build Source Code on Windows Error in mvn command
Confluence User - 19 Sep, 2018
Hi experts I am following the steps here for installation
Build Source Code on Windows
however I am in step 5 build a project when I am trying this commands in cmd
cd joget_src\jw-community\wflow-app\ mvn clean install
I am getting an error of
[INFO] Scanning for projects... Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2 @ [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2 @ [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2 @ [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2 @ [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2 @ [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2 @ @ [ERROR] The build could not read 6 projects -> [Help 1] [ERROR] [ERROR] The project org.joget:wflow-jdbc:5.0-SNAPSHOT (C:\Users\Caudne9598\joget_src\jw-community\wflow-jdbc\pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2: Could not transfer artifact org.apache.maven.wagon:wagon-webdav:pom:1.0-beta-2 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 2] [ERROR] [ERROR] The project org.joget:wflow-commons:5.0-SNAPSHOT (C:\Users\Caudne9598\joget_src\jw-community\wflow-commons\pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2: Could not transfer artifact org.apache.maven.wagon:wagon-webdav:pom:1.0-beta-2 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 2] [ERROR] [ERROR] The project org.joget:wflow-plugin-base:5.0-SNAPSHOT (C:\Users\Caudne9598\joget_src\jw-community\wflow-plugin-base\pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2: Could not transfer artifact org.apache.maven.wagon:wagon-webdav:pom:1.0-beta-2 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 2] [ERROR] [ERROR] The project org.joget:wflow-directory:5.0-SNAPSHOT (C:\Users\Caudne9598\joget_src\jw-community\wflow-directory\pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2: Could not transfer artifact org.apache.maven.wagon:wagon-webdav:pom:1.0-beta-2 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 2] [ERROR] [ERROR] The project org.joget:wflow-wfengine:5.0-SNAPSHOT (C:\Users\Caudne9598\joget_src\jw-community\wflow-wfengine\pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2: Could not transfer artifact org.apache.maven.wagon:wagon-webdav:pom:1.0-beta-2 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 2] [ERROR] [ERROR] The project org.joget:wflow-core:5.0-SNAPSHOT (C:\Users\Caudne9598\joget_src\jw-community\wflow-core\pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2: Could not transfer artifact org.apache.maven.wagon:wagon-webdav:pom:1.0-beta-2 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
Please help me. Thank you been spending lot of hours to solve this already
build;installation;installation_in_windows;plugins;maven