1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
<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"> |
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> |
<modelVersion>4.0.0</modelVersion> |
5 |
<groupId>de.schmitzm</groupId> |
<groupId>de.schmitzm</groupId> |
6 |
<artifactId>schmitzm-library</artifactId> |
<artifactId>schmitzm-library</artifactId> |
7 |
<name>SCHMITZM</name> |
<name>schmitzm-library</name> |
8 |
<version>2.0.x-SNAPSHOT</version> |
<version>2.4-SNAPSHOT</version> |
9 |
<description>A jar full of utility methods for Java6, Swing, Geotools and JFreeChart</description> |
<description>A jar full of utility methods for Java6, Swing, Geotools |
10 |
|
and JFreeChart</description> |
11 |
|
|
12 |
<issueManagement> |
<issueManagement> |
13 |
<system>gforge</system> |
<system>gforge</system> |
23 |
|
|
24 |
<properties> |
<properties> |
25 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
26 |
<geotools.version>2.6.2</geotools.version> |
<geotools.version>2.6.5</geotools.version> |
27 |
</properties> |
</properties> |
28 |
|
|
29 |
<developers> |
<developers> |
64 |
<dependencies> |
<dependencies> |
65 |
|
|
66 |
<dependency> |
<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> |
<groupId>org.geotools</groupId> |
76 |
<artifactId>gt-render</artifactId> |
<artifactId>gt-render</artifactId> |
77 |
<version>${geotools.version}</version> |
<version>${geotools.version}</version> |
80 |
</dependency> |
</dependency> |
81 |
|
|
82 |
<dependency> |
<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> |
<groupId>org.geotools</groupId> |
92 |
<artifactId>gt-shapefile-renderer</artifactId> |
<artifactId>gt-shapefile-renderer</artifactId> |
93 |
<version>${geotools.version}</version> |
<version>${geotools.version}</version> |
137 |
|
|
138 |
<dependency> |
<dependency> |
139 |
<groupId>org.geotools</groupId> |
<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> |
<artifactId>gt-swing</artifactId> |
148 |
<version>${geotools.version}</version> |
<version>${geotools.version}</version> |
149 |
<type>jar</type> |
<type>jar</type> |
150 |
<scope>compile</scope> |
<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> |
</dependency> |
167 |
|
|
168 |
<dependency> |
<dependency> |
187 |
<type>jar</type> |
<type>jar</type> |
188 |
<scope>compile</scope> |
<scope>compile</scope> |
189 |
</dependency> |
</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> |
<dependency> |
200 |
<groupId>org.slf4j</groupId> |
<!-- Logging with log4j. Die MVN dependency fuer 1.2.15 ist defekt. downgraded |
201 |
<artifactId>slf4j-log4j12</artifactId> |
to 1.2.14 http://jira.codehaus.org/browse/MEV-649 --> |
|
<version>1.5.11</version> |
|
|
<type>jar</type> |
|
|
<scope>compile</scope> |
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
<!-- |
|
|
Logging with log4j. Die MVN dependency fuer 1.2.15 ist defekt. |
|
|
downgraded to 1.2.14 http://jira.codehaus.org/browse/MEV-649 |
|
|
--> |
|
202 |
<groupId>log4j</groupId> |
<groupId>log4j</groupId> |
203 |
<artifactId>log4j</artifactId> |
<artifactId>log4j</artifactId> |
204 |
<version>1.2.14</version> |
<version>1.2.14</version> |
207 |
<dependency> |
<dependency> |
208 |
<groupId>junit</groupId> |
<groupId>junit</groupId> |
209 |
<artifactId>junit</artifactId> |
<artifactId>junit</artifactId> |
210 |
<version>4.8.1</version> |
<version>4.8.2</version> |
211 |
<type>jar</type> |
<type>jar</type> |
212 |
<scope>compile</scope> |
<scope>test</scope> |
213 |
</dependency> |
</dependency> |
214 |
|
|
215 |
<dependency> |
<dependency> |
247 |
<dependency> |
<dependency> |
248 |
<groupId>com.miglayout</groupId> |
<groupId>com.miglayout</groupId> |
249 |
<artifactId>miglayout</artifactId> |
<artifactId>miglayout</artifactId> |
250 |
<version>3.7.2</version> |
<version>3.7.3</version> |
251 |
|
<classifier>swing</classifier> |
252 |
|
<scope>compile</scope> |
253 |
</dependency> |
</dependency> |
254 |
|
|
255 |
<dependency> |
<dependency> |
258 |
<version>1.1</version> |
<version>1.1</version> |
259 |
</dependency> |
</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> |
</dependencies> |
328 |
|
|
329 |
|
|
331 |
|
|
332 |
<sourceDirectory>src</sourceDirectory> |
<sourceDirectory>src</sourceDirectory> |
333 |
<testSourceDirectory>src_junit</testSourceDirectory> |
<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 |
<!-- <outputDirectory>classes</outputDirectory>--> |
<testResource> |
348 |
<!-- <testOutputDirectory>test-classes</testOutputDirectory>--> |
<directory>testresources</directory> |
349 |
<!-- <directory>dist</directory>--> |
<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 |
<finalName>schmitzm-2.0.x</finalName> |
<!-- <outputDirectory>classes</outputDirectory> --> |
362 |
|
<!-- <testOutputDirectory>test-classes</testOutputDirectory> --> |
363 |
|
<!-- <directory>dist</directory> --> |
364 |
|
|
365 |
<resources> |
<resources> |
366 |
<resource> |
<resource> |
367 |
<directory>src</directory> |
<directory>src</directory> |
368 |
<filtering>false</filtering> |
<filtering>false</filtering> |
369 |
<excludes> |
<excludes> |
|
<exclude>**/*.java</exclude> |
|
370 |
<exclude>**/*.html</exclude> |
<exclude>**/*.html</exclude> |
371 |
|
<exclude>**/*.java</exclude> |
372 |
<exclude>**/*.svn*</exclude> |
<exclude>**/*.svn*</exclude> |
373 |
<exclude>**/*.cvs</exclude> |
<exclude>**/*.cvs</exclude> |
374 |
<exclude>**/*~</exclude> |
<exclude>**/*~</exclude> |
378 |
</resources> |
</resources> |
379 |
|
|
380 |
<plugins> |
<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> |
<plugin> |
403 |
<groupId>org.apache.maven.plugins</groupId> |
<groupId>org.apache.maven.plugins</groupId> |
404 |
<artifactId>maven-source-plugin</artifactId> |
<artifactId>maven-source-plugin</artifactId> |
405 |
|
<version>2.1.1</version> |
406 |
<executions> |
<executions> |
407 |
<execution> |
<execution> |
408 |
<id>attach-sources</id> |
<id>attach-sources</id> |
420 |
<configuration> |
<configuration> |
421 |
<source>1.6</source> |
<source>1.6</source> |
422 |
<target>1.6</target> |
<target>1.6</target> |
423 |
|
<excludes> |
424 |
|
<exclude>**/.svn</exclude> <!-- ??? --> |
425 |
|
</excludes> |
426 |
</configuration> |
</configuration> |
427 |
</plugin> |
</plugin> |
428 |
|
|
436 |
</configuration> |
</configuration> |
437 |
</plugin> |
</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> |
</plugins> |
493 |
|
|
494 |
</build> |
</build> |
502 |
</snapshots> |
</snapshots> |
503 |
<id>central</id> |
<id>central</id> |
504 |
<name>libs-releases</name> |
<name>libs-releases</name> |
505 |
<url>http://www.wikisquare.de:8080/artifactory/libs-releases</url> |
<url>http://artifactory.wikisquare.de/artifactory/libs-releases</url> |
506 |
</repository> |
</repository> |
507 |
|
|
508 |
<repository> |
<repository> |
509 |
<snapshots /> |
<snapshots /> |
510 |
<id>snapshots</id> |
<id>snapshots</id> |
511 |
<name>libs-snapshots</name> |
<name>libs-snapshots</name> |
512 |
<url>http://www.wikisquare.de:8080/artifactory/libs-snapshots</url> |
<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots |
513 |
|
</url> |
514 |
</repository> |
</repository> |
515 |
|
|
516 |
</repositories> |
</repositories> |
520 |
<repository> |
<repository> |
521 |
<id>artifactory.wikisquare.de</id> |
<id>artifactory.wikisquare.de</id> |
522 |
<name>artifactory.wikisquare.de-releases</name> |
<name>artifactory.wikisquare.de-releases</name> |
523 |
<url>http://www.wikisquare.de:8080/artifactory/libs-releases-local</url> |
<url>http://artifactory.wikisquare.de/artifactory/libs-releases-local |
524 |
|
</url> |
525 |
</repository> |
</repository> |
526 |
|
|
527 |
<snapshotRepository> |
<snapshotRepository> |
528 |
<id>artifactory.wikisquare.de</id> |
<id>artifactory.wikisquare.de</id> |
529 |
<name>artifactory.wikisquare.de-snapshots</name> |
<name>artifactory.wikisquare.de-snapshots</name> |
530 |
<url>http://www.wikisquare.de:8080/artifactory/libs-snapshots-local</url> |
<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots-local |
531 |
|
</url> |
532 |
</snapshotRepository> |
</snapshotRepository> |
533 |
|
|
534 |
</distributionManagement> |
</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> |
</project> |