|
16 | 16 | <maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format> |
17 | 17 | <spec.version>${project.version}</spec.version> |
18 | 18 | <spec.date>${maven.build.timestamp}</spec.date> |
19 | | - <spec.title>AutoYummiBox ${spec.version} - Software Architectural Design</spec.title> |
| 19 | + <spec.title>AutoYummiBox ${spec.version} - Software |
| 20 | + Architectural |
| 21 | + Design</spec.title> |
20 | 22 | <spec.authors>S. Bär, M. Thielcke</spec.authors> |
21 | 23 | <spec.filename>SwAD-AutoYummiBox</spec.filename> |
22 | 24 | <spec.files>architecture.md introduction.md context.md |
23 | 25 | solution_strategy.md building_block_view.md |
24 | 26 | building_block_view/MachineApplication.md runtime_view.md |
25 | | - runtime_view/ordering_dishes.md runtime_view/preparing_dishes.md |
| 27 | + runtime_view/ordering_dishes.md |
| 28 | + runtime_view/preparing_dishes.md |
26 | 29 | runtime_view/paying_with_credit_card.md deployment_view.md |
27 | | - concepts.md design_decisions.md quality_scenarios.md risks.md |
| 30 | + concepts.md design_decisions.md quality_scenarios.md |
| 31 | + risks.md |
28 | 32 | glossary.md bibliography.md</spec.files> |
29 | 33 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
30 | 34 | <!-- Do not change the properties below --> |
|
94 | 98 | </dependency> |
95 | 99 | </dependencies> |
96 | 100 | </plugin> |
97 | | - <plugin> |
98 | | - <groupId>org.codehaus.mojo</groupId> |
99 | | - <artifactId>exec-maven-plugin</artifactId> |
100 | | - <version>1.6.0</version> |
101 | | - <executions> |
102 | | - <execution> |
103 | | - <id>pandoc</id> |
104 | | - <phase>compile</phase> |
105 | | - <configuration> |
106 | | - <executable>pandoc</executable> |
107 | | - <workingDirectory>${spec.source.directory}</workingDirectory> |
108 | | - <commandlineArgs>--from=markdown --to=html5 --standalone |
109 | | - --toc --number-sections |
110 | | - --css=${spec.source.css.directory}/spec.css |
111 | | - --lua-filter=${lua.source.directory}/link_converter.lua |
112 | | - --strip-comments --output=${spec.file.html} |
113 | | - --metadata=title:"${spec.title}" |
114 | | - --metadata=date:"${spec.date}" |
115 | | - --metadata=author:"${spec.authors}" |
116 | | - ${spec.files}</commandlineArgs> |
117 | | - </configuration> |
118 | | - <goals> |
119 | | - <goal>exec</goal> |
120 | | - </goals> |
121 | | - </execution> |
122 | | - </executions> |
123 | | - </plugin> |
124 | 101 | <plugin> |
125 | 102 | <!-- See http://www.mojohaus.org/license-maven-plugin/examples/example-add-license.html --> |
126 | 103 | <groupId>org.codehaus.mojo</groupId> |
|
175 | 152 | <version>3.1.0</version> |
176 | 153 | <configuration> |
177 | 154 | <descriptors> |
178 | | - <descriptor>${project.basedir}/src/assembly/htmldoc.xml</descriptor> |
| 155 | + <descriptor>${project.basedir}/src/assembly/htmldoc.xml</descriptor> |
179 | 156 | </descriptors> |
180 | 157 | <finalName>${spec.filename}-${project.version}</finalName> |
181 | 158 | </configuration> |
|
191 | 168 | </plugin> |
192 | 169 | </plugins> |
193 | 170 | </build> |
| 171 | + <profiles> |
| 172 | + <profile> |
| 173 | + <id>render-pdf</id> |
| 174 | + <build> |
| 175 | + <plugins> |
| 176 | + <plugin> |
| 177 | + <groupId>org.codehaus.mojo</groupId> |
| 178 | + <artifactId>exec-maven-plugin</artifactId> |
| 179 | + <version>1.6.0</version> |
| 180 | + <executions> |
| 181 | + <execution> |
| 182 | + <id>pandoc-pdf</id> |
| 183 | + <phase>compile</phase> |
| 184 | + <configuration> |
| 185 | + <executable>pandoc</executable> |
| 186 | + <workingDirectory>${spec.source.directory}</workingDirectory> |
| 187 | + <commandlineArgs>--from=markdown --to=pdf |
| 188 | + --standalone |
| 189 | + --toc |
| 190 | + --number-sections -t latex |
| 191 | + --css=${spec.source.css.directory}/spec.css |
| 192 | + --lua-filter=${lua.source.directory}/pdf_image_path_converter.lua |
| 193 | + --strip-comments |
| 194 | + --output=${spec.file.pdf} |
| 195 | + --metadata=title:"${spec.title}" |
| 196 | + --metadata=date:"${spec.date}" |
| 197 | + --metadata=author:"${spec.authors}" |
| 198 | + ${spec.files}</commandlineArgs> |
| 199 | + </configuration> |
| 200 | + <goals> |
| 201 | + <goal>exec</goal> |
| 202 | + </goals> |
| 203 | + </execution> |
| 204 | + </executions> |
| 205 | + </plugin> |
| 206 | + </plugins> |
| 207 | + </build> |
| 208 | + </profile> |
| 209 | + <profile> |
| 210 | + <id>render-html</id> |
| 211 | + <activation> |
| 212 | + <activeByDefault>true</activeByDefault> |
| 213 | + </activation> |
| 214 | + <build> |
| 215 | + <plugins> |
| 216 | + <plugin> |
| 217 | + <groupId>org.codehaus.mojo</groupId> |
| 218 | + <artifactId>exec-maven-plugin</artifactId> |
| 219 | + <version>1.6.0</version> |
| 220 | + <executions> |
| 221 | + <execution> |
| 222 | + <id>pandoc</id> |
| 223 | + <phase>compile</phase> |
| 224 | + <configuration> |
| 225 | + <executable>pandoc</executable> |
| 226 | + <workingDirectory>${spec.source.directory}</workingDirectory> |
| 227 | + <commandlineArgs>--from=markdown |
| 228 | + --to=html5 |
| 229 | + --standalone |
| 230 | + --toc |
| 231 | + --number-sections |
| 232 | + --css=${spec.source.css.directory}/spec.css |
| 233 | + --lua-filter=${lua.source.directory}/link_converter.lua |
| 234 | + --strip-comments --output=${spec.file.html} |
| 235 | + --metadata=title:"${spec.title}" |
| 236 | + --metadata=date:"${spec.date}" |
| 237 | + --metadata=author:"${spec.authors}" |
| 238 | + ${spec.files}</commandlineArgs> |
| 239 | + </configuration> |
| 240 | + <goals> |
| 241 | + <goal>exec</goal> |
| 242 | + </goals> |
| 243 | + </execution> |
| 244 | + </executions> |
| 245 | + </plugin> |
| 246 | + </plugins> |
| 247 | + </build> |
| 248 | + </profile> |
| 249 | + </profiles> |
194 | 250 | </project> |
0 commit comments