/[schmitzm]/branches/2.4.x/pom.xml
ViewVC logotype

Diff of /branches/2.4.x/pom.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 847 by alfonx, Wed May 19 12:49:03 2010 UTC revision 1336 by alfonx, Tue Dec 7 15:54:02 2010 UTC
# Line 1  Line 1 
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.2-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>
# Line 21  Line 23 
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.4</geotools.version>                  <geotools.version>2.6.5</geotools.version>
27          </properties>          </properties>
28    
29          <developers>          <developers>
# Line 62  Line 64 
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>
# Line 70  Line 80 
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>
# Line 119  Line 137 
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>
# Line 147  Line 187 
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>
# Line 169  Line 207 
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>
# Line 189  Line 227 
227                          <type>jar</type>                          <type>jar</type>
228                          <scope>compile</scope>                          <scope>compile</scope>
229                  </dependency>                  </dependency>
230                    
231                  <dependency>                  <dependency>
232                          <groupId>commons-io</groupId>                          <groupId>commons-io</groupId>
233                          <artifactId>commons-io</artifactId>                          <artifactId>commons-io</artifactId>
# Line 209  Line 247 
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>
# Line 225  Line 265 
265                          <type>jar</type>                          <type>jar</type>
266                          <scope>compile</scope>                          <scope>compile</scope>
267                  </dependency>                  </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          </dependencies>          </dependencies>
311    
312    
# Line 244  Line 326 
326                                          <exclude>**/Thumbs.db</exclude>                                          <exclude>**/Thumbs.db</exclude>
327                                  </excludes>                                  </excludes>
328                          </testResource>                          </testResource>
329    
330                            <testResource>
331                                    <directory>testresources</directory>
332                                    <filtering>false</filtering>
333                                    <excludes>
334                                            <exclude>**/*.java</exclude>
335                                            <exclude>**/*.svn*</exclude>
336                                            <exclude>**/*.cvs</exclude>
337                                            <exclude>**/*~</exclude>
338                                            <exclude>**/Thumbs.db</exclude>
339                                    </excludes>
340                            </testResource>
341    
342                  </testResources>                  </testResources>
343    
344                  <!--    <outputDirectory>classes</outputDirectory>-->                  <!-- <outputDirectory>classes</outputDirectory> -->
345                  <!--    <testOutputDirectory>test-classes</testOutputDirectory>-->                  <!-- <testOutputDirectory>test-classes</testOutputDirectory> -->
346                  <!--    <directory>dist</directory>-->                  <!-- <directory>dist</directory> -->
347    
348                  <resources>                  <resources>
349                          <resource>                          <resource>
# Line 269  Line 364 
364    
365                          <plugin>                          <plugin>
366                                  <groupId>org.apache.maven.plugins</groupId>                                  <groupId>org.apache.maven.plugins</groupId>
367                                    <artifactId>maven-jar-plugin</artifactId>
368                                    <version>2.3.1</version>
369                                    <executions>
370                                            <execution>
371                                                    <goals>
372                                                            <goal>test-jar</goal>
373                                                            <goal>jar</goal>
374                                                    </goals>
375                                            </execution>
376                                    </executions>
377                            </plugin>
378    
379                            <plugin>
380                                    <groupId>org.apache.maven.plugins</groupId>
381                                  <artifactId>maven-resources-plugin</artifactId>                                  <artifactId>maven-resources-plugin</artifactId>
382                                  <version>2.4.2</version>                                  <version>2.4.2</version>
383                          </plugin>                          </plugin>
# Line 310  Line 419 
419                                  </configuration>                                  </configuration>
420                          </plugin>                          </plugin>
421    
422    
423    
424                            <plugin>
425                                    <artifactId>maven-antrun-plugin</artifactId>
426                                    <version>1.3</version>
427    
428                                    <executions>
429                                            <execution>
430                                                    <phase>compile</phase>
431                                                    <goals>
432                                                            <goal>run</goal>
433                                                    </goals>
434                                                    <configuration>
435    
436                                                            <tasks>
437                                                                    <taskdef resource="net/sf/antcontrib/antlib.xml">
438                                                                            <classpath refid="maven.dependency.classpath" />
439                                                                    </taskdef>
440    
441                                                                    <typedef name="native2ascii"
442                                                                            classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii">
443                                                                            <classpath refid="maven.dependency.classpath" />
444                                                                    </typedef>
445    
446                                                                    <for param="file"
447                                                                            description="Alle .properties nach .propertieNative umbenennen">
448                                                                            <path>
449                                                                                    <fileset dir="src" includes="**/*.properties" />
450                                                                            </path>
451                                                                            <sequential>
452                                                                                    <move file="@{file}" overwrite="true" tofile="@{file}Native"
453                                                                                            verbose="false" preservelastmodified="true" />
454                                                                            </sequential>
455                                                                    </for>
456    
457                                                                    <native2ascii encoding="UTF8" src="src"
458                                                                            includes="**/*.propertiesNative" dest="src" ext=".properties" />
459    
460                                                                    <for param="file">
461                                                                            <path>
462                                                                                    <fileset dir="src" includes="**/*.propertiesNative" />
463                                                                            </path>
464                                                                            <sequential>
465                                                                                    <delete file="@{file}" quiet="true" />
466                                                                            </sequential>
467                                                                    </for>
468    
469                                                            </tasks>
470                                                    </configuration>
471                                            </execution>
472                                    </executions>
473                            </plugin>
474    
475                  </plugins>                  </plugins>
476    
477          </build>          </build>
# Line 323  Line 485 
485                          </snapshots>                          </snapshots>
486                          <id>central</id>                          <id>central</id>
487                          <name>libs-releases</name>                          <name>libs-releases</name>
488                          <url>http://www.wikisquare.de:8080/artifactory/libs-releases</url>                          <url>http://artifactory.wikisquare.de/artifactory/libs-releases</url>
489                  </repository>                  </repository>
490    
491                  <repository>                  <repository>
492                          <snapshots />                          <snapshots />
493                          <id>snapshots</id>                          <id>snapshots</id>
494                          <name>libs-snapshots</name>                          <name>libs-snapshots</name>
495                          <url>http://www.wikisquare.de:8080/artifactory/libs-snapshots</url>                          <url>http://artifactory.wikisquare.de/artifactory/libs-snapshots
496                            </url>
497                  </repository>                  </repository>
498    
499          </repositories>          </repositories>
# Line 340  Line 503 
503                  <repository>                  <repository>
504                          <id>artifactory.wikisquare.de</id>                          <id>artifactory.wikisquare.de</id>
505                          <name>artifactory.wikisquare.de-releases</name>                          <name>artifactory.wikisquare.de-releases</name>
506                          <url>http://www.wikisquare.de:8080/artifactory/libs-releases-local</url>                          <url>http://artifactory.wikisquare.de/artifactory/libs-releases-local
507                            </url>
508                  </repository>                  </repository>
509    
510                  <snapshotRepository>                  <snapshotRepository>
511                          <id>artifactory.wikisquare.de</id>                          <id>artifactory.wikisquare.de</id>
512                          <name>artifactory.wikisquare.de-snapshots</name>                          <name>artifactory.wikisquare.de-snapshots</name>
513                          <url>http://www.wikisquare.de:8080/artifactory/libs-snapshots-local</url>                          <url>http://artifactory.wikisquare.de/artifactory/libs-snapshots-local
514                            </url>
515                  </snapshotRepository>                  </snapshotRepository>
516    
517          </distributionManagement>          </distributionManagement>
518            <profiles>
519                    <profile>
520                            <id>resourceOperationRemove</id>
521                            <!-- When this profile is activated (e.g with "mavn install -P resourceOperationRemove"
522                                    the build will remove any lines in the resource bundes that are tagged with
523                                    REMOVEME_ -->
524                            <build>
525                                    <plugins>
526                                            <plugin>
527                                                    <groupId>org.codehaus.mojo</groupId>
528                                                    <artifactId>exec-maven-plugin</artifactId>
529                                                    <version>1.2</version>
530                                                    <executions>
531                                                            <execution>
532                                                                    <phase>generate-sources</phase>
533                                                                    <goals>
534                                                                            <goal>java</goal>
535                                                                    </goals>
536                                                                    <configuration>
537                                                                            <mainClass>schmitzm.lang.ResourceProviderOperator</mainClass>
538                                                                            <arguments>
539                                                                                    <argument>-s</argument>
540                                                                                    <argument>${project.build.directory}/../src</argument>
541                                                                                    <argument>-b</argument>
542                                                                                    <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
543                                                                                    </argument>
544                                                                            </arguments>
545                                                                    </configuration>
546                                                            </execution>
547                                                    </executions>
548                                            </plugin>
549                                    </plugins>
550                            </build>
551                    </profile>
552            </profiles>
553    
554    
555  </project>  </project>

Legend:
Removed from v.847  
changed lines
  Added in v.1336

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26