1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 |
|
4 |
<modelVersion>4.0.0</modelVersion> |
5 |
<groupId>de.schmitzm</groupId> |
6 |
<artifactId>schmitzm-library</artifactId> |
7 |
<name>schmitzm-library</name> |
8 |
<version>2.4-SNAPSHOT</version> |
9 |
<description>A jar full of utility methods for Java6, Swing, Geotools and JFreeChart</description> |
10 |
|
11 |
<issueManagement> |
12 |
<system>gforge</system> |
13 |
<url>http://wald.intevation.org/tracker/?group_id=47</url> |
14 |
</issueManagement> |
15 |
|
16 |
<licenses> |
17 |
<license> |
18 |
<name>Lesser General Public License (LGPL)</name> |
19 |
<url>http://www.gnu.org/copyleft/lgpl.txt</url> |
20 |
</license> |
21 |
</licenses> |
22 |
|
23 |
<properties> |
24 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
25 |
<geotools.version>2.6.5</geotools.version> |
26 |
</properties> |
27 |
|
28 |
<developers> |
29 |
<developer> |
30 |
<id>mschmitz</id> |
31 |
<name>Martin Schmitz</name> |
32 |
<timezone>GMT+1</timezone> |
33 |
<roles> |
34 |
<role>Developer</role> |
35 |
</roles> |
36 |
</developer> |
37 |
<developer> |
38 |
<id>alfonx</id> |
39 |
<name>Stefan A. Tzeggai</name> |
40 |
<email>[email protected]</email> |
41 |
<url>http://www.wikisquare.de</url> |
42 |
<organization>Wikisquare.de</organization> |
43 |
<organizationUrl>http://www.wikisquare.de</organizationUrl> |
44 |
<timezone>GMT+1</timezone> |
45 |
<roles> |
46 |
<role>Developer</role> |
47 |
<role>Maven package maintainer</role> |
48 |
</roles> |
49 |
</developer> |
50 |
</developers> |
51 |
|
52 |
<scm> |
53 |
<connection>scm:https://svn.wald.intevation.org/svn/schmitzm</connection> |
54 |
<url>https://svn.wald.intevation.org/svn/schmitzm/trunk</url> |
55 |
<developerConnection>svn+ssh://developername@svn.wald.intevation.org/schmitzm/trunk</developerConnection> |
56 |
</scm> |
57 |
|
58 |
<organization> |
59 |
<url>http://www.wikisquare.de</url> |
60 |
</organization> |
61 |
|
62 |
|
63 |
<dependencies> |
64 |
|
65 |
<dependency> |
66 |
<groupId>javax.jnlp</groupId> |
67 |
<artifactId>jnlp</artifactId> |
68 |
<version>1.6</version> |
69 |
<type>jar</type> |
70 |
<scope>compile</scope> |
71 |
</dependency> |
72 |
|
73 |
<dependency> |
74 |
<groupId>org.geotools</groupId> |
75 |
<artifactId>gt-render</artifactId> |
76 |
<version>${geotools.version}</version> |
77 |
<type>jar</type> |
78 |
<scope>compile</scope> |
79 |
</dependency> |
80 |
|
81 |
<dependency> |
82 |
<groupId>org.geotools.xsd</groupId> |
83 |
<artifactId>gt-xsd-sld</artifactId> |
84 |
<version>${geotools.version}</version> |
85 |
<type>jar</type> |
86 |
<scope>compile</scope> |
87 |
</dependency> |
88 |
|
89 |
<dependency> |
90 |
<groupId>org.geotools</groupId> |
91 |
<artifactId>gt-shapefile-renderer</artifactId> |
92 |
<version>${geotools.version}</version> |
93 |
<type>jar</type> |
94 |
<scope>compile</scope> |
95 |
</dependency> |
96 |
|
97 |
<dependency> |
98 |
<groupId>org.geotools</groupId> |
99 |
<artifactId>gt-legacy</artifactId> |
100 |
<version>${geotools.version}</version> |
101 |
<type>jar</type> |
102 |
<scope>compile</scope> |
103 |
</dependency> |
104 |
|
105 |
<dependency> |
106 |
<groupId>org.geotools</groupId> |
107 |
<artifactId>gt-brewer</artifactId> |
108 |
<version>${geotools.version}</version> |
109 |
<type>jar</type> |
110 |
<scope>compile</scope> |
111 |
</dependency> |
112 |
|
113 |
<dependency> |
114 |
<groupId>org.geotools</groupId> |
115 |
<artifactId>gt-image</artifactId> |
116 |
<version>${geotools.version}</version> |
117 |
<type>jar</type> |
118 |
<scope>compile</scope> |
119 |
</dependency> |
120 |
|
121 |
<dependency> |
122 |
<groupId>org.geotools</groupId> |
123 |
<artifactId>gt-coverage</artifactId> |
124 |
<version>${geotools.version}</version> |
125 |
<type>jar</type> |
126 |
<scope>compile</scope> |
127 |
</dependency> |
128 |
|
129 |
<dependency> |
130 |
<groupId>org.geotools</groupId> |
131 |
<artifactId>gt-geotiff</artifactId> |
132 |
<version>${geotools.version}</version> |
133 |
<type>jar</type> |
134 |
<scope>compile</scope> |
135 |
</dependency> |
136 |
|
137 |
<dependency> |
138 |
<groupId>org.geotools</groupId> |
139 |
<artifactId>gt-wfs</artifactId> |
140 |
<version>${geotools.version}</version> |
141 |
<type>jar</type> |
142 |
</dependency> |
143 |
|
144 |
<dependency> |
145 |
<groupId>org.geotools</groupId> |
146 |
<artifactId>gt-swing</artifactId> |
147 |
<version>${geotools.version}</version> |
148 |
<type>jar</type> |
149 |
<scope>compile</scope> |
150 |
</dependency> |
151 |
|
152 |
<dependency> |
153 |
<groupId>javax.mail</groupId> |
154 |
<artifactId>mail</artifactId> |
155 |
<version>1.4.1</version> |
156 |
<type>jar</type> |
157 |
<scope>compile</scope> |
158 |
</dependency> |
159 |
|
160 |
<dependency> |
161 |
<groupId>jfree</groupId> |
162 |
<artifactId>jfreechart</artifactId> |
163 |
<version>1.0.13</version> |
164 |
<scope>compile</scope> |
165 |
</dependency> |
166 |
|
167 |
<dependency> |
168 |
<groupId>org.geotools</groupId> |
169 |
<artifactId>gt-main</artifactId> |
170 |
<version>${geotools.version}</version> |
171 |
<type>jar</type> |
172 |
<scope>compile</scope> |
173 |
</dependency> |
174 |
|
175 |
<dependency> |
176 |
<groupId>org.geotools</groupId> |
177 |
<artifactId>gt-arcgrid</artifactId> |
178 |
<version>${geotools.version}</version> |
179 |
<type>jar</type> |
180 |
<scope>compile</scope> |
181 |
</dependency> |
182 |
|
183 |
<dependency> |
184 |
<groupId>org.slf4j</groupId> |
185 |
<artifactId>slf4j-log4j12</artifactId> |
186 |
<version>1.5.11</version> |
187 |
<type>jar</type> |
188 |
<scope>compile</scope> |
189 |
</dependency> |
190 |
|
191 |
<dependency> |
192 |
<!-- Logging with log4j. Die MVN dependency fuer 1.2.15 ist defekt. downgraded |
193 |
to 1.2.14 http://jira.codehaus.org/browse/MEV-649 --> |
194 |
<groupId>log4j</groupId> |
195 |
<artifactId>log4j</artifactId> |
196 |
<version>1.2.14</version> |
197 |
</dependency> |
198 |
|
199 |
<dependency> |
200 |
<groupId>junit</groupId> |
201 |
<artifactId>junit</artifactId> |
202 |
<version>4.8.1</version> |
203 |
<type>jar</type> |
204 |
<scope>test</scope> |
205 |
</dependency> |
206 |
|
207 |
<dependency> |
208 |
<groupId>colt</groupId> |
209 |
<artifactId>colt</artifactId> |
210 |
<version>1.2.0</version> |
211 |
<type>jar</type> |
212 |
<scope>compile</scope> |
213 |
</dependency> |
214 |
|
215 |
<dependency> |
216 |
<groupId>javax.media</groupId> |
217 |
<artifactId>jai_core</artifactId> |
218 |
<version>1.1.3</version> |
219 |
<type>jar</type> |
220 |
<scope>compile</scope> |
221 |
</dependency> |
222 |
|
223 |
<dependency> |
224 |
<groupId>commons-io</groupId> |
225 |
<artifactId>commons-io</artifactId> |
226 |
<version>1.4</version> |
227 |
<type>jar</type> |
228 |
<scope>compile</scope> |
229 |
</dependency> |
230 |
|
231 |
<dependency> |
232 |
<groupId>net.jini</groupId> |
233 |
<artifactId>jini-ext</artifactId> |
234 |
<version>2.1</version> |
235 |
<type>jar</type> |
236 |
<scope>compile</scope> |
237 |
</dependency> |
238 |
|
239 |
<dependency> |
240 |
<groupId>com.miglayout</groupId> |
241 |
<artifactId>miglayout</artifactId> |
242 |
<version>3.7.3</version> |
243 |
</dependency> |
244 |
|
245 |
<dependency> |
246 |
<groupId>org.jdom</groupId> |
247 |
<artifactId>jdom</artifactId> |
248 |
<version>1.1</version> |
249 |
</dependency> |
250 |
|
251 |
<dependency> |
252 |
<groupId>jfree</groupId> |
253 |
<artifactId>jcommon</artifactId> |
254 |
<version>1.0.15</version> |
255 |
<type>jar</type> |
256 |
<scope>compile</scope> |
257 |
</dependency> |
258 |
|
259 |
<dependency> |
260 |
<!-- Fuer Sonderzeichenbehandlung --> |
261 |
<groupId>ant-contrib</groupId> |
262 |
<artifactId>ant-contrib</artifactId> |
263 |
<version>1.0b3</version> |
264 |
<type>jar</type> |
265 |
<scope>provided</scope> |
266 |
</dependency> |
267 |
|
268 |
<dependency> |
269 |
<!-- Fuer Sonderzeichenbehandlung --> |
270 |
<groupId>ant</groupId> |
271 |
<artifactId>ant-nodeps</artifactId> |
272 |
<version>1.6.5</version> |
273 |
<scope>provided</scope> |
274 |
</dependency> |
275 |
|
276 |
<dependency> |
277 |
<!-- Fuer Sonderzeichenbehandlung --> |
278 |
<groupId>com.sun</groupId> |
279 |
<artifactId>tools</artifactId> |
280 |
<version>1.6.0</version> |
281 |
<scope>system</scope> |
282 |
<systemPath>${java.home}/../lib/tools.jar</systemPath> |
283 |
</dependency> |
284 |
|
285 |
<dependency> |
286 |
<groupId>org.geotools.jdbc</groupId> |
287 |
<artifactId>gt-jdbc-postgis</artifactId> |
288 |
<version>${geotools.version}</version> |
289 |
<type>jar</type> |
290 |
<scope>compile</scope> |
291 |
</dependency> |
292 |
|
293 |
<dependency> |
294 |
<groupId>commons-cli</groupId> |
295 |
<artifactId>commons-cli</artifactId> |
296 |
<version>1.2</version> |
297 |
<type>jar</type> |
298 |
<scope>compile</scope> |
299 |
</dependency> |
300 |
</dependencies> |
301 |
|
302 |
|
303 |
<build> |
304 |
|
305 |
<sourceDirectory>src</sourceDirectory> |
306 |
<testSourceDirectory>src_junit</testSourceDirectory> |
307 |
<testResources> |
308 |
<testResource> |
309 |
<directory>src_junit</directory> |
310 |
<filtering>false</filtering> |
311 |
<excludes> |
312 |
<exclude>**/*.java</exclude> |
313 |
<exclude>**/*.svn*</exclude> |
314 |
<exclude>**/*.cvs</exclude> |
315 |
<exclude>**/*~</exclude> |
316 |
<exclude>**/Thumbs.db</exclude> |
317 |
</excludes> |
318 |
</testResource> |
319 |
|
320 |
<testResource> |
321 |
<directory>testresources</directory> |
322 |
<filtering>false</filtering> |
323 |
<excludes> |
324 |
<exclude>**/*.java</exclude> |
325 |
<exclude>**/*.svn*</exclude> |
326 |
<exclude>**/*.cvs</exclude> |
327 |
<exclude>**/*~</exclude> |
328 |
<exclude>**/Thumbs.db</exclude> |
329 |
</excludes> |
330 |
</testResource> |
331 |
|
332 |
</testResources> |
333 |
|
334 |
<!-- <outputDirectory>classes</outputDirectory> --> |
335 |
<!-- <testOutputDirectory>test-classes</testOutputDirectory> --> |
336 |
<!-- <directory>dist</directory> --> |
337 |
|
338 |
<resources> |
339 |
<resource> |
340 |
<directory>src</directory> |
341 |
<filtering>false</filtering> |
342 |
<excludes> |
343 |
<exclude>**/*.html</exclude> |
344 |
<exclude>**/*.java</exclude> |
345 |
<exclude>**/*.svn*</exclude> |
346 |
<exclude>**/*.cvs</exclude> |
347 |
<exclude>**/*~</exclude> |
348 |
<exclude>**/Thumbs.db</exclude> |
349 |
</excludes> |
350 |
</resource> |
351 |
</resources> |
352 |
|
353 |
<plugins> |
354 |
|
355 |
<plugin> |
356 |
<groupId>org.apache.maven.plugins</groupId> |
357 |
<artifactId>maven-jar-plugin</artifactId> |
358 |
<version>2.3.1</version> |
359 |
<executions> |
360 |
<execution> |
361 |
<goals> |
362 |
<goal>test-jar</goal> |
363 |
<goal>jar</goal> |
364 |
</goals> |
365 |
</execution> |
366 |
</executions> |
367 |
</plugin> |
368 |
|
369 |
<plugin> |
370 |
<groupId>org.apache.maven.plugins</groupId> |
371 |
<artifactId>maven-resources-plugin</artifactId> |
372 |
<version>2.4.2</version> |
373 |
</plugin> |
374 |
|
375 |
<plugin> |
376 |
<groupId>org.apache.maven.plugins</groupId> |
377 |
<artifactId>maven-source-plugin</artifactId> |
378 |
<version>2.1.1</version> |
379 |
<executions> |
380 |
<execution> |
381 |
<id>attach-sources</id> |
382 |
<goals> |
383 |
<goal>jar</goal> |
384 |
</goals> |
385 |
</execution> |
386 |
</executions> |
387 |
</plugin> |
388 |
|
389 |
<plugin> |
390 |
<groupId>org.apache.maven.plugins</groupId> |
391 |
<artifactId>maven-compiler-plugin</artifactId> |
392 |
<version>2.2</version> |
393 |
<configuration> |
394 |
<source>1.6</source> |
395 |
<target>1.6</target> |
396 |
<excludes> |
397 |
<exclude>**/.svn</exclude> <!-- ??? --> |
398 |
</excludes> |
399 |
</configuration> |
400 |
</plugin> |
401 |
|
402 |
<plugin> |
403 |
<groupId>org.apache.maven.plugins</groupId> |
404 |
<artifactId>maven-eclipse-plugin</artifactId> |
405 |
<version>2.8</version> |
406 |
<configuration> |
407 |
<downloadSources>true</downloadSources> |
408 |
<downloadJavadocs>false</downloadJavadocs> |
409 |
</configuration> |
410 |
</plugin> |
411 |
|
412 |
|
413 |
|
414 |
<plugin> |
415 |
<artifactId>maven-antrun-plugin</artifactId> |
416 |
<version>1.3</version> |
417 |
|
418 |
<executions> |
419 |
<execution> |
420 |
<phase>compile</phase> |
421 |
<goals> |
422 |
<goal>run</goal> |
423 |
</goals> |
424 |
<configuration> |
425 |
|
426 |
<tasks> |
427 |
<taskdef resource="net/sf/antcontrib/antlib.xml"> |
428 |
<classpath refid="maven.dependency.classpath" /> |
429 |
</taskdef> |
430 |
|
431 |
<typedef name="native2ascii" |
432 |
classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii"> |
433 |
<classpath refid="maven.dependency.classpath" /> |
434 |
</typedef> |
435 |
|
436 |
<for param="file" |
437 |
description="Alle .properties nach .propertieNative umbenennen"> |
438 |
<path> |
439 |
<fileset dir="src" includes="**/*.properties" /> |
440 |
</path> |
441 |
<sequential> |
442 |
<move file="@{file}" overwrite="true" tofile="@{file}Native" |
443 |
verbose="false" preservelastmodified="true" /> |
444 |
</sequential> |
445 |
</for> |
446 |
|
447 |
<native2ascii encoding="UTF8" src="src" |
448 |
includes="**/*.propertiesNative" dest="src" ext=".properties" /> |
449 |
|
450 |
<for param="file"> |
451 |
<path> |
452 |
<fileset dir="src" includes="**/*.propertiesNative" /> |
453 |
</path> |
454 |
<sequential> |
455 |
<delete file="@{file}" quiet="true" /> |
456 |
</sequential> |
457 |
</for> |
458 |
|
459 |
</tasks> |
460 |
</configuration> |
461 |
</execution> |
462 |
</executions> |
463 |
</plugin> |
464 |
|
465 |
</plugins> |
466 |
|
467 |
</build> |
468 |
|
469 |
|
470 |
<repositories> |
471 |
|
472 |
<repository> |
473 |
<snapshots> |
474 |
<enabled>false</enabled> |
475 |
</snapshots> |
476 |
<id>central</id> |
477 |
<name>libs-releases</name> |
478 |
<url>http://artifactory.wikisquare.de/artifactory/libs-releases</url> |
479 |
</repository> |
480 |
|
481 |
<repository> |
482 |
<snapshots /> |
483 |
<id>snapshots</id> |
484 |
<name>libs-snapshots</name> |
485 |
<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots</url> |
486 |
</repository> |
487 |
|
488 |
</repositories> |
489 |
|
490 |
<distributionManagement> |
491 |
|
492 |
<repository> |
493 |
<id>artifactory.wikisquare.de</id> |
494 |
<name>artifactory.wikisquare.de-releases</name> |
495 |
<url>http://artifactory.wikisquare.de/artifactory/libs-releases-local</url> |
496 |
</repository> |
497 |
|
498 |
<snapshotRepository> |
499 |
<id>artifactory.wikisquare.de</id> |
500 |
<name>artifactory.wikisquare.de-snapshots</name> |
501 |
<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots-local</url> |
502 |
</snapshotRepository> |
503 |
|
504 |
</distributionManagement> |
505 |
<profiles> |
506 |
<profile> |
507 |
<id>resourceOperationRemove</id> |
508 |
<!-- When this profile is activated (e.g with "mavn install -P resourceOperationRemove" |
509 |
the build will remove any lines in the resource bundes that are tagged with |
510 |
REMOVEME_ --> |
511 |
<build> |
512 |
<plugins> |
513 |
<plugin> |
514 |
<groupId>org.codehaus.mojo</groupId> |
515 |
<artifactId>exec-maven-plugin</artifactId> |
516 |
<version>1.2</version> |
517 |
<executions> |
518 |
<execution> |
519 |
<phase>generate-sources</phase> |
520 |
<goals> |
521 |
<goal>java</goal> |
522 |
</goals> |
523 |
<configuration> |
524 |
<mainClass>schmitzm.lang.ResourceProviderOperator</mainClass> |
525 |
<arguments> |
526 |
<argument>-s</argument> |
527 |
<argument>${project.build.directory}/../src</argument> |
528 |
<argument>-b</argument> |
529 |
<argument>schmitzm.geotools.gui.resource.locales.GTResourceBundle;schmitzm.swing.resource.locales.SwingResourceBundle;schmitzm.geotools.feature.resource.locales.FeatureResourceBundle;schmitzm.jfree.resource.locales.JFreeResourceBundle;schmitzm.lang.resource.locales.LangResourceBundle;schmitzm.mail.resource.locales.MailResourceBundle;schmitzm.data.resource.locales.DataResourceBundle</argument> |
530 |
</arguments> |
531 |
</configuration> |
532 |
</execution> |
533 |
</executions> |
534 |
</plugin> |
535 |
</plugins> |
536 |
</build> |
537 |
</profile> |
538 |
</profiles> |
539 |
|
540 |
|
541 |
</project> |