diff --git a/hl7templates/goc-tests/goc-tests-runner/pom.xml b/hl7templates/goc-tests/goc-tests-runner/pom.xml index 8953d40f30cce6c85316082f38429f7acf8b3cd6..398b963ce142e5d595677cc0e42138c96543e219 100644 --- a/hl7templates/goc-tests/goc-tests-runner/pom.xml +++ b/hl7templates/goc-tests/goc-tests-runner/pom.xml @@ -55,6 +55,53 @@ </configuration> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>3.0.0</version> + <executions> + <execution> + <id>codegeneration</id> + <phase>prepare-package</phase> + <goals><goal>java</goal></goals> + <configuration> + <mainClass>net.ihe.gazelle.goctests.definitions.application.scripts.ConvertCSV</mainClass> + <arguments> + <argument>${csv}</argument> + <argument>${dest}</argument> + <argument>${type}</argument> + </arguments> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass> + net.ihe.gazelle.goctests.interlay.GOCTestEntryCLI + </mainClass> + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> + </manifest> + </archive> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + </configuration> + </execution> + </executions> + </plugin> + </plugins> </build>