Keycloak

Форк
0
213 строк · 9.3 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<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">
3
    <modelVersion>4.0.0</modelVersion>
4

5
    <parent>
6
        <artifactId>keycloak-docs-parent</artifactId>
7
        <groupId>org.keycloak</groupId>
8
        <version>999.0.0-SNAPSHOT</version>
9
        <relativePath>../pom.xml</relativePath>
10
    </parent>
11

12
    <name>Keycloak Documentation Parent</name>
13
    <groupId>org.keycloak.documentation</groupId>
14
    <artifactId>documentation-parent</artifactId>
15
    <version>999.0.0-SNAPSHOT</version>
16
    <packaging>pom</packaging>
17

18
    <properties>
19
        <masterFile>index</masterFile>
20
        <imagesDir>keycloak-images</imagesDir>
21

22
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23
        <version.plugin.assembly>3.0.0</version.plugin.assembly>
24
        <version.plugin.resources>3.0.2</version.plugin.resources>
25
        <version.plugin.dependency>3.0.1</version.plugin.dependency>
26
        <version.plugin.antrun>1.8</version.plugin.antrun>
27
        <version.compiler.plugin>3.6.1</version.compiler.plugin>
28
        <version.jar.plugin>3.0.2</version.jar.plugin>
29
        <version.install.plugin>2.5.2</version.install.plugin>
30
        <version.surefire.plugin>2.22.2</version.surefire.plugin>
31
        <version.plexus.utils>4.0.0</version.plexus.utils>
32

33
        <maven.compiler.target>1.8</maven.compiler.target>
34
        <maven.compiler.source>1.8</maven.compiler.source>
35
    </properties>
36

37
    <modules>
38
        <module>header-maven-plugin</module>
39
        <module>api_documentation</module>
40
        <module>authorization_services</module>
41
        <module>securing_apps</module>
42
        <module>server_admin</module>
43
        <module>server_development</module>
44
        <module>release_notes</module>
45
        <module>upgrading</module>
46
        <module>aggregation</module>
47
        <module>dist</module>
48
  </modules>
49

50
    <profiles>
51
        <profile>
52
            <id>tests</id>
53
            <activation>
54
                <property>
55
                    <name>!skipProjectTests</name>
56
                </property>
57
            </activation>
58
            <modules>
59
                <module>tests</module>
60
            </modules>
61
        </profile>
62
    </profiles>
63

64
    <build>
65
        <pluginManagement>
66
            <plugins>
67
                <plugin>
68
                    <groupId>org.apache.maven.plugins</groupId>
69
                    <artifactId>maven-compiler-plugin</artifactId>
70
                    <version>${version.compiler.plugin}</version>
71
                    <configuration>
72
                        <source>${maven.compiler.target}</source>
73
                        <target>${maven.compiler.source}</target>
74
                    </configuration>
75
                </plugin>
76
                <plugin>
77
                    <groupId>org.apache.maven.plugins</groupId>
78
                    <artifactId>maven-jar-plugin</artifactId>
79
                    <version>${version.jar.plugin}</version>
80
                </plugin>
81
                <plugin>
82
                    <groupId>org.apache.maven.plugins</groupId>
83
                    <artifactId>maven-install-plugin</artifactId>
84
                    <version>${version.install.plugin}</version>
85
                </plugin>
86
                <plugin>
87
                    <groupId>org.apache.maven.plugins</groupId>
88
                    <artifactId>maven-antrun-plugin</artifactId>
89
                    <version>${version.plugin.antrun}</version>
90
                    <executions>
91
                        <execution>
92
                            <id>echo-output</id>
93
                            <phase>generate-resources</phase>
94
                            <goals>
95
                                <goal>run</goal>
96
                            </goals>
97
                            <configuration>
98
                                <target>
99
                                    <!-- print the link on the console to be able to open it in the local browser -->
100
                                    <echo>OUTPUT: file://${project.build.directory}/generated-docs/${masterFile}.html ${projectLatestBuild}</echo>
101
                                </target>
102
                            </configuration>
103
                        </execution>
104
                    </executions>
105
                </plugin>
106
                <plugin>
107
                    <groupId>org.apache.maven.plugins</groupId>
108
                    <artifactId>maven-dependency-plugin</artifactId>
109
                    <version>${version.plugin.dependency}</version>
110
                </plugin>
111
                <plugin>
112
                    <groupId>org.apache.maven.plugins</groupId>
113
                    <artifactId>maven-surefire-plugin</artifactId>
114
                    <version>${version.surefire.plugin}</version>
115
                </plugin>
116
                <plugin>
117
                    <groupId>org.keycloak.documentation</groupId>
118
                    <artifactId>header-maven-plugin</artifactId>
119
                    <version>${project.version}</version>
120
                    <executions>
121
                        <execution>
122
                            <id>add-file-headers</id>
123
                            <goals>
124
                                <goal>header</goal>
125
                            </goals>
126
                            <configuration>
127
                                <masterFileName>${masterFile}</masterFileName>
128
                            </configuration>
129
                        </execution>
130
                    </executions>
131
                </plugin>
132
                <plugin>
133
                    <groupId>org.asciidoctor</groupId>
134
                    <artifactId>asciidoctor-maven-plugin</artifactId>
135
                    <executions>
136
                        <execution>
137
                            <id>asciidoc-to-html</id>
138
                            <phase>generate-resources</phase>
139
                            <goals>
140
                                <goal>process-asciidoc</goal>
141
                            </goals>
142
                            <configuration>
143
                                <sourceDirectory>${basedir}/target/sources</sourceDirectory>
144
                                <sourceDocumentName>${masterFile}.adoc</sourceDocumentName>
145
                                <backend>html5</backend>
146
                                <attributes>
147
                                    <source-highlighter>coderay</source-highlighter>
148
                                    <imagesdir>./</imagesdir>
149
                                    <toc>left</toc>
150
                                    <toc>left</toc>
151
                                    <icons>font</icons>
152
                                    <sectanchors>true</sectanchors>
153
                                    <idprefix/>
154
                                    <idseparator>-</idseparator>
155
                                    <docinfo1>true</docinfo1>
156
                                    <masterFile>${masterFile}</masterFile>
157
                                </attributes>
158
                                <resources>
159
                                    <resource>
160
                                        <directory>${project.basedir}</directory>
161
                                        <includes>
162
                                            <include>images/**/*.png</include>
163
                                            <include>${imagesDir}/**/*.png</include>
164
                                        </includes>
165
                                    </resource>
166
                                </resources>
167
                                <logHandler>
168
                                    <failIf>
169
                                        <severity>WARN</severity>
170
                                    </failIf>
171
                                </logHandler>
172
                            </configuration>
173
                        </execution>
174
                    </executions>
175
                </plugin>
176

177
                <plugin>
178
                    <groupId>org.apache.maven.plugins</groupId>
179
                    <artifactId>maven-resources-plugin</artifactId>
180
                    <version>${version.plugin.resources}</version>
181
                    <executions>
182
                        <execution>
183
                            <id>asciidoc-copy-resources</id>
184
                            <phase>process-resources</phase>
185
                            <goals>
186
                                <goal>copy-resources</goal>
187
                            </goals>
188
                            <configuration>
189
                                <resources>
190
                                </resources>
191
                                <outputDirectory>target/generated-docs</outputDirectory>
192
                            </configuration>
193
                        </execution>
194
                    </executions>
195
                </plugin>
196

197
                <plugin>
198
                    <groupId>org.apache.maven.plugins</groupId>
199
                    <artifactId>maven-assembly-plugin</artifactId>
200
                    <version>${version.plugin.assembly}</version>
201
                </plugin>
202

203
                <plugin>
204
                    <groupId>org.apache.maven.plugins</groupId>
205
                    <artifactId>maven-deploy-plugin</artifactId>
206
                    <configuration>
207
                        <skip>true</skip>
208
                    </configuration>
209
                </plugin>
210
            </plugins>
211
        </pluginManagement>
212
    </build>
213
</project>
214

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.