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