Scala necessary dependencies are grouped in the maven project axelor-scala-module
To create a new written in Scala module, so you just have to create the project below as a parent:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.axelor</groupId>
<artifactId>axelor-scala-module</artifactId>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>scala-demo</artifactId>
<name>Scala Demo</name>
<dependencies>
<!-- module dependencies here -->
<dependency>
<groupId>com.axelor</groupId>
<artifactId>axelor-contact</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>