/
pom.xml
118 lines (111 loc) · 4.75 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2019 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>midpoint</artifactId>
<groupId>com.evolveum.midpoint</groupId>
<version>4.2-M3</version>
</parent>
<artifactId>dist</artifactId>
<packaging>pom</packaging>
<name>midPoint Distribution</name>
<modules>
<module>midpoint-api</module>
<module>javadoc</module>
</modules>
<dependencies>
<dependency>
<groupId>com.evolveum.midpoint.gui</groupId>
<artifactId>admin-gui</artifactId>
<version>4.2-M3</version>
<type>war</type>
<classifier>executable</classifier>
</dependency>
<dependency>
<groupId>com.evolveum.midpoint.tools</groupId>
<artifactId>ninja</artifactId>
<version>4.2-M3</version>
</dependency>
<dependency>
<groupId>com.evolveum.midpoint</groupId>
<artifactId>midpoint-samples</artifactId>
<version>${project.version}</version>
</dependency>
<dependency><!-- Not used, but required for surefire plugin not to complain -->
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.evolveum.midpoint.tools</groupId>
<artifactId>test-ng</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<!-- Used to pull XSD files from the JAR -->
<groupId>com.evolveum.midpoint.tools</groupId>
<artifactId>schema-dist-maven-plugin</artifactId>
<version>4.2-M3</version>
<executions>
<execution>
<id>schemadist-prism</id>
<phase>initialize</phase>
<goals>
<goal>schemadist</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.evolveum.midpoint.infra</groupId>
<artifactId>prism-impl</artifactId>
<version>${project.version}</version>
<type>jar</type>
<!-- no catalog (the one in schema suffices) -->
</artifactItem>
<artifactItem>
<groupId>com.evolveum.midpoint.infra</groupId>
<artifactId>schema</artifactId>
<version>${project.version}</version>
<type>jar</type>
<catalog>META-INF/catalog-schema-dist.xml</catalog>
</artifactItem>
</artifactItems>
<includes>**/*.xsd,**/*.dtd,**/*.wsdl,META-INF/*</includes>
<excludes>xml/ns/test/**,xml/ns/private/**,prism-impl/**</excludes>
<outputDirectory>${project.basedir}/target/schemadist</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<descriptors>
<descriptor>src/main/assembly/dist.xml</descriptor>
</descriptors>
<finalName>midpoint-${project.version}</finalName>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
<executions>
<execution>
<id>dist-assembly</id>
<phase>package</phase> <!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>