This repository has been archived by the owner on Oct 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
292 lines (271 loc) · 8.79 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
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
<?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/maven-v4_0_0.xsd">
<groupId>com.jiminger</groupId>
<artifactId>utilities</artifactId>
<version>1.0-SNAPSHOT</version>
<name>Jiminger utilities (${project.version})</name>
<description>Various Utilities for coding support</description>
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
<!-- These are global dependencies -->
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
</dependencies>
<modules>
<module>lib-util</module>
<module>lib-nr</module>
<module>lib-image</module>
<module>lib-gstreamer</module>
<module>native</module>
<module>gst-breakout</module>
</modules>
<properties>
<!-- <downloadBinaries>true</downloadBinaries> -->
<build.type>debug</build.type>
<!-- This property is used in the native build to make sure the version of
OpenCV we're building against matches what we expect. -->
<opencv-base.version>3.4.3</opencv-base.version>
<opencv.version>${opencv-base.version}-cuda9.2</opencv.version>
<tensorflow.version>1.11.0</tensorflow.version>
<slf4j.version>1.7.25</slf4j.version>
<!-- generator and platform.options are set in the profile -->
<cmake.generator>${generator}</cmake.generator>
<cmake.options>${platform.option}</cmake.options>
<dempsy-commons.version>2.2.0-SNAPSHOT</dempsy-commons.version>
<commons.cli.version>1.4</commons.cli.version>
</properties>
<profiles>
<profile>
<id>linux-x86</id>
<activation>
<os>
<family>linux</family>
<arch>i386</arch>
</os>
</activation>
<properties>
<platform>linux-x86_32</platform>
<generator>Unix Makefiles</generator>
<platform.option></platform.option>
</properties>
</profile>
<profile>
<id>linux-64bit</id>
<activation>
<os>
<family>linux</family>
<arch>amd64</arch>
</os>
</activation>
<properties>
<platform>linux-x86_64</platform>
<generator>Unix Makefiles</generator>
<platform.option></platform.option>
</properties>
</profile>
<profile>
<id>windows-x86_64</id>
<activation>
<os>
<family>windows</family>
<arch>amd64</arch>
</os>
</activation>
<properties>
<platform>windows-x86_64</platform>
<platform.option>-Ax64</platform.option>
<generator>YOU MUST SPECIFY THE GENERATOR ON THE COMMAND LINE!!!! use: -Dgenerator="generator"</generator>
</properties>
</profile>
<profile>
<id>windows-x86</id>
<activation>
<os>
<family>windows</family>
<arch>x86</arch>
</os>
</activation>
<properties>
<platform>windows-x86_32</platform>
<generator>YOU MUST SPECIFY THE GENERATOR ON THE COMMAND LINE!!!! use: -Dgenerator="generator"</generator>
<platform.option></platform.option>
</properties>
</profile>
</profiles>
<!-- Make sure all versions are listed in the dependencyManagement section -->
<!-- It is WRONG to have ANY version numbers in pom.xml files below the product level
(with the exception of the parent tag) -->
<dependencyManagement>
<dependencies>
<!-- dempsy-commons bom pom import -->
<dependency>
<groupId>net.dempsy</groupId>
<artifactId>dempsy-commons-bom</artifactId>
<version>${dempsy-commons.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.jiminger</groupId>
<artifactId>opencv-lib-jar</artifactId>
<classifier>withlib</classifier>
<version>${opencv.version}</version>
</dependency>
<dependency>
<groupId>com.jiminger</groupId>
<artifactId>tensorflow-lib-jar</artifactId>
<classifier>withlib</classifier>
<version>${tensorflow.version}</version>
</dependency>
<!-- Internal to the product -->
<dependency>
<groupId>com.jiminger</groupId>
<artifactId>lib-util</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.jiminger</groupId>
<artifactId>lib-nr</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.jiminger</groupId>
<artifactId>lib-image</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.jiminger</groupId>
<artifactId>native-lib</artifactId>
<classifier>${platform}</classifier>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.jiminger</groupId>
<artifactId>gst-breakout</artifactId>
<classifier>${platform}</classifier>
<version>${project.version}</version>
</dependency>
<!-- the version number for all dependencies in this section
should all be ${project.version} -->
<!-- Third party library versions -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.freedesktop.gstreamer</groupId>
<artifactId>gst1-java-core</artifactId>
<version>0.9.3</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency> <!-- Requirement of using the NativeLibraryLoader from Dempsy -->
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>4.5.1</version>
</dependency>
<!-- Testing -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
</dependency>
</dependencies>
</dependencyManagement>
<scm>
<developerConnection>scm:git:[email protected]:jimfcarroll/utilities.git</developerConnection>
<tag>master</tag>
<url>https://github.com/jimfcarroll/utilities</url>
</scm>
<distributionManagement>
<repository>
<id>${utilities.distribution.release.repo.id}</id>
<name>Utilities release</name>
<url>${utilities.distribution.release.repo.url}</url>
</repository>
<snapshotRepository>
<id>${utilities.distribution.snapshot.repo.id}</id>
<name>Utilities snapshot</name>
<url>${utilities.distribution.snapshot.repo.url}</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>maven-eclipse-repo</id>
<url>http://maven-eclipse.github.io/maven</url>
</repository>
</repositories>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.5</version>
<configuration>
<minmemory>128m</minmemory>
<maxmemory>512m</maxmemory>
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</reporting>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.21.0</version>
</plugin>
</plugins>
</pluginManagement>
<resources>
<resource>
<directory>src/main/java</directory>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/java</directory>
</testResource>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<debug>true</debug>
</configuration>
</plugin>
</plugins>
</build>
</project>