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.4</version> |
127 |
<configuration> |
128 |
<archive> |
129 |
<!-- http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/no_redeploy.html --> |
130 |
<manifestEntries> |
131 |
<Permissions>all-permissions</Permissions> |
132 |
<Codebase>*</Codebase> |
133 |
</manifestEntries> |
134 |
</archive> |
135 |
</configuration> |
136 |
<executions> |
137 |
<execution> |
138 |
<goals> |
139 |
<goal>test-jar</goal> |
140 |
<goal>jar</goal> |
141 |
</goals> |
142 |
</execution> |
143 |
</executions> |
144 |
</plugin> |
145 |
|
146 |
<plugin> |
147 |
<groupId>org.apache.maven.plugins</groupId> |
148 |
<artifactId>maven-resources-plugin</artifactId> |
149 |
<version>2.5</version> |
150 |
</plugin> |
151 |
|
152 |
<plugin> |
153 |
<groupId>org.apache.maven.plugins</groupId> |
154 |
<artifactId>maven-source-plugin</artifactId> |
155 |
<executions> |
156 |
<execution> |
157 |
<id>attach-sources</id> |
158 |
<goals> |
159 |
<goal>test-jar</goal> |
160 |
<goal>jar</goal> |
161 |
</goals> |
162 |
</execution> |
163 |
</executions> |
164 |
</plugin> |
165 |
|
166 |
<!-- ################# SONDERZEICHEN BEHANDLUNG ################## --> |
167 |
<plugin> |
168 |
<artifactId>maven-antrun-plugin</artifactId> |
169 |
<version>1.3</version> |
170 |
|
171 |
<executions> |
172 |
<execution> |
173 |
<phase>compile</phase> |
174 |
<goals> |
175 |
<goal>run</goal> |
176 |
</goals> |
177 |
<configuration> |
178 |
|
179 |
<tasks> |
180 |
<taskdef resource="net/sf/antcontrib/antlib.xml"> |
181 |
<classpath refid="maven.dependency.classpath" /> |
182 |
</taskdef> |
183 |
|
184 |
<typedef name="native2ascii" |
185 |
classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii"> |
186 |
<classpath refid="maven.dependency.classpath" /> |
187 |
</typedef> |
188 |
|
189 |
<for param="file" |
190 |
description="Alle .properties nach .propertieNative umbenennen"> |
191 |
<path> |
192 |
<fileset dir="src" includes="**/*.properties" /> |
193 |
</path> |
194 |
<sequential> |
195 |
<move file="@{file}" overwrite="true" tofile="@{file}Native" |
196 |
verbose="false" preservelastmodified="true" /> |
197 |
</sequential> |
198 |
</for> |
199 |
|
200 |
<native2ascii encoding="UTF8" src="src" |
201 |
includes="**/*.propertiesNative" dest="src" ext=".properties" /> |
202 |
|
203 |
<for param="file"> |
204 |
<path> |
205 |
<fileset dir="src" includes="**/*.propertiesNative" /> |
206 |
</path> |
207 |
<sequential> |
208 |
<delete file="@{file}" quiet="true" /> |
209 |
</sequential> |
210 |
</for> |
211 |
|
212 |
</tasks> |
213 |
</configuration> |
214 |
</execution> |
215 |
</executions> |
216 |
</plugin> |
217 |
|
218 |
<plugin> |
219 |
<groupId>org.apache.maven.plugins</groupId> |
220 |
<artifactId>maven-compiler-plugin</artifactId> |
221 |
<version>3.0</version> |
222 |
<configuration> |
223 |
<source>1.7</source> |
224 |
<target>1.7</target> |
225 |
|
226 |
<showDeprecation>true</showDeprecation> |
227 |
<showWarnings>true</showWarnings> |
228 |
<executable>${env.JAVA_HOME}/bin/javac</executable> |
229 |
<fork>true</fork> |
230 |
|
231 |
<excludes> |
232 |
<exclude>**/.svn</exclude> |
233 |
</excludes> |
234 |
</configuration> |
235 |
</plugin> |
236 |
</plugins> |
237 |
<pluginManagement> |
238 |
<plugins> |
239 |
<!--This plugin's configuration is used to store Eclipse m2e settings |
240 |
only. It has no influence on the Maven build itself. --> |
241 |
<plugin> |
242 |
<groupId>org.eclipse.m2e</groupId> |
243 |
<artifactId>lifecycle-mapping</artifactId> |
244 |
<version>1.0.0</version> |
245 |
<configuration> |
246 |
<lifecycleMappingMetadata> |
247 |
<pluginExecutions> |
248 |
<pluginExecution> |
249 |
<pluginExecutionFilter> |
250 |
<groupId> |
251 |
org.apache.maven.plugins |
252 |
</groupId> |
253 |
<artifactId> |
254 |
maven-antrun-plugin |
255 |
</artifactId> |
256 |
<versionRange> |
257 |
[1.3,) |
258 |
</versionRange> |
259 |
<goals> |
260 |
<goal>run</goal> |
261 |
</goals> |
262 |
</pluginExecutionFilter> |
263 |
<action> |
264 |
<ignore></ignore> |
265 |
</action> |
266 |
</pluginExecution> |
267 |
</pluginExecutions> |
268 |
</lifecycleMappingMetadata> |
269 |
</configuration> |
270 |
</plugin> |
271 |
</plugins> |
272 |
</pluginManagement> |
273 |
|
274 |
|
275 |
|
276 |
|
277 |
|
278 |
|
279 |
|
280 |
</build> |
281 |
<!-- Wikisquare Artifactory is no more |
282 |
|
283 |
<repositories> |
284 |
<repository> |
285 |
<snapshots> |
286 |
<enabled>false</enabled> |
287 |
</snapshots> |
288 |
<id>central</id> |
289 |
<name>libs-releases</name> |
290 |
<url>http://artifactory.wikisquare.de/artifactory/libs-releases</url> |
291 |
</repository> |
292 |
|
293 |
<repository> |
294 |
<snapshots /> |
295 |
<id>snapshots</id> |
296 |
<name>libs-snapshots</name> |
297 |
<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots |
298 |
</url> |
299 |
</repository> |
300 |
|
301 |
</repositories> |
302 |
|
303 |
<distributionManagement> |
304 |
|
305 |
<repository> |
306 |
<id>artifactory.wikisquare.de</id> |
307 |
<name>artifactory.wikisquare.de-releases</name> |
308 |
<url>http://artifactory.wikisquare.de/artifactory/libs-releases-local |
309 |
</url> |
310 |
</repository> |
311 |
|
312 |
<snapshotRepository> |
313 |
<id>artifactory.wikisquare.de</id> |
314 |
<name>artifactory.wikisquare.de-snapshots</name> |
315 |
<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots-local |
316 |
</url> |
317 |
</snapshotRepository> |
318 |
|
319 |
</distributionManagement> |
320 |
--> |
321 |
<profiles> |
322 |
<profile> |
323 |
<id>tweakJdk7Path</id> |
324 |
|
325 |
<build> |
326 |
<plugins> |
327 |
|
328 |
<plugin> |
329 |
<groupId>org.apache.maven.plugins</groupId> |
330 |
<artifactId>maven-compiler-plugin</artifactId> |
331 |
<version>3.0</version> |
332 |
<configuration> |
333 |
<source>1.7</source> |
334 |
<target>1.7</target> |
335 |
|
336 |
<showDeprecation>true</showDeprecation> |
337 |
<showWarnings>true</showWarnings> |
338 |
<executable>/usr/lib/jvm/java-7-oracle/bin/javac</executable> |
339 |
<fork>true</fork> |
340 |
|
341 |
<excludes> |
342 |
<exclude>**/.svn</exclude> |
343 |
</excludes> |
344 |
</configuration> |
345 |
</plugin> |
346 |
</plugins> |
347 |
|
348 |
|
349 |
</build> |
350 |
|
351 |
</profile> |
352 |
</profiles> |
353 |
</project> |