|
338 | 338 | </plugins> |
339 | 339 | </build> |
340 | 340 | </profile> |
| 341 | + <profile> |
| 342 | + <id>travis</id> |
| 343 | + <activation> |
| 344 | + <activeByDefault>true</activeByDefault> |
| 345 | + </activation> |
| 346 | + <build> |
| 347 | + <plugins> |
| 348 | + <plugin> |
| 349 | + <groupId>org.jbake</groupId> |
| 350 | + <artifactId>jbake-maven-plugin</artifactId> |
| 351 | + <executions> |
| 352 | + <execution> |
| 353 | + <id>default-generate</id> |
| 354 | + <phase>generate-resources</phase> |
| 355 | + <goals> |
| 356 | + <goal>generate</goal> |
| 357 | + </goals> |
| 358 | + </execution> |
| 359 | + </executions> |
| 360 | + <configuration> |
| 361 | + <seedUrl>https://github.com/phasenraum2010/jbake-example-project-thymeleaf/zipball/master/</seedUrl> |
| 362 | + <!-- |
| 363 | + <inputDirectory>${project.basedir}/src/main/resources</inputDirectory> |
| 364 | + <outputDirectory>${project.build.directory}/classes</outputDirectory> |
| 365 | + --> |
| 366 | + </configuration> |
| 367 | + <dependencies> |
| 368 | + <dependency> |
| 369 | + <groupId>org.thymeleaf</groupId> |
| 370 | + <artifactId>thymeleaf</artifactId> |
| 371 | + <version>${thymeleaf.version}</version> |
| 372 | + </dependency> |
| 373 | + <dependency> |
| 374 | + <groupId>org.asciidoctor</groupId> |
| 375 | + <artifactId>asciidoctorj</artifactId> |
| 376 | + <version>${asciidoctorj.version}</version> |
| 377 | + </dependency> |
| 378 | + <dependency> |
| 379 | + <groupId>com.vladsch.flexmark</groupId> |
| 380 | + <artifactId>flexmark-all</artifactId> |
| 381 | + <version>${flexmark-all.version}</version> |
| 382 | + </dependency> |
| 383 | + <dependency> |
| 384 | + <groupId>org.apache.maven.doxia</groupId> |
| 385 | + <artifactId>doxia-module-markdown</artifactId> |
| 386 | + <version>${doxia-module-markdown.version}</version> |
| 387 | + </dependency> |
| 388 | + </dependencies> |
| 389 | + </plugin> |
| 390 | + <plugin> |
| 391 | + <groupId>org.apache.maven.plugins</groupId> |
| 392 | + <artifactId>maven-jar-plugin</artifactId> |
| 393 | + <configuration> |
| 394 | + <excludes> |
| 395 | + <exclude>**/less</exclude> |
| 396 | + <exclude>**/*.less</exclude> |
| 397 | + <exclude>**/assets</exclude> |
| 398 | + <exclude>**/assets/**</exclude> |
| 399 | + <exclude>**/content</exclude> |
| 400 | + <exclude>**/content/**</exclude> |
| 401 | + <exclude>**/templates</exclude> |
| 402 | + <exclude>**/templates/**</exclude> |
| 403 | + <exclude>**/template-draft.html</exclude> |
| 404 | + </excludes> |
| 405 | + </configuration> |
| 406 | + </plugin> |
| 407 | + <plugin> |
| 408 | + <groupId>org.apache.maven.plugins</groupId> |
| 409 | + <artifactId>maven-surefire-plugin</artifactId> |
| 410 | + <configuration> |
| 411 | + <skipTests>true</skipTests> |
| 412 | + </configuration> |
| 413 | + </plugin> |
| 414 | + </plugins> |
| 415 | + </build> |
| 416 | + </profile> |
341 | 417 | </profiles> |
342 | 418 |
|
343 | 419 | <!-- |
|
0 commit comments