1
0
-1

Hi all,

I am trying to Build Source Code on Windows and currently am hitting this error upon mvn clean install:

[ERROR] Failed to execute goal on project wflow-wfengine: Could not resolve dependencies for project org.joget:wflow-wfengine:jar:7.0-SNAPSHOT: The following artifacts could not be resolved: EnhydraShark:shark-maven:jar:2.0.1, EnhydraShark:sharkscripting-standard:jar:2.0.1, EnhydraShark:sharkclientutilities-misc:jar:2.0.1, EnhydraShark:sharkinstancepersistence-dods:jar:2.0.1, EnhydraShark:sharkinstancepersistence-dodslayer:jar:2.0.1, EnhydraShark:sharkrepositorypersistence-dods:jar:2.0.1, EnhydraShark:sharkrepositorypersistence-dodslayer:jar:2.0.1, EnhydraShark:sharklogging-standard:jar:2.0.1, TogetherRelationalObjects:dbmanager:jar:7.1-1-professional, TogetherApplicationFramework:eaf-api:jar:7.1-1-community, TogetherApplicationFramework:eafconfreader:jar:7.1-1-community: Could not find artifact EnhydraShark:shark-maven:jar:2.0.1 in central (https://repo.maven.apache.org/maven2) -> [Help 1]

EDIT:

When I try to Install the 3rd Party Libraries I got the following Error:

[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\xxx\install-libraries). Please verify you invoked Maven from the correct directory. -> [Help 1]
org.apache.maven.lifecycle.MissingProjectException: The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\xxx\install-libraries).

I can't find the POM file from the download link.

Can someone please help me. Thanks in advance.

    CommentAdd your comment...

    3 answers

    1.  
      1
      0
      -1

      UPDATE:

      1.  I update the Maven to version 3.8.5 as per Azrul's advice.

      2. Then, I re-install back the Install Libraries from Build Source Code on Windows#2.Install3rdPartyLibraries as per Anders advice.

      Now, am able to build successfully. Thanks both.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi..any update on this? I still not able to build the source code on Windows

          CommentAdd your comment...
        1.  
          1
          0
          -1

          Hi, it appears you are missing required dependency libraries. You'll need to install these libraries by following the instructions at Build Source Code on Windows#2.Install3rdPartyLibraries.

          1. Harita

            Hi Anders,

            I have tried to follow instruction as per the link.

            When I try to Install the 3rd Party Libraries I got the following error:

                 [exec] [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
                 [exec] [INFO] Building Maven Stub Project (No POM) 1
                 [exec] [INFO] --------------------------------[ pom ]---------------------------------
                 [exec] [INFO] ------------------------------------------------------------------------
                 [exec] [INFO] BUILD FAILURE
                 [exec] [INFO] ------------------------------------------------------------------------
                 [exec] [INFO] Total time:  0.183 s
                 [exec] [INFO] Finished at: 2023-02-10T14:04:05+08:00
                 [exec] [INFO] ------------------------------------------------------------------------
                 [exec] [ERROR] NullPointerException
                 [exec] [ERROR]
                 [exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
                 [exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
                 [exec] Result: 1

            And upon further debugging I see this error:

            [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\xxx\install-libraries). Please verify you invoked Maven from the correct directory. -> [Help 1]
            org.apache.maven.lifecycle.MissingProjectException: The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\xxx\install-libraries).

            I can't find the POM file from the download link.

            Can please help to advice me?

          2. PT

            what version of maven are you using? i used 3.9 and got the same error. Then i switch to 3.8.5 and its working

          CommentAdd your comment...