Extending with a Custom Module
Prerequisites
Module Setup
<build>
<finalName>${project.parent.artifactId}-${project.parent.version}</finalName>
<plugins>
<plugin>
<groupId>org.openmrs.maven.plugins</groupId>
<artifactId>maven-openmrs-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.openmrs.maven.plugins</groupId>
<artifactId>openmrs-sdk-maven-plugin</artifactId>
<version>3.13.1</version>
<executions>
<execution>
<id>build-distro</id>
<phase>install</phase>
<goals>
<goal>build-distro</goal>
</goals>
<configuration>
<dir>${project.build.directory}/docker</dir>
<bundled>true</bundled>
<distro>${project.build.directory}/classes/openmrs-distro.properties</distro>
<batchAnswers>
<param>n</param>
</batchAnswers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>Last updated