Java backend

To generate Java from ABS in a ABS Maven project, include the following plugin declaration inside the <build><plugins>...</plugins></build> section of the pom.xml

        ... (see optional configuration for detail) ...

Optional configuration goal genjava

  • absSrcFolder, ABS source folder, default is $project.basedir/src/main/abs
  • absTestFolder, ABS test folder, default is $project.basedir/src/test/abs
  • absJavaBackendTargetFolder, ABS Java Backend target folder, default is $
  • verbose, toggle verbosity, default is false
  • sourceOnly, toggle sourceOnly, default is false

To generate Java from the source of the ABS Maven project, invoke the 'compile' goal

mvn compile