Keycloak

Форк
0
85 строк · 3.6 Кб
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/maven-v4_0_0.xsd">
3
    <modelVersion>4.0.0</modelVersion>
4

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

12
    <artifactId>keycloak-js-adapter-jar</artifactId>
13

14
    <name>Keycloak JavaScript Adapter (JAR)</name>
15
    <description>A build of the Keycloak JavaScript adapter that puts the compiled result in a JAR (for inclusion in the Keycloak server).</description>
16

17
    <properties>
18
        <js.projectDir>../../../js</js.projectDir>
19
        <js.adapter.projectDir>${js.projectDir}/libs/keycloak-js</js.adapter.projectDir>
20
        <js.adapter.distDir>${js.adapter.projectDir}/dist</js.adapter.distDir>
21
        <!-- as the frontend-maven-plugin depends on workingDirectory, list all parts which should be ignored from the checksum -->
22
        <maven.build.cache.exclude.value.1>${maven.multiModuleProjectDirectory}/js/libs/keycloak-js/node_modules</maven.build.cache.exclude.value.1>
23
        <!-- TODO: this is almost correct, as the DIST folder includes also two source files -->
24
        <maven.build.cache.exclude.value.2>${maven.multiModuleProjectDirectory}/js/libs/keycloak-js/dist</maven.build.cache.exclude.value.2>
25
    </properties>
26

27
    <build>
28
        <resources>
29
            <resource>
30
                <directory>${js.adapter.distDir}</directory>
31
                <includes>
32
                    <include>*.js</include>
33
                </includes>
34
            </resource>
35
        </resources>
36

37
        <plugins>
38
            <plugin>
39
                <artifactId>maven-clean-plugin</artifactId>
40
                <configuration>
41
                    <filesets>
42
                        <fileset>
43
                            <directory>${js.adapter.distDir}</directory>
44
                            <excludes>
45
                                <exclude>*.d.ts</exclude>
46
                            </excludes>
47
                        </fileset>
48
                    </filesets>
49
                </configuration>
50
            </plugin>
51
            <plugin>
52
                <groupId>com.github.eirslett</groupId>
53
                <artifactId>frontend-maven-plugin</artifactId>
54
                <executions>
55
                    <execution>
56
                        <goals>
57
                            <goal>install-node-and-pnpm</goal>
58
                        </goals>
59
                    </execution>
60
                    <execution>
61
                        <id>pnpm-install</id>
62
                        <goals>
63
                            <goal>pnpm</goal>
64
                        </goals>
65
                        <configuration>
66
                            <arguments>${pnpm.args.install}</arguments>
67
                        </configuration>
68
                    </execution>
69
                    <execution>
70
                        <id>run-build</id>
71
                        <goals>
72
                            <goal>pnpm</goal>
73
                        </goals>
74
                        <configuration>
75
                            <arguments>run build</arguments>
76
                        </configuration>
77
                    </execution>
78
                </executions>
79
                <configuration>
80
                    <workingDirectory>${js.projectDir}/libs/keycloak-js</workingDirectory>
81
                </configuration>
82
            </plugin>
83
        </plugins>
84
    </build>
85
</project>

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

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

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

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