ChristophPrybila/openengsb-framework — comment on commit ac4605d6923c757e1c8f525033cc9eab78b71eeb
File: manual/src/manual/docbook/xlink/concept.xml line 259
By anpieber:

it might be useful to directly reference the relevant code snippets. You can extract src code using the openengsb-maven-plugin and include it afterwards into your documents. For an example see [1]. While the parts in pom.xml are rather "black magic" [2] the usage in the src should be quite clear [3].

[1] https://github.com/openengsb/openengsb-domain-test/
[2] https://github.com/openengsb/openengsb-domain-test/blob/master/pom.xml#L87
[3] https://github.com/openengsb/openengsb-domain-test/blob/master/src/main/java/org/openengsb/domain/test/TestDomain.java
[4] https://github.com/openengsb/openengsb-domain-test/blob/master/src/manual/docbook/org.openengsb.domain.test.xml