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/xsd/maven-4.0.0.xsd"> |
3 |
<modelVersion>4.0.0</modelVersion> |
4 |
|
5 |
<groupId>de.schmitzm</groupId> |
6 |
<artifactId>schmitzm-parent</artifactId> |
7 |
<version>2.6-SNAPSHOT</version> |
8 |
<packaging>pom</packaging> |
9 |
<description>Describes maven pom settings for all schmitz modules</description> |
10 |
|
11 |
<name>schmitzm-parent</name> |
12 |
<url>http://maven.apache.org</url> |
13 |
|
14 |
<properties> |
15 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
16 |
<geotools.version>2.6.5</geotools.version> |
17 |
</properties> |
18 |
|
19 |
<issueManagement> |
20 |
<system>gforge</system> |
21 |
<url>http://wald.intevation.org/tracker/?group_id=47</url> |
22 |
</issueManagement> |
23 |
|
24 |
<licenses> |
25 |
<license> |
26 |
<name>Lesser General Public License (LGPL)</name> |
27 |
<url>http://www.gnu.org/copyleft/lgpl.txt</url> |
28 |
</license> |
29 |
</licenses> |
30 |
|
31 |
<developers> |
32 |
<developer> |
33 |
<id>mschmitz</id> |
34 |
<name>Martin Schmitz</name> |
35 |
<timezone>GMT+1</timezone> |
36 |
<roles> |
37 |
<role>Developer</role> |
38 |
</roles> |
39 |
</developer> |
40 |
<developer> |
41 |
<id>alfonx</id> |
42 |
<name>Stefan A. Tzeggai</name> |
43 |
<email>[email protected]</email> |
44 |
<url>http://www.wikisquare.de</url> |
45 |
<organization>Wikisquare.de</organization> |
46 |
<organizationUrl>http://www.wikisquare.de</organizationUrl> |
47 |
<timezone>GMT+1</timezone> |
48 |
<roles> |
49 |
<role>Developer</role> |
50 |
<role>Maven package maintainer</role> |
51 |
</roles> |
52 |
</developer> |
53 |
</developers> |
54 |
|
55 |
<scm> |
56 |
<connection>scm:https://svn.wald.intevation.org/svn/schmitzm</connection> |
57 |
<url>https://svn.wald.intevation.org/svn/schmitzm/trunk</url> |
58 |
<developerConnection>svn+ssh://developername@svn.wald.intevation.org/schmitzm/trunk</developerConnection> |
59 |
</scm> |
60 |
|
61 |
<organization> |
62 |
<url>http://www.wikisquare.de</url> |
63 |
</organization> |
64 |
|
65 |
|
66 |
<dependencies> |
67 |
|
68 |
<dependency> |
69 |
<!-- Fuer Sonderzeichenbehandlung --> |
70 |
<groupId>ant-contrib</groupId> |
71 |
<artifactId>ant-contrib</artifactId> |
72 |
<version>1.0b3</version> |
73 |
<type>jar</type> |
74 |
<scope>provided</scope> |
75 |
</dependency> |
76 |
|
77 |
<dependency> |
78 |
<!-- Fuer Sonderzeichenbehandlung --> |
79 |
<groupId>ant</groupId> |
80 |
<artifactId>ant-nodeps</artifactId> |
81 |
<version>1.6.5</version> |
82 |
<scope>provided</scope> |
83 |
</dependency> |
84 |
|
85 |
<dependency> |
86 |
<!-- Fuer Sonderzeichenbehandlung --> |
87 |
<groupId>com.sun</groupId> |
88 |
<artifactId>tools</artifactId> |
89 |
<version>1.6.0</version> |
90 |
<scope>system</scope> |
91 |
<systemPath>${java.home}/../lib/tools.jar</systemPath> |
92 |
</dependency> |
93 |
|
94 |
<dependency> |
95 |
<groupId>junit</groupId> |
96 |
<artifactId>junit</artifactId> |
97 |
<version>4.8.2</version> |
98 |
<type>jar</type> |
99 |
<scope>test</scope> |
100 |
</dependency> |
101 |
|
102 |
<dependency> |
103 |
<!-- Logging with log4j. Die MVN dependency fuer 1.2.15 ist defekt. downgraded --> |
104 |
<!-- to 1.2.14 http://jira.codehaus.org/browse/MEV-649 --> |
105 |
<groupId>log4j</groupId> |
106 |
<artifactId>log4j</artifactId> |
107 |
<version>1.2.14</version> |
108 |
</dependency> |
109 |
</dependencies> |
110 |
|
111 |
<build> |
112 |
<plugins> |
113 |
|
114 |
<plugin> |
115 |
<groupId>org.apache.maven.plugins</groupId> |
116 |
<artifactId>maven-jar-plugin</artifactId> |
117 |
<version>2.3.1</version> |
118 |
<executions> |
119 |
<execution> |
120 |
<goals> |
121 |
<goal>test-jar</goal> |
122 |
<goal>jar</goal> |
123 |
</goals> |
124 |
</execution> |
125 |
</executions> |
126 |
</plugin> |
127 |
|
128 |
<plugin> |
129 |
<groupId>org.apache.maven.plugins</groupId> |
130 |
<artifactId>maven-resources-plugin</artifactId> |
131 |
<version>2.4.2</version> |
132 |
</plugin> |
133 |
|
134 |
<plugin> |
135 |
<groupId>org.apache.maven.plugins</groupId> |
136 |
<artifactId>maven-compiler-plugin</artifactId> |
137 |
<version>2.2</version> |
138 |
<configuration> |
139 |
<source>1.6</source> |
140 |
<target>1.6</target> |
141 |
<excludes> |
142 |
<exclude>**/.svn</exclude> <!-- ??? --> |
143 |
</excludes> |
144 |
</configuration> |
145 |
</plugin> |
146 |
|
147 |
<plugin> |
148 |
<artifactId>maven-antrun-plugin</artifactId> |
149 |
<version>1.3</version> |
150 |
|
151 |
<executions> |
152 |
<execution> |
153 |
<phase>compile</phase> |
154 |
<goals> |
155 |
<goal>run</goal> |
156 |
</goals> |
157 |
<configuration> |
158 |
|
159 |
<tasks> |
160 |
<taskdef resource="net/sf/antcontrib/antlib.xml"> |
161 |
<classpath refid="maven.dependency.classpath" /> |
162 |
</taskdef> |
163 |
|
164 |
<typedef name="native2ascii" |
165 |
classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii"> |
166 |
<classpath refid="maven.dependency.classpath" /> |
167 |
</typedef> |
168 |
|
169 |
<for param="file" |
170 |
description="Alle .properties nach .propertieNative umbenennen"> |
171 |
<path> |
172 |
<fileset dir="src" includes="**/*.properties" /> |
173 |
</path> |
174 |
<sequential> |
175 |
<move file="@{file}" overwrite="true" tofile="@{file}Native" |
176 |
verbose="false" preservelastmodified="true" /> |
177 |
</sequential> |
178 |
</for> |
179 |
|
180 |
<native2ascii encoding="UTF8" src="src" |
181 |
includes="**/*.propertiesNative" dest="src" ext=".properties" /> |
182 |
|
183 |
<for param="file"> |
184 |
<path> |
185 |
<fileset dir="src" includes="**/*.propertiesNative" /> |
186 |
</path> |
187 |
<sequential> |
188 |
<delete file="@{file}" quiet="true" /> |
189 |
</sequential> |
190 |
</for> |
191 |
|
192 |
</tasks> |
193 |
</configuration> |
194 |
</execution> |
195 |
</executions> |
196 |
</plugin> |
197 |
|
198 |
</plugins> |
199 |
</build> |
200 |
|
201 |
|
202 |
|
203 |
<repositories> |
204 |
|
205 |
<repository> |
206 |
<snapshots> |
207 |
<enabled>false</enabled> |
208 |
</snapshots> |
209 |
<id>central</id> |
210 |
<name>libs-releases</name> |
211 |
<url>http://artifactory.wikisquare.de/artifactory/libs-releases</url> |
212 |
</repository> |
213 |
|
214 |
<repository> |
215 |
<snapshots /> |
216 |
<id>snapshots</id> |
217 |
<name>libs-snapshots</name> |
218 |
<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots |
219 |
</url> |
220 |
</repository> |
221 |
|
222 |
</repositories> |
223 |
|
224 |
<distributionManagement> |
225 |
|
226 |
<repository> |
227 |
<id>artifactory.wikisquare.de</id> |
228 |
<name>artifactory.wikisquare.de-releases</name> |
229 |
<url>http://artifactory.wikisquare.de/artifactory/libs-releases-local |
230 |
</url> |
231 |
</repository> |
232 |
|
233 |
<snapshotRepository> |
234 |
<id>artifactory.wikisquare.de</id> |
235 |
<name>artifactory.wikisquare.de-snapshots</name> |
236 |
<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots-local |
237 |
</url> |
238 |
</snapshotRepository> |
239 |
|
240 |
</distributionManagement> |
241 |
<profiles> |
242 |
<profile> |
243 |
<id>resourceOperationRemove</id> |
244 |
<!-- When this profile is activated (e.g with "mavn install -P resourceOperationRemove" |
245 |
the build will remove any lines in the resource bundes that are tagged with |
246 |
REMOVEME_ --> |
247 |
<build> |
248 |
<plugins> |
249 |
<plugin> |
250 |
<groupId>org.codehaus.mojo</groupId> |
251 |
<artifactId>exec-maven-plugin</artifactId> |
252 |
<version>1.2</version> |
253 |
<executions> |
254 |
<execution> |
255 |
<phase>generate-sources</phase> |
256 |
<goals> |
257 |
<goal>java</goal> |
258 |
</goals> |
259 |
<configuration> |
260 |
<mainClass>schmitzm.lang.ResourceProviderOperator</mainClass> |
261 |
<arguments> |
262 |
<argument>-s</argument> |
263 |
<argument>${project.build.directory}/../src</argument> |
264 |
<argument>-b</argument> |
265 |
<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 |
266 |
</argument> |
267 |
</arguments> |
268 |
</configuration> |
269 |
</execution> |
270 |
</executions> |
271 |
</plugin> |
272 |
</plugins> |
273 |
</build> |
274 |
</profile> |
275 |
</profiles> |
276 |
|
277 |
</project> |