Joget version 6 source code is not available in the repository, and version 5 won't build

Confluence User - 19 Jun, 2018

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] ------------------------------------------------------------------------
 
source;build;maven

6


20 Jun, 2018
confluenceUser
confluenceUser

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

20 Jun, 2018
confluenceUser
confluenceUser

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

20 Jun, 2018
confluenceUser
confluenceUser

20 Jun, 2018
confluenceUser
confluenceUser

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.

20 Jun, 2018
confluenceUser
confluenceUser

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.

20 Jun, 2018
confluenceUser
confluenceUser

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

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print