Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


English

If you have Docker (or a compatible container engine) installed, use the docker-maven-joget image to quickly generate and build plugins with minimal pre-requisites.

To use this simplified approach, you just need to run some commands in a terminal (Mac/Linux) or PowerShell (Windows).

Info
NOTE: ${PWD} is for Mac, Linux and Windows PowerShell. For Windows Command Prompt, replace ${PWD} with "%cd%".

...

Code Block
languagebash
docker run -it --rm -v ${PWD}:/usr/src/mymaven -w /usr/src/mymaven jogetworkflow/docker-maven-joget:78.0-SNAPSHOT mvn archetype:generate -DarchetypeGroupId="org.joget" -DarchetypeArtifactId="wflow-plugin-archetype" -DarchetypeVersion="78.0-SNAPSHOT" -DgroupId="org.joget.plugin" -DartifactId="custom-plugin"

...

Code Block
languagebash
docker run -it --rm -v ${PWD}:/root/.m2 -v ${PWD}:/usr/src/mymaven -w /usr/src/mymaven jogetworkflow/docker-maven-joget:78.0-SNAPSHOT mvn clean install