Hi All,

Trying to compile the latest Beta 3 source but I am getting the following error, also searching for that file manually on Maven doesnt seem to find it either?

Regards

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.joget:wflow-wfengine:jar:3.0-BETA

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.joget -DartifactId=wflow-wfengine -Dversion=3.0-BETA -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.joget -DartifactId=wflow-wfengine -Dversion=3.0-BETA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.joget:wflow-core:jar:3.0-BETA
        2) org.joget:wflow-wfengine:jar:3.0-BETA

----------
1 required artifact is missing.

for artifact:
  org.joget:wflow-core:jar:3.0-BETA

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22 seconds
[INFO] Finished at: Wed Aug 31 15:50:40 BST 2011
[INFO] Final Memory: 9M/22M
[INFO] ------------------------------------------------------------------------
root@bpms:/tmp/jogetworkflow-jw-community-223d717/wflow-core#
  • No labels

4 Comments

  1. Hi David, you only need to build from wflow-app. Try to run mvn clean install in /wflow-app and you will get the following builds:

    • /wflow-consoleweb/target/jw.war
    • /wflow-designerweb/target/jwdesigner.war
  2. Hi Tiensoon,

    I had more joy attempted to compile under windows, i followed your advice and built from wflow-app which sucessfully built jw.war however jwdesigner.war had not been built, when I run mvn install in the wflow-designerweb folder I get the following:

    [INFO] [dependency:copy

    Unknown macro: {execution}

    ]
    [INFO] Configured Artifact: org.joget:wflow-designer:3.0-BETA:jar
    Downloading: http://repo1.maven.org/maven2/org/joget/wflow-designer/3.0-BETA/wfl
    ow-designer-3.0-BETA.jar
    [INFO] Unable to find resource 'org.joget:wflow-designer:jar:3.0-BETA' in reposi
    tory central (http://repo1.maven.org/maven2)
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Unable to find artifact.

    Embedded error: Unable to download the artifact from any repository

    Try downloading the file manually from the project website.

    Then, install it using the command:
        mvn install:install-file -DgroupId=org.joget -DartifactId=wflow-designer -Dv
    ersion=3.0-BETA -Dpackaging=jar -Dfile=/path/to/file

    Alternatively, if you host your own repository you can deploy the file there:
        mvn deploy:deploy-file -DgroupId=org.joget -DartifactId=wflow-designer -Dver
    sion=3.0-BETA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[i
    d]

      org.joget:wflow-designer:jar:3.0-BETA

    from the specified remote repositories:
      central (http://repo1.maven.org/maven2)

    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 53 seconds
    [INFO] Finished at: Mon Sep 05 23:47:53 BST 2011
    [INFO] Final Memory: 14M/35M
    [INFO] ------------------------------------------------------------------------

    1. Hi,

      You shouldn't be building wflow-designerweb unless you have the need to do so. If you can look at it's pom.xml file. There is a list of dependency that you will need to have them ready beforehand.

      Did you bump into any sort of error while building wflow-app? By right, it should produce both jw.war and jw-designer.war at the end of the building process. Try to run it again and observe the output.

      Hope this helps!

    • The database "jwdb" should be created first and the file "jwdb-empty.sql" located in <JoGet Installation Directory>/data should be executed in order to proceed with the build
    • There seems to be missing repositories, could you update a list of required repository mirrors to include the maven config file?