-
Notifications
You must be signed in to change notification settings - Fork 36
/
pom.xml
105 lines (99 loc) · 3.91 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.devonfw.website</groupId>
<artifactId>parent</artifactId>
<version>dev-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>com.devonfw.tools</groupId>
<artifactId>devonfw-docgen-html</artifactId>
<version>2021.12.004</version>
</parent>
<modules>
<module>asciidoctor-stylesheet</module>
<module>website</module>
<module>search-engine</module>
<module>solutions</module>
<module>wiki-tutorials</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<docgen.images.dir>images</docgen.images.dir>
<docgen.docsource></docgen.docsource>
<asciidoctor.templateDir>${basedir}/asciidoctor-backend/erb/html5/</asciidoctor.templateDir>
<docgen.asciidoc.page>devonfw-guide/master</docgen.asciidoc.page>
<stylesheet.target.dir>${basedir}/asciidoctor-stylesheet/target/stylesheets/</stylesheet.target.dir>
<!-- The following includes the multipage html5 converter for #14, which does not work at the moment -->
<!-- <asciidoctor.requires>${basedir}/asciidoctor-extensions/multipage-html5-converter.rb</asciidoctor.requires> -->
<!-- <asciidoctor.maven.plugin.version>1.5.7.1</asciidoctor.maven.plugin.version> -->
</properties>
<!-- never deploy any poms -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>copy-website-includes</id>
<phase>initialize</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<useDefaultDelimiters>true</useDefaultDelimiters>
<outputDirectory>${project.build.directory}/generated-docs/website/_includes/</outputDirectory>
<resources>
<resource>
<directory>${basedir}/website/target/generated-docs/components/</directory>
<filtering>false</filtering>
<includes>
<include>**/*.html</include>
<include>**/*.css</include>
<include>**/*.js</include>
<include>**/*.jpg</include>
<include>**/*.jpeg</include>
<include>**/*.png</include>
<include>**/*.svg</include>
<include>**/*.gif</include>
<include>**/*.ico</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-css</id>
<phase>initialize</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<useDefaultDelimiters>true</useDefaultDelimiters>
<outputDirectory>${project.build.directory}/generated-docs/</outputDirectory>
<resources>
<resource>
<directory>${stylesheet.target.dir}</directory>
<filtering>false</filtering>
<includes>
<include>devonfw.css</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>