The project POM contains the configuration to create blueprint files based on the model descriptors. Content Marker |
---|
| 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> |
|
So the next step is to provide the model descriptors. There are basically there models: add-on, spaces, and doctypes. All descriptors are XML files stored in src\main\resources\projectdoc-models
spaces are stored in a subfolder spaces , doctypes in a subfolder doctypes . The createExamples flag is set true by default. So there are some sample files to start with describing your model. |