-
Notifications
You must be signed in to change notification settings - Fork 188
/
pom.xml
130 lines (123 loc) · 5.52 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0"?>
<!--
~ Copyright (c) 2010-2018 Evolveum and contributors
~
~ This work is dual-licensed under the Apache License 2.0
~ and European Union Public License. See LICENSE file for details.
-->
<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>
<parent>
<artifactId>infra</artifactId>
<groupId>com.evolveum.midpoint.infra</groupId>
<version>4.2-SNAPSHOT</version>
</parent>
<artifactId>prism-api</artifactId>
<name>midPoint Infrastructure - prism-api</name>
<properties>
<maven.test.skip>true</maven.test.skip>
</properties>
<dependencies>
<dependency>
<groupId>com.evolveum.midpoint.infra</groupId>
<artifactId>util</artifactId>
<version>4.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics-runtime</artifactId>
</dependency>
<dependency>
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Code generator may be used in Prism in the "pure" form without any prism-specific plugins.
This creates the classes for basic (almost-primitive) data types such as PolyStringType.
But ... the JAXB-generated classes are not that useful. They may reflect the schema well, but
there are glitches. E.g. the JAXB classes generated for query namespace are completely useless.
The default JAXB-generated class for PolyStringType is also useless. Therefore the classes that
were generated from the schema are copied to the "main" source tree in the form that suits us
better than just blindly following the schema. Therefore the following plugin is commented out.
It may be used in case that the schemas change and we need to re-generate and re-tweak them.
But the plugin should be disabled during normal build. -->
<!-- <plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.8.0</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<verbose>true</verbose>
<catalog>src/main/resources/META-INF/catalog.xml</catalog>
<extension>true</extension>
<schemaDirectory>src/main/resources/xml/ns/public</schemaDirectory>
<generateDirectory>${project.build.directory}/generated-sources/xjc</generateDirectory>
</configuration>
</execution>
</executions>
</plugin> -->
<!--
Following plugin generates the JAXB classes for prism tests.
We can't really test full JAXB capabilities here as we get the proper JAXB plugin code
only after Prism is compiled.
This plugin is not really needed during normal build.
The classes that we need are hard-copied into the prism test source tree.
Disabling this plugin speeds up the compilation. -->
<!--
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.8.0</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<verbose>true</verbose>
<catalog>src/main/resources/META-INF/catalog.xml</catalog>
<extension>true</extension>
<schemaDirectory>src/main/resources/xml/ns/test</schemaDirectory>
<generateDirectory>${project.build.directory}/generated-sources/xjc</generateDirectory>
</configuration>
</execution>
</executions>
</plugin> -->
</plugins>
</build>
</project>