Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Change the source and target in pom.xml file of the project to 7 from 5
Sorry 1.7 from 1.5 the compiler option
Better off just replace this code
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
to this
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
Or if you have jdk 8 use this
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
Hi Eshan, Thank you! will try to edit the pom file.
I would like to create a plugin but when running mvn clean install, i got this error.
can someone help me to fix this?
--- maven-compiler-plugin:2.0.2:compile (default-compile) @ wflow-commons ---
[INFO] Compiling 40 source files to C:\Users\vincentp\joget_src\jw-community\wflow-commons\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for wflow-app 6.0-SNAPSHOT:
[INFO]
[INFO] wflow-jdbc ......................................... SUCCESS [ 13.096 s]
[INFO] wflow-commons ...................................... FAILURE [ 19.834 s]
[INFO] wflow-plugin-base .................................. SKIPPED
[INFO] wflow-plugin-archetype ............................. SKIPPED
[INFO] wflow-directory .................................... SKIPPED
[INFO] wflow-wfengine ..................................... SKIPPED
[INFO] wflow-core ......................................... SKIPPED
[INFO] wflow-consoleweb ................................... SKIPPED
[INFO] wflow-designer ..................................... SKIPPED
[INFO] wflow-designerweb .................................. SKIPPED
[INFO] wflow-app .......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35.247 s
[INFO] Finished at: 2019-03-28T17:06:15+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project wflow-commons: Compilation failure: Compilation failure:
[ERROR] error: Source option 5 is no longer supported. Use 7 or later.
[ERROR] error: Target option 5 is no longer supported. Use 7 or later.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :wflow-commons