/[schmitzm]/trunk/pom.xml
ViewVC logotype

Diff of /trunk/pom.xml

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

revision 841 by alfonx, Tue May 11 16:42:25 2010 UTC revision 1343 by alfonx, Mon Dec 13 11:32:50 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.3</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    
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    
320                    <dependency>
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    
# Line 244  Line 343 
343                                          <exclude>**/Thumbs.db</exclude>                                          <exclude>**/Thumbs.db</exclude>
344                                  </excludes>                                  </excludes>
345                          </testResource>                          </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>                  </testResources>
360    
361                  <!--    <outputDirectory>classes</outputDirectory>-->                  <!-- <outputDirectory>classes</outputDirectory> -->
362                  <!--    <testOutputDirectory>test-classes</testOutputDirectory>-->                  <!-- <testOutputDirectory>test-classes</testOutputDirectory> -->
363                  <!--    <directory>dist</directory>-->                  <!-- <directory>dist</directory> -->
364    
365                  <resources>                  <resources>
366                          <resource>                          <resource>
# Line 269  Line 381 
381    
382                          <plugin>                          <plugin>
383                                  <groupId>org.apache.maven.plugins</groupId>                                  <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>                                  <artifactId>maven-resources-plugin</artifactId>
399                                  <version>2.4.2</version>                                  <version>2.4.2</version>
400                          </plugin>                          </plugin>
# Line 310  Line 436 
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>
# Line 323  Line 502 
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>
# Line 340  Line 520 
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>

Legend:
Removed from v.841  
changed lines
  Added in v.1343

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26