Error Could not resolve dependencies for project

Hi

[INFO]
[INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ security-server —
[INFO] Surefire report directory: G:\workspace\bonita-console-5.3\security\security-server\target\surefire-reports


T E S T S

Running org.bonitasoft.console.security.server.accessor.TestPreferencesProperties
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.154 sec
Running org.bonitasoft.console.security.server.api.TestCredentialsEncryptionAPIImpl
S1vLdVPgXc9%2FyZSehaOp8A%3D%3D
5QYu8%2B%2F%2Bgn1CrbvTTk9OeA%3D%3D
mcoPgOO4jQbe6HXATBG8kA%3D%3D
admin:bpm
john:bpm
jack:bpm
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.375 sec

Results :

Tests run: 4, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] — maven-jar-plugin:2.4:jar (default-jar) @ security-server —
[INFO] Building jar: G:\workspace\bonita-console-5.3\security\security-server\target\MavenWeb.jar
[INFO]
[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) @ security-server >>>
[INFO]
[INFO] — maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions) @ security-server —
[INFO]
[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) @ security-server <<<
[INFO]
[INFO] — maven-source-plugin:2.1.2:jar (attach-sources) @ security-server —
[INFO] Building jar: G:\workspace\bonita-console-5.3\security\security-server\target\MavenWeb-sources.jar
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ security-server —
[INFO] Installing G:\workspace\bonita-console-5.3\security\security-server\target\MavenWeb.jar to C:\Users\india.m2\repository\org\bonitasoft\console\security-server\5.3\security-server-5.3.jar
[INFO] Installing G:\workspace\bonita-console-5.3\security\security-server\pom.xml to C:\Users\india.m2\repository\org\bonitasoft\console\security-server\5.3\security-server-5.3.pom
[INFO] Installing G:\workspace\bonita-console-5.3\security\security-server\target\MavenWeb-sources.jar to C:\Users\india.m2\repository\org\bonitasoft\console\security-server\5.3\security-server-5.3-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building console common 5.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions) @ console-common —
[INFO]
[INFO] — maven-resources-plugin:2.4.3:resources (default-resources) @ console-common —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] — maven-compiler-plugin:2.3.1:compile (default-compile) @ console-common —
[INFO] Compiling 4 source files to G:\workspace\bonita-console-5.3\common\target\classes
[INFO]
[INFO] — maven-resources-plugin:2.4.3:testResources (default-testResources) @ console-common —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] — maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ console-common —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ console-common —
[INFO]
[INFO] — maven-jar-plugin:2.4:jar (default-jar) @ console-common —
[INFO] Building jar: G:\workspace\bonita-console-5.3\common\target\MavenWeb.jar
[INFO]
[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) @ console-common >>>
[INFO]
[INFO] — maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions) @ console-common —
[INFO]
[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) @ console-common <<<
[INFO]
[INFO] — maven-source-plugin:2.1.2:jar (attach-sources) @ console-common —
[INFO] Building jar: G:\workspace\bonita-console-5.3\common\target\MavenWeb-sources.jar
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ console-common —
[INFO] Installing G:\workspace\bonita-console-5.3\common\target\MavenWeb.jar to C:\Users\india.m2\repository\org\bonitasoft\console\console-common\5.3\console-common-5.3.jar
[INFO] Installing G:\workspace\bonita-console-5.3\common\pom.xml to C:\Users\india.m2\repository\org\bonitasoft\console\console-common\5.3\console-common-5.3.pom
[INFO] Installing G:\workspace\bonita-console-5.3\common\target\MavenWeb-sources.jar to C:\Users\india.m2\repository\org\bonitasoft\console\console-common\5.3\console-common-5.3-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building security view 5.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions) @ security-view —
[INFO]
[INFO] — maven-resources-plugin:2.4.3:resources (default-resources) @ security-view —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 20 resources
[INFO]
[INFO] — maven-compiler-plugin:2.3.1:compile (default-compile) @ security-view —
[INFO] Compiling 1 source file to G:\workspace\bonita-console-5.3\security\security-view\target\classes
[INFO]
[INFO] — maven-resources-plugin:2.4.3:testResources (default-testResources) @ security-view —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory G:\workspace\bonita-console-5.3\security\security-view\src\test\resources
[INFO]
[INFO] — maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ security-view —
[INFO] No sources to compile
[INFO]
[INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ security-view —
[INFO] No tests to run.
[INFO]
[INFO] — maven-jar-plugin:2.4:jar (default-jar) @ security-view —
[INFO] Building jar: G:\workspace\bonita-console-5.3\security\security-view\target\MavenWeb.jar
[INFO]
[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) @ security-view >>>
[INFO]
[INFO] — maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions) @ security-view —
[INFO]
[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) @ security-view <<<
[INFO]
[INFO] — maven-source-plugin:2.1.2:jar (attach-sources) @ security-view —
[INFO] org already added, skipping
[INFO] org\bonitasoft already added, skipping
[INFO] org\bonitasoft\console already added, skipping
[INFO] org\bonitasoft\console\security already added, skipping
[INFO] Building jar: G:\workspace\bonita-console-5.3\security\security-view\target\MavenWeb-sources.jar
[INFO] org already added, skipping
[INFO] org\bonitasoft already added, skipping
[INFO] org\bonitasoft\console already added, skipping
[INFO] org\bonitasoft\console\security already added, skipping
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ security-view —
[INFO] Installing G:\workspace\bonita-console-5.3\security\security-view\target\MavenWeb.jar to C:\Users\india.m2\repository\org\bonitasoft\console\security-view\5.3\security-view-5.3.jar
[INFO] Installing G:\workspace\bonita-console-5.3\security\security-view\pom.xml to C:\Users\india.m2\repository\org\bonitasoft\console\security-view\5.3\security-view-5.3.pom
[INFO] Installing G:\workspace\bonita-console-5.3\security\security-view\target\MavenWeb-sources.jar to C:\Users\india.m2\repository\org\bonitasoft\console\security-view\5.3\security-view-5.3-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building forms parent 5.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions) @ forms-parent —
[INFO]
[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) @ forms-parent >>>
[INFO]
[INFO] — maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions) @ forms-parent —
[INFO]
[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) @ forms-parent <<<
[INFO]
[INFO] — maven-source-plugin:2.1.2:jar (attach-sources) @ forms-parent —
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ forms-parent —
[INFO] Installing G:\workspace\bonita-console-5.3\forms\pom.xml to C:\Users\india.m2\repository\org\bonitasoft\forms\forms-parent\5.3\forms-parent-5.3.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building forms model 5.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions) @ forms-model —
[INFO]
[INFO] — maven-resources-plugin:2.4.3:resources (default-resources) @ forms-model —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] — maven-compiler-plugin:2.3.1:compile (default-compile) @ forms-model —
[INFO] Compiling 20 source files to G:\workspace\bonita-console-5.3\forms\forms-model\target\classes
[INFO]
[INFO] — maven-resources-plugin:2.4.3:testResources (default-testResources) @ forms-model —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] — maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ forms-model —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ forms-model —
[INFO]
[INFO] — maven-jar-plugin:2.4:jar (default-jar) @ forms-model —
[INFO] Building jar: G:\workspace\bonita-console-5.3\forms\forms-model\target\MavenWeb.jar
[INFO]
[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) @ forms-model >>>
[INFO]
[INFO] — maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions) @ forms-model —
[INFO]
[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) @ forms-model <<<
[INFO]
[INFO] — maven-source-plugin:2.1.2:jar (attach-sources) @ forms-model —
[INFO] Building jar: G:\workspace\bonita-console-5.3\forms\forms-model\target\MavenWeb-sources.jar
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ forms-model —
[INFO] Installing G:\workspace\bonita-console-5.3\forms\forms-model\target\MavenWeb.jar to C:\Users\india.m2\repository\org\bonitasoft\forms\forms-model\5.3\forms-model-5.3.jar
[INFO] Installing G:\workspace\bonita-console-5.3\forms\forms-model\pom.xml to C:\Users\india.m2\repository\org\bonitasoft\forms\forms-model\5.3\forms-model-5.3.pom
[INFO] Installing G:\workspace\bonita-console-5.3\forms\forms-model\target\MavenWeb-sources.jar to C:\Users\india.m2\repository\org\bonitasoft\forms\forms-model\5.3\forms-model-5.3-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building forms rpc 5.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions) @ forms-rpc —
[INFO]
[INFO] — maven-resources-plugin:2.4.3:resources (default-resources) @ forms-rpc —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] — maven-compiler-plugin:2.3.1:compile (default-compile) @ forms-rpc —
[INFO] Compiling 2 source files to G:\workspace\bonita-console-5.3\forms\forms-rpc\target\classes
[INFO]
[INFO] — maven-resources-plugin:2.4.3:testResources (default-testResources) @ forms-rpc —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] — maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ forms-rpc —
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ forms-rpc —
[INFO]
[INFO] — maven-jar-plugin:2.4:jar (default-jar) @ forms-rpc —
[INFO] Building jar: G:\workspace\bonita-console-5.3\forms\forms-rpc\target\MavenWeb.jar
[INFO]
[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) @ forms-rpc >>>
[INFO]
[INFO] — maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions) @ forms-rpc —
[INFO]
[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) @ forms-rpc <<<
[INFO]
[INFO] — maven-source-plugin:2.1.2:jar (attach-sources) @ forms-rpc —
[INFO] Building jar: G:\workspace\bonita-console-5.3\forms\forms-rpc\target\MavenWeb-sources.jar
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ forms-rpc —
[INFO] Installing G:\workspace\bonita-console-5.3\forms\forms-rpc\target\MavenWeb.jar to C:\Users\india.m2\repository\org\bonitasoft\forms\forms-rpc\5.3\forms-rpc-5.3.jar
[INFO] Installing G:\workspace\bonita-console-5.3\forms\forms-rpc\pom.xml to C:\Users\india.m2\repository\org\bonitasoft\forms\forms-rpc\5.3\forms-rpc-5.3.pom
[INFO] Installing G:\workspace\bonita-console-5.3\forms\forms-rpc\target\MavenWeb-sources.jar to C:\Users\india.m2\repository\org\bonitasoft\forms\forms-rpc\5.3\forms-rpc-5.3-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building forms server 5.3
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://maven.ow2.org/maven2/org/bonitasoft/connectors/bonita/5.3/bonita-5.3.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/bonitasoft/connectors/bonita/5.3/bonita-5.3.pom
[WARNING] The POM for org.bonitasoft.connectors:bonita:jar:5.3 is missing, no dependency information available
[INFO] Downloading: http://maven.ow2.org/maven2/org/bonitasoft/connectors/bonita/5.3/bonita-5.3.jar
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/bonitasoft/connectors/bonita/5.3/bonita-5.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] bonita console … SUCCESS [1:27.752s]
[INFO] security parent … SUCCESS [0.031s]
[INFO] security model … SUCCESS [1:19.526s]
[INFO] security rpc … SUCCESS [1.496s]
[INFO] security server … SUCCESS [10.284s]
[INFO] console common … SUCCESS [2.300s]
[INFO] security view … SUCCESS [2.197s]
[INFO] forms parent … SUCCESS [0.047s]
[INFO] forms model … SUCCESS [2.673s]
[INFO] forms rpc … SUCCESS [1.301s]
[INFO] forms server … FAILURE [8.452s]
[INFO] forms view … SKIPPED
[INFO] forms application … SKIPPED
[INFO] console parent … SKIPPED
[INFO] console model … SKIPPED
[INFO] console rpc … SKIPPED
[INFO] console server … SKIPPED
[INFO] console view … SKIPPED
[INFO] console war … SKIPPED
[INFO] tomcat build … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:17.028s
[INFO] Finished at: Thu Jan 12 07:56:09 IST 2017
[INFO] Final Memory: 42M/108M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project forms-server: Could not resolve dependencies for project org.bonitasoft.forms:forms-server:jar:5.3: Could not find artifact org.bonitasoft.connectors:bonita:jar:5.3 in ow2 (http://maven.ow2.org/maven2) → [Help 1]
[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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :forms-server

This looks like a bug, I would open a report here:

https://bonita.atlassian.net

regards
Seán

PS: I realise this may not be the answer you are looking for but it’s the best we can do for this type of error on the community forum, please mark as resolved so others don’t have to reply.

In order to solve the problem, you have to go to “.m2” folder that is called local repository in your Maven installed path then go to “org/bonitasoft/forms/forms-server” path and delete all of the temporary files. finally, you have to try again and build the project.
Maybe it is helpfull.

Good Luck
REZA