-
Notifications
You must be signed in to change notification settings - Fork 3
/
pom.xml
93 lines (88 loc) · 3.32 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
<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>website-learning-browser</artifactId>
<version>dev-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
<groupId>com.devonfw.website</groupId>
<artifactId>parent</artifactId>
<version>dev-SNAPSHOT</version>
</parent>
<modules>
<module>tutorials</module>
</modules>
<properties>
<docgen.docsource>index.asciidoc</docgen.docsource>
<asciidoctor.templateDir>${basedir}/../asciidoctor-backend/erb/html5/</asciidoctor.templateDir>
<stylesheet.target.dir>${basedir}/../asciidoctor-stylesheet/target/stylesheets/</stylesheet.target.dir>
<asciidoctor.attributes>toc=false</asciidoctor.attributes>
</properties>
<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>