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.8-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 |
<schmitzm.version>${project.version}</schmitzm.version> |
17 |
<!-- <geotools.version>8-SNAPSHOT</geotools.version> --> |
18 |
<geotools.version>2.7.5</geotools.version> |
19 |
</properties> |
20 |
|
21 |
<issueManagement> |
22 |
<system>gforge</system> |
23 |
<url>http://wald.intevation.org/tracker/?group_id=47</url> |
24 |
</issueManagement> |
25 |
|
26 |
<licenses> |
27 |
<license> |
28 |
<name>Lesser General Public License (LGPL)</name> |
29 |
<url>http://www.gnu.org/copyleft/lgpl.txt</url> |
30 |
</license> |
31 |
</licenses> |
32 |
|
33 |
<developers> |
34 |
<developer> |
35 |
<id>mschmitz</id> |
36 |
<name>Martin Schmitz</name> |
37 |
<timezone>GMT+1</timezone> |
38 |
<roles> |
39 |
<role>Developer</role> |
40 |
</roles> |
41 |
</developer> |
42 |
<developer> |
43 |
<id>alfonx</id> |
44 |
<name>Stefan A. Tzeggai</name> |
45 |
<email>[email protected]</email> |
46 |
<url>http://www.wikisquare.de</url> |
47 |
<organization>Wikisquare.de</organization> |
48 |
<organizationUrl>http://www.wikisquare.de</organizationUrl> |
49 |
<timezone>GMT+1</timezone> |
50 |
<roles> |
51 |
<role>Developer</role> |
52 |
<role>Maven package maintainer</role> |
53 |
</roles> |
54 |
</developer> |
55 |
</developers> |
56 |
|
57 |
<scm> |
58 |
<connection>scm:https://svn.wald.intevation.org/svn/schmitzm</connection> |
59 |
<url>https://svn.wald.intevation.org/svn/schmitzm/trunk</url> |
60 |
<developerConnection>svn+ssh://developername@svn.wald.intevation.org/schmitzm/trunk</developerConnection> |
61 |
</scm> |
62 |
|
63 |
<organization> |
64 |
<url>http://www.wikisquare.de</url> |
65 |
</organization> |
66 |
|
67 |
|
68 |
<dependencies> |
69 |
|
70 |
<dependency> |
71 |
<!-- Fuer Sonderzeichenbehandlung --> |
72 |
<groupId>ant-contrib</groupId> |
73 |
<artifactId>ant-contrib</artifactId> |
74 |
<version>1.0b3</version> |
75 |
<type>jar</type> |
76 |
<scope>provided</scope> |
77 |
</dependency> |
78 |
|
79 |
<dependency> |
80 |
<!-- Fuer Sonderzeichenbehandlung --> |
81 |
<groupId>ant</groupId> |
82 |
<artifactId>ant-nodeps</artifactId> |
83 |
<version>1.6.5</version> |
84 |
<scope>provided</scope> |
85 |
</dependency> |
86 |
|
87 |
<dependency> |
88 |
<!-- Fuer Sonderzeichenbehandlung --> |
89 |
<groupId>com.sun</groupId> |
90 |
<artifactId>tools</artifactId> |
91 |
<version>1.6.0</version> |
92 |
<scope>system</scope> |
93 |
<systemPath>${java.home}/../lib/tools.jar</systemPath> |
94 |
</dependency> |
95 |
|
96 |
<dependency> |
97 |
<groupId>junit</groupId> |
98 |
<artifactId>junit</artifactId> |
99 |
<version>4.11</version> |
100 |
<type>jar</type> |
101 |
<scope>test</scope> |
102 |
</dependency> |
103 |
<dependency> |
104 |
<groupId>log4j</groupId> |
105 |
<artifactId>log4j</artifactId> |
106 |
<version>1.2.17</version> |
107 |
</dependency> |
108 |
|
109 |
<!-- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: |
110 |
Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder |
111 |
for further details. --> |
112 |
<dependency> |
113 |
<groupId>org.slf4j</groupId> |
114 |
<artifactId>slf4j-log4j12</artifactId> |
115 |
<version>1.7.2</version> |
116 |
</dependency> |
117 |
|
118 |
</dependencies> |
119 |
|
120 |
<build> |
121 |
<plugins> |
122 |
|
123 |
<plugin> |
124 |
<groupId>org.apache.maven.plugins</groupId> |
125 |
<artifactId>maven-jar-plugin</artifactId> |
126 |
<version>2.3.2</version> |
127 |
<executions> |
128 |
<execution> |
129 |
<goals> |
130 |
<goal>test-jar</goal> |
131 |
<goal>jar</goal> |
132 |
</goals> |
133 |
</execution> |
134 |
</executions> |
135 |
</plugin> |
136 |
|
137 |
<plugin> |
138 |
<groupId>org.apache.maven.plugins</groupId> |
139 |
<artifactId>maven-resources-plugin</artifactId> |
140 |
<version>2.5</version> |
141 |
</plugin> |
142 |
|
143 |
<plugin> |
144 |
<groupId>org.apache.maven.plugins</groupId> |
145 |
<artifactId>maven-source-plugin</artifactId> |
146 |
<executions> |
147 |
<execution> |
148 |
<id>attach-sources</id> |
149 |
<goals> |
150 |
<goal>test-jar</goal> |
151 |
<goal>jar</goal> |
152 |
</goals> |
153 |
</execution> |
154 |
</executions> |
155 |
</plugin> |
156 |
|
157 |
<plugin> |
158 |
<artifactId>maven-antrun-plugin</artifactId> |
159 |
<version>1.3</version> |
160 |
|
161 |
<executions> |
162 |
<execution> |
163 |
<phase>compile</phase> |
164 |
<goals> |
165 |
<goal>run</goal> |
166 |
</goals> |
167 |
<configuration> |
168 |
|
169 |
<tasks> |
170 |
<taskdef resource="net/sf/antcontrib/antlib.xml"> |
171 |
<classpath refid="maven.dependency.classpath" /> |
172 |
</taskdef> |
173 |
|
174 |
<typedef name="native2ascii" |
175 |
classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii"> |
176 |
<classpath refid="maven.dependency.classpath" /> |
177 |
</typedef> |
178 |
|
179 |
<for param="file" |
180 |
description="Alle .properties nach .propertieNative umbenennen"> |
181 |
<path> |
182 |
<fileset dir="src" includes="**/*.properties" /> |
183 |
</path> |
184 |
<sequential> |
185 |
<move file="@{file}" overwrite="true" tofile="@{file}Native" |
186 |
verbose="false" preservelastmodified="true" /> |
187 |
</sequential> |
188 |
</for> |
189 |
|
190 |
<native2ascii encoding="UTF8" src="src" |
191 |
includes="**/*.propertiesNative" dest="src" ext=".properties" /> |
192 |
|
193 |
<for param="file"> |
194 |
<path> |
195 |
<fileset dir="src" includes="**/*.propertiesNative" /> |
196 |
</path> |
197 |
<sequential> |
198 |
<delete file="@{file}" quiet="true" /> |
199 |
</sequential> |
200 |
</for> |
201 |
|
202 |
</tasks> |
203 |
</configuration> |
204 |
</execution> |
205 |
</executions> |
206 |
</plugin> |
207 |
|
208 |
<plugin> |
209 |
<groupId>org.apache.maven.plugins</groupId> |
210 |
<artifactId>maven-compiler-plugin</artifactId> |
211 |
<version>3.0</version> |
212 |
<configuration> |
213 |
<source>1.7</source> |
214 |
<target>1.7</target> |
215 |
|
216 |
<showDeprecation>true</showDeprecation> |
217 |
<showWarnings>true</showWarnings> |
218 |
<executable>${env.JAVA_HOME}/bin/javac</executable> |
219 |
<fork>true</fork> |
220 |
|
221 |
<excludes> |
222 |
<exclude>**/.svn</exclude> |
223 |
</excludes> |
224 |
</configuration> |
225 |
</plugin> |
226 |
</plugins> |
227 |
<pluginManagement> |
228 |
<plugins> |
229 |
<!--This plugin's configuration is used to store Eclipse m2e settings |
230 |
only. It has no influence on the Maven build itself. --> |
231 |
<plugin> |
232 |
<groupId>org.eclipse.m2e</groupId> |
233 |
<artifactId>lifecycle-mapping</artifactId> |
234 |
<version>1.0.0</version> |
235 |
<configuration> |
236 |
<lifecycleMappingMetadata> |
237 |
<pluginExecutions> |
238 |
<pluginExecution> |
239 |
<pluginExecutionFilter> |
240 |
<groupId> |
241 |
org.apache.maven.plugins |
242 |
</groupId> |
243 |
<artifactId> |
244 |
maven-antrun-plugin |
245 |
</artifactId> |
246 |
<versionRange> |
247 |
[1.3,) |
248 |
</versionRange> |
249 |
<goals> |
250 |
<goal>run</goal> |
251 |
</goals> |
252 |
</pluginExecutionFilter> |
253 |
<action> |
254 |
<ignore></ignore> |
255 |
</action> |
256 |
</pluginExecution> |
257 |
</pluginExecutions> |
258 |
</lifecycleMappingMetadata> |
259 |
</configuration> |
260 |
</plugin> |
261 |
</plugins> |
262 |
</pluginManagement> |
263 |
|
264 |
|
265 |
|
266 |
|
267 |
|
268 |
|
269 |
|
270 |
</build> |
271 |
|
272 |
|
273 |
|
274 |
<repositories> |
275 |
|
276 |
<repository> |
277 |
<snapshots> |
278 |
<enabled>false</enabled> |
279 |
</snapshots> |
280 |
<id>central</id> |
281 |
<name>libs-releases</name> |
282 |
<url>http://artifactory.wikisquare.de/artifactory/libs-releases</url> |
283 |
</repository> |
284 |
|
285 |
<repository> |
286 |
<snapshots /> |
287 |
<id>snapshots</id> |
288 |
<name>libs-snapshots</name> |
289 |
<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots |
290 |
</url> |
291 |
</repository> |
292 |
|
293 |
</repositories> |
294 |
|
295 |
<distributionManagement> |
296 |
|
297 |
<repository> |
298 |
<id>artifactory.wikisquare.de</id> |
299 |
<name>artifactory.wikisquare.de-releases</name> |
300 |
<url>http://artifactory.wikisquare.de/artifactory/libs-releases-local |
301 |
</url> |
302 |
</repository> |
303 |
|
304 |
<snapshotRepository> |
305 |
<id>artifactory.wikisquare.de</id> |
306 |
<name>artifactory.wikisquare.de-snapshots</name> |
307 |
<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots-local |
308 |
</url> |
309 |
</snapshotRepository> |
310 |
|
311 |
</distributionManagement> |
312 |
|
313 |
<profiles> |
314 |
<profile> |
315 |
<id>tweakJdk7Path</id> |
316 |
|
317 |
<build> |
318 |
<plugins> |
319 |
|
320 |
<plugin> |
321 |
<groupId>org.apache.maven.plugins</groupId> |
322 |
<artifactId>maven-compiler-plugin</artifactId> |
323 |
<version>3.0</version> |
324 |
<configuration> |
325 |
<source>1.7</source> |
326 |
<target>1.7</target> |
327 |
|
328 |
<showDeprecation>true</showDeprecation> |
329 |
<showWarnings>true</showWarnings> |
330 |
<executable>/usr/lib/jvm/java-7-oracle/bin/javac</executable> |
331 |
<fork>true</fork> |
332 |
|
333 |
<excludes> |
334 |
<exclude>**/.svn</exclude> |
335 |
</excludes> |
336 |
</configuration> |
337 |
</plugin> |
338 |
</plugins> |
339 |
|
340 |
|
341 |
</build> |
342 |
|
343 |
</profile> |
344 |
</profiles> |
345 |
</project> |