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 |
<dependencies> |
66 |
|
67 |
<dependency> |
68 |
<!-- Logging with log4j. Die MVN dependency fuer 1.2.15 ist defekt. downgraded |
69 |
to 1.2.14 http://jira.codehaus.org/browse/MEV-649 --> |
70 |
<groupId>log4j</groupId> |
71 |
<artifactId>log4j</artifactId> |
72 |
<version>1.2.14</version> |
73 |
</dependency> |
74 |
|
75 |
<dependency> |
76 |
<groupId>junit</groupId> |
77 |
<artifactId>junit</artifactId> |
78 |
<version>4.8.2</version> |
79 |
<type>jar</type> |
80 |
<scope>test</scope> |
81 |
</dependency> |
82 |
|
83 |
<dependency> |
84 |
<groupId>javax.media</groupId> |
85 |
<artifactId>jai_core</artifactId> |
86 |
<version>1.1.3</version> |
87 |
<type>jar</type> |
88 |
<scope>compile</scope> |
89 |
</dependency> |
90 |
|
91 |
<dependency> |
92 |
<groupId>commons-io</groupId> |
93 |
<artifactId>commons-io</artifactId> |
94 |
<version>1.4</version> |
95 |
<type>jar</type> |
96 |
<scope>compile</scope> |
97 |
</dependency> |
98 |
|
99 |
<dependency> |
100 |
<groupId>com.miglayout</groupId> |
101 |
<artifactId>miglayout</artifactId> |
102 |
<version>3.7.3</version> |
103 |
<classifier>swing</classifier> |
104 |
<scope>compile</scope> |
105 |
</dependency> |
106 |
|
107 |
<dependency> |
108 |
<groupId>net.jini</groupId> |
109 |
<artifactId>jini-ext</artifactId> |
110 |
<version>2.1</version> |
111 |
<type>jar</type> |
112 |
<scope>compile</scope> |
113 |
</dependency> |
114 |
|
115 |
<dependency> |
116 |
<groupId>org.jdom</groupId> |
117 |
<artifactId>jdom</artifactId> |
118 |
<version>1.1</version> |
119 |
</dependency> |
120 |
|
121 |
<dependency> |
122 |
<!-- Fuer Sonderzeichenbehandlung --> |
123 |
<groupId>ant-contrib</groupId> |
124 |
<artifactId>ant-contrib</artifactId> |
125 |
<version>1.0b3</version> |
126 |
<type>jar</type> |
127 |
<scope>provided</scope> |
128 |
</dependency> |
129 |
|
130 |
<dependency> |
131 |
<!-- Fuer Sonderzeichenbehandlung --> |
132 |
<groupId>ant</groupId> |
133 |
<artifactId>ant-nodeps</artifactId> |
134 |
<version>1.6.5</version> |
135 |
<scope>provided</scope> |
136 |
</dependency> |
137 |
|
138 |
<dependency> |
139 |
<!-- Fuer Sonderzeichenbehandlung --> |
140 |
<groupId>com.sun</groupId> |
141 |
<artifactId>tools</artifactId> |
142 |
<version>1.6.0</version> |
143 |
<scope>system</scope> |
144 |
<systemPath>${java.home}/../lib/tools.jar</systemPath> |
145 |
</dependency> |
146 |
|
147 |
<dependency> |
148 |
<groupId>commons-cli</groupId> |
149 |
<artifactId>commons-cli</artifactId> |
150 |
<version>1.2</version> |
151 |
<type>jar</type> |
152 |
<scope>compile</scope> |
153 |
</dependency> |
154 |
|
155 |
<dependency> |
156 |
<!-- Testen fuer Olli --> |
157 |
<groupId>net.sourceforge.jexcelapi</groupId> |
158 |
<artifactId>jxl</artifactId> |
159 |
<version>2.6.12</version> |
160 |
<scope>test</scope> |
161 |
</dependency> |
162 |
|
163 |
<dependency> |
164 |
<!-- Testen fuer Olli --> |
165 |
<groupId>org.apache.poi</groupId> |
166 |
<artifactId>poi</artifactId> |
167 |
<version>3.7</version> |
168 |
<type>jar</type> |
169 |
<scope>test</scope> |
170 |
</dependency> |
171 |
</dependencies> |
172 |
|
173 |
<build> |
174 |
<plugins> |
175 |
|
176 |
<plugin> |
177 |
<groupId>org.apache.maven.plugins</groupId> |
178 |
<artifactId>maven-jar-plugin</artifactId> |
179 |
<version>2.3.1</version> |
180 |
<executions> |
181 |
<execution> |
182 |
<goals> |
183 |
<goal>test-jar</goal> |
184 |
<goal>jar</goal> |
185 |
</goals> |
186 |
</execution> |
187 |
</executions> |
188 |
</plugin> |
189 |
|
190 |
<plugin> |
191 |
<groupId>org.apache.maven.plugins</groupId> |
192 |
<artifactId>maven-resources-plugin</artifactId> |
193 |
<version>2.4.2</version> |
194 |
</plugin> |
195 |
|
196 |
<plugin> |
197 |
<groupId>org.apache.maven.plugins</groupId> |
198 |
<artifactId>maven-compiler-plugin</artifactId> |
199 |
<version>2.2</version> |
200 |
<configuration> |
201 |
<source>1.6</source> |
202 |
<target>1.6</target> |
203 |
<excludes> |
204 |
<exclude>**/.svn</exclude> <!-- ??? --> |
205 |
</excludes> |
206 |
</configuration> |
207 |
</plugin> |
208 |
|
209 |
<plugin> |
210 |
<artifactId>maven-antrun-plugin</artifactId> |
211 |
<version>1.3</version> |
212 |
|
213 |
<executions> |
214 |
<execution> |
215 |
<phase>compile</phase> |
216 |
<goals> |
217 |
<goal>run</goal> |
218 |
</goals> |
219 |
<configuration> |
220 |
|
221 |
<tasks> |
222 |
<taskdef resource="net/sf/antcontrib/antlib.xml"> |
223 |
<classpath refid="maven.dependency.classpath" /> |
224 |
</taskdef> |
225 |
|
226 |
<typedef name="native2ascii" |
227 |
classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii"> |
228 |
<classpath refid="maven.dependency.classpath" /> |
229 |
</typedef> |
230 |
|
231 |
<for param="file" |
232 |
description="Alle .properties nach .propertieNative umbenennen"> |
233 |
<path> |
234 |
<fileset dir="src" includes="**/*.properties" /> |
235 |
</path> |
236 |
<sequential> |
237 |
<move file="@{file}" overwrite="true" tofile="@{file}Native" |
238 |
verbose="false" preservelastmodified="true" /> |
239 |
</sequential> |
240 |
</for> |
241 |
|
242 |
<native2ascii encoding="UTF8" src="src" |
243 |
includes="**/*.propertiesNative" dest="src" ext=".properties" /> |
244 |
|
245 |
<for param="file"> |
246 |
<path> |
247 |
<fileset dir="src" includes="**/*.propertiesNative" /> |
248 |
</path> |
249 |
<sequential> |
250 |
<delete file="@{file}" quiet="true" /> |
251 |
</sequential> |
252 |
</for> |
253 |
|
254 |
</tasks> |
255 |
</configuration> |
256 |
</execution> |
257 |
</executions> |
258 |
</plugin> |
259 |
|
260 |
</plugins> |
261 |
</build> |
262 |
|
263 |
|
264 |
|
265 |
<repositories> |
266 |
|
267 |
<repository> |
268 |
<snapshots> |
269 |
<enabled>false</enabled> |
270 |
</snapshots> |
271 |
<id>central</id> |
272 |
<name>libs-releases</name> |
273 |
<url>http://artifactory.wikisquare.de/artifactory/libs-releases</url> |
274 |
</repository> |
275 |
|
276 |
<repository> |
277 |
<snapshots /> |
278 |
<id>snapshots</id> |
279 |
<name>libs-snapshots</name> |
280 |
<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots |
281 |
</url> |
282 |
</repository> |
283 |
|
284 |
</repositories> |
285 |
|
286 |
<distributionManagement> |
287 |
|
288 |
<repository> |
289 |
<id>artifactory.wikisquare.de</id> |
290 |
<name>artifactory.wikisquare.de-releases</name> |
291 |
<url>http://artifactory.wikisquare.de/artifactory/libs-releases-local |
292 |
</url> |
293 |
</repository> |
294 |
|
295 |
<snapshotRepository> |
296 |
<id>artifactory.wikisquare.de</id> |
297 |
<name>artifactory.wikisquare.de-snapshots</name> |
298 |
<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots-local |
299 |
</url> |
300 |
</snapshotRepository> |
301 |
|
302 |
</distributionManagement> |
303 |
<profiles> |
304 |
<profile> |
305 |
<id>resourceOperationRemove</id> |
306 |
<!-- When this profile is activated (e.g with "mavn install -P resourceOperationRemove" |
307 |
the build will remove any lines in the resource bundes that are tagged with |
308 |
REMOVEME_ --> |
309 |
<build> |
310 |
<plugins> |
311 |
<plugin> |
312 |
<groupId>org.codehaus.mojo</groupId> |
313 |
<artifactId>exec-maven-plugin</artifactId> |
314 |
<version>1.2</version> |
315 |
<executions> |
316 |
<execution> |
317 |
<phase>generate-sources</phase> |
318 |
<goals> |
319 |
<goal>java</goal> |
320 |
</goals> |
321 |
<configuration> |
322 |
<mainClass>schmitzm.lang.ResourceProviderOperator</mainClass> |
323 |
<arguments> |
324 |
<argument>-s</argument> |
325 |
<argument>${project.build.directory}/../src</argument> |
326 |
<argument>-b</argument> |
327 |
<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 |
328 |
</argument> |
329 |
</arguments> |
330 |
</configuration> |
331 |
</execution> |
332 |
</executions> |
333 |
</plugin> |
334 |
</plugins> |
335 |
</build> |
336 |
</profile> |
337 |
</profiles> |
338 |
|
339 |
</project> |