1
0
-1

I'm trying to build Joget on my computer (follwing this tutorial: Build Source Code on Linux)

However, only version 5 is available in the repository.

I get the following error every time I try to install the pom.xml file in the wflow-app folder (step 5 in the tutorial):

[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   wflow-jdbc
[INFO]   wflow-commons
[INFO]   wflow-plugin-base
[INFO]   wflow-plugin-archetype
[INFO]   wflow-directory
[INFO]   wflow-wfengine
[INFO]   wflow-core
[INFO]   wflow-consoleweb
[INFO]   wflow-designer
[INFO]   wflow-designerweb
[INFO]   wflow-app
[INFO] ------------------------------------------------------------------------
[INFO] Building wflow-jdbc
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /home/sarahj/jw-community/wflow-jdbc/target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/sarahj/jw-community/wflow-jdbc/src/main/resources
Downloading: http://repo1.maven.org/maven2/com/oracle/ojdbc6/12.1.0.2/ojdbc6-12.1.0.2.pom
[INFO] Unable to find resource 'com.oracle:ojdbc6:pom:12.1.0.2' in repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/com/microsoft/sqljdbc/4.0/sqljdbc-4.0.pom
[INFO] Unable to find resource 'com.microsoft:sqljdbc:pom:4.0' in repository central (http://repo1.maven.org/maven2)
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/sarahj/jw-community/wflow-jdbc/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [jar:jar {execution: default-jar}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/sarahj/jw-community/wflow-jdbc/target/wflow-jdbc-6.0-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/sarahj/jw-community/wflow-jdbc/target/wflow-jdbc-6.0-SNAPSHOT.jar to /home/sarahj/.m2/repository/org/joget/wflow-jdbc/6.0-SNAPSHOT/wflow-jdbc-6.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building wflow-commons
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /home/sarahj/jw-community/wflow-commons/target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 5 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 40 source files to /home/sarahj/jw-community/wflow-commons/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

error: Source option 5 is no longer supported. Use 6 or later.
error: Target option 1.5 is no longer supported. Use 1.6 or later.

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Tue Jun 19 15:57:29 AST 2018
[INFO] Final Memory: 18M/70M
[INFO] ------------------------------------------------------------------------
 
    CommentAdd your comment...

    3 answers

    1.  
      1
      0
      -1

      Hello Sarah,

      From the log observed above, it seems that your java jdk version is not up to date to the minimum jdk version required by maven. Try using JAVA version 6 or above!

      Cheers.

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

        1. Justin

          And also, we've updated the guide for version 6 accordingly. Thank you for notifying us. Cheers.

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

        Hi, v6-SNAPSHOT is the default branch in https://github.com/jogetworkflow/jw-community. Do you follow the guide in Joget Workflow Open Source?

        1. Sarah

          Hello, Yes, I did. I also tried to rebuild it, just now. Still the same error.

        2. Sarah

          Please check the image I uploaded as an answer, as I can't upload images in the comments. This screenshot is from version 6's source code tutorial, it specifies that the last version uploaded is version 5.

        CommentAdd your comment...