0

i am trying to configure build of a java project through jenkins. I have installed the maven plugin and configured the "settings.xml" file. During the build, I get the following error message:

[ERROR] Failed to execute goal on project HRWebSuite: Could not resolve dependencies for project sirfin:HRWebSuite:war:3.0: Could not find artifact org.zkoss.exporter:exporter:jar:0.0.1-SNAPSHOT at specified path /var/lib/jenkins/workspace/HrWebSuiteFutureV3-Test3\WebContent\WEB-INF\lib\exporter.jar -> [Help 1]

The library is present in the specified path and I could not find it as maven dependencies.

Frank
  • 1
  • Check this question which has similar error to yours: https://stackoverflow.com/questions/24673671/mavenerror-failed-to-execute-goal-on-project-could-not-resolve-dependencies-in – Shivam Papat Apr 05 '22 at 12:36
  • @ShivamPapat I tried to follow the solutions described in the link you posted but I haven't solved. – Frank Apr 05 '22 at 14:17
  • 1
    I solved it by replacing, in the library path, the backslash character with the slash character. – Frank Apr 05 '22 at 14:34

0 Answers0