Build error camunda platform

Team,

I am trying to build a “camunda-bpm-platform” project in my local but getting an error as shown below.

  1. clean install -Pdistro-tomcat -DskipTests

[ERROR] Failed to execute goal on project camunda-webapp-tomcat: Could not resolve dependencies for project org.camunda.bpm.webapp:camunda-webapp-tomcat:war:7.17.0-SNAPSHOT: Failed to collect dependencies at org.camunda.bpm.webapp:camunda-webapp:war:7.17.0-SNAPSHOT: Failed to read artifact descriptor for org.camunda.bpm.webapp:camunda-webapp:war:7.17.0-SNAPSHOT: Could not transfer artifact org.camunda.bpm.webapp:camunda-webapp:pom:7.17.0-SNAPSHOT from/to fix-maven-snapshots-issue-with-nexus (allow-parent-pom-resolving-when-snapshot): Cannot access allow-parent-pom-resolving-when-snapshot with type default using the available connector factories: BasicRepositoryConnectorFactory: Cannot access allow-parent-pom-resolving-when-snapshot using the registered transporter factories: WagonTransporterFactory: Unsupported transport protocol

  1. clean install -Pdistro-ce -DskipTests

[ERROR] Failed to execute goal on project camunda-bpm-spring-boot-starter-webapp-core: Could not resolve dependencies for project org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-webapp-core:jar:7.17.0-SNAPSHOT: Failed to collect dependencies at org.camunda.bpm.webapp:camunda-webapp:jar:classes:7.17.0-SNAPSHOT: Failed to read artifact descriptor for org.camunda.bpm.webapp:camunda-webapp:jar:classes:7.17.0-SNAPSHOT: Could not transfer artifact org.camunda.bpm.webapp:camunda-webapp:pom:7.17.0-SNAPSHOT from/to fix-maven-snapshots-issue-with-nexus (allow-parent-pom-resolving-when-snapshot): Cannot access allow-parent-pom-resolving-when-snapshot with type default using the available connector factories: BasicRepositoryConnectorFactory: Cannot access allow-parent-pom-resolving-when-snapshot using the registered transporter factories: WagonTransporterFactory: Unsupported transport protocol

  1. with default profile
    Failed to execute goal on project camunda-engine-rest: Could not resolve dependencies for project org.camunda.bpm:camunda-engine-rest:war:7.17.0-SNAPSHOT: Could not transfer artifact org.camunda.bpm:camunda-engine-rest-core:jar:tests:7.17.0-SNAPSHOT from/to fix-maven-snapshots-issue-with-nexus (allow-parent-pom-resolving-when-snapshot): Cannot access allow-parent-pom-resolving-when-snapshot with type default using the available connector factories: BasicRepositoryConnectorFactory, BasicRepositoryConnectorFactory → [Help 1]