-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpom.xml
More file actions
186 lines (180 loc) · 8.6 KB
/
Copy pathpom.xml
File metadata and controls
186 lines (180 loc) · 8.6 KB
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<?xml version="1.0" encoding="UTF-8"?>
<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.pointblue.dirxml</groupId>
<artifactId>dirxml-simulator</artifactId>
<version>1.5.0</version>
<packaging>jar</packaging>
<name>DirXML Policy Simulator</name>
<description>Headless, agent-driven test harness for IDM (DirXML) channel policies.
Drives the engine's own policy interpreter stage-by-stage against
author-supplied inputs and an in-memory fake directory.</description>
<properties>
<maven.compiler.release>21</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<!-- NetIQ / OpenText IDM engine + support jars (proprietary; system scope, kept in lib/) -->
<dependency>
<groupId>com.netiq.idm</groupId>
<artifactId>dirxml</artifactId>
<version>4.10.1.0000</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/dirxml.jar</systemPath>
</dependency>
<dependency>
<groupId>com.netiq.idm</groupId>
<artifactId>dirxml_misc</artifactId>
<version>4.10.1.0000</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/dirxml_misc.jar</systemPath>
</dependency>
<dependency>
<groupId>com.netiq.idm</groupId>
<artifactId>nxsl</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/nxsl.jar</systemPath>
</dependency>
<dependency>
<groupId>com.netiq.idm</groupId>
<artifactId>xp</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/xp.jar</systemPath>
</dependency>
<dependency>
<groupId>com.netiq.idm</groupId>
<artifactId>CommonDriverShim</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/CommonDriverShim.jar</systemPath>
</dependency>
<dependency>
<groupId>com.netiq.idm</groupId>
<artifactId>jclient</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/jclient.jar</systemPath>
</dependency>
<dependency>
<groupId>com.netiq.idm</groupId>
<artifactId>dhutil</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/dhutil.jar</systemPath>
</dependency>
<dependency>
<groupId>com.netiq.idm</groupId>
<artifactId>XDS</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/XDS.jar</systemPath>
</dependency>
<dependency>
<!-- Repackaged Rhino (com.novell.soa.script.mozilla) for ECMAScript es: functions -->
<groupId>com.netiq.idm</groupId>
<artifactId>js</artifactId>
<version>1.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/js.jar</systemPath>
</dependency>
<dependency>
<!-- Novell/OpenText JLDAP SDK (com.novell.ldap) — only for the DxCMD
features (driver-cache read / engine submit via LDAP extended ops). -->
<groupId>com.novell.ldap</groupId>
<artifactId>jldap</artifactId>
<version>4.3</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/ldap.jar</systemPath>
</dependency>
<dependency>
<!-- PostgreSQL JDBC (open-source, BSD) — only for the EventLogger DB
event source (bin/sim dbevents). A real Maven dependency: Maven
fetches it from Central, the dependency-plugin stages it into lib/
for the bin/sim / exec-jar classpath, and build-dist bundles it in
the release (it is freely redistributable, unlike the NetIQ jars).
runtime scope — loaded via JDBC ServiceLoader, not referenced at
compile time (we use only java.sql). -->
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.7</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>dirxml-simulator-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
</plugin>
<!-- Stage the (open-source) PostgreSQL JDBC jar into lib/ so the
bin/sim `lib/*` classpath and the exec-jar Class-Path resolve it
without any manual download. Runs early (process-resources) so it
is present for any build. lib/ is gitignored. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.6.1</version>
<executions>
<execution>
<id>stage-postgresql</id>
<phase>process-resources</phase>
<goals><goal>copy</goal></goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.7</version>
<outputDirectory>${project.basedir}/lib</outputDirectory>
<destFileName>postgresql.jar</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<!-- Convenience runner for the spike / CLI during development -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<includeProjectDependencies>true</includeProjectDependencies>
<includePluginDependencies>false</includePluginDependencies>
</configuration>
</plugin>
<!-- Executable jar: `java -jar target/dirxml-simulator-<ver>.jar <cmd>`.
The proprietary NetIQ jars can't be bundled (license); the manifest
Class-Path references them in ../lib relative to target/. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>com.pointblue.dirxml.sim.Cli</mainClass>
</manifest>
<manifestEntries>
<!-- Both layouts: dev build (jar in target/, lib in ../lib)
and flat release distribution (jar + lib/ side by side).
Java ignores Class-Path entries that don't exist. -->
<Class-Path>lib/dirxml.jar lib/dirxml_misc.jar lib/nxsl.jar lib/xp.jar lib/CommonDriverShim.jar lib/jclient.jar lib/dhutil.jar lib/XDS.jar lib/js.jar lib/ldap.jar lib/postgresql.jar ../lib/dirxml.jar ../lib/dirxml_misc.jar ../lib/nxsl.jar ../lib/xp.jar ../lib/CommonDriverShim.jar ../lib/jclient.jar ../lib/dhutil.jar ../lib/XDS.jar ../lib/js.jar ../lib/ldap.jar ../lib/postgresql.jar</Class-Path>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>