forked from n2ygk/forgerock-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
135 lines (119 loc) · 5.9 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
131
132
133
134
135
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2015 ForgeRock AS. All rights reserved. -->
<!-- This is a POM that can assist in downloading assets -->
<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.forgerock.docker</groupId>
<artifactId>docker</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<description>
Copy ForgeRock software for creating Docker images.
Run this using: $mvn package
</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!--
Where to copy SNAPSHOT software. Default is local directory ./staging
-->
<softwareDir>./staging</softwareDir>
<!-- SNAPSHOT software versions. -->
<openamVersion>14.0.0-SNAPSHOT</openamVersion>
<opendjVersion>4.0.0-SNAPSHOT</opendjVersion>
<openidmVersion>5.0.0-SNAPSHOT</openidmVersion>
<openigVersion>5.0.0-SNAPSHOT</openigVersion>
</properties>
<repositories>
<repository>
<id>forgerock-staging-repository</id>
<name>ForgeRock Release Repository</name>
<url>https://maven.forgerock.org/repo/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>forgerock-snapshots-repository</id>
<name>ForgeRock Snapshot Repository</name>
<url>https://maven.forgerock.org/repo/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy-forgerock-snapshot-software</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<overWriteIfNewer>true</overWriteIfNewer>
<artifactItems>
<!-- OpenAM -->
<artifactItem>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-server</artifactId>
<version>${openamVersion}</version>
<type>war</type>
<outputDirectory>openam</outputDirectory>
<destFileName>openam.war</destFileName>
</artifactItem>
<artifactItem>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-distribution-ssoadmintools</artifactId>
<version>${openamVersion}</version>
<type>zip</type>
<outputDirectory>ssoadm</outputDirectory>
<destFileName>ssoadmintools.zip</destFileName>
</artifactItem>
<artifactItem>
<groupId>org.forgerock.openam</groupId>
<artifactId>openam-distribution-ssoconfiguratortools</artifactId>
<version>${openamVersion}</version>
<type>zip</type>
<outputDirectory>ssoconfig</outputDirectory>
<destFileName>ssoconfigtools.zip</destFileName>
</artifactItem>
<artifactItem>
<groupId>org.forgerock.opendj</groupId>
<artifactId>opendj-server-legacy</artifactId>
<version>${opendjVersion}</version>
<type>zip</type>
<outputDirectory>opendj</outputDirectory>
<destFileName>opendj.zip</destFileName>
</artifactItem>
<!-- OpenIDM -->
<artifactItem>
<groupId>org.forgerock.openidm</groupId>
<artifactId>openidm-zip</artifactId>
<version>${openidmVersion}</version>
<type>zip</type>
<outputDirectory>openidm</outputDirectory>
<destFileName>openidm.zip</destFileName>
</artifactItem>
<artifactItem>
<groupId>org.forgerock.openig</groupId>
<artifactId>openig-war</artifactId>
<version>${openigVersion}</version>
<type>war</type>
<outputDirectory>openig</outputDirectory>
<destFileName>openig.war</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>