The generation process is run from within the project (that is from the base folder that contains the pom.xml file) using Code Block |
---|
mvn doctype:generate |
All information is derived from the configuration in the pom.xml file that has been created by the Doctypes Archetype. Code Block Placeholder |
---|
code-language | HTML and XML |
---|
| <plugin>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<executions>
<execution>
<id>doctype</id>
<goals>
<goal>generate</goal>
</goals>
<phase>generate-resources</phase>
</execution>
</executions>
<configuration>
<shortId>myshortid</shortId>
</configuration>
</plugin> |
In create mode (default), already existing templates will not be overridden. |