Parent Directory
|
Revision Log
maven-compilter-plugin upgrade von 2.5.1 auf 3.0 => sollte besser mit JDK7 laufen...
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.8.2</version> |
100 | <type>jar</type> |
101 | <scope>test</scope> |
102 | </dependency> |
103 | |
104 | <dependency> |
105 | <!-- Logging with log4j. Die MVN dependency fuer 1.2.15 ist defekt. downgraded --> |
106 | <!-- to 1.2.14 http://jira.codehaus.org/browse/MEV-649 --> |
107 | <groupId>log4j</groupId> |
108 | <artifactId>log4j</artifactId> |
109 | <version>1.2.14</version> |
110 | </dependency> |
111 | </dependencies> |
112 | |
113 | <build> |
114 | <plugins> |
115 | |
116 | <plugin> |
117 | <groupId>org.apache.maven.plugins</groupId> |
118 | <artifactId>maven-jar-plugin</artifactId> |
119 | <version>2.3.2</version> |
120 | <executions> |
121 | <execution> |
122 | <goals> |
123 | <goal>test-jar</goal> |
124 | <goal>jar</goal> |
125 | </goals> |
126 | </execution> |
127 | </executions> |
128 | </plugin> |
129 | |
130 | <plugin> |
131 | <groupId>org.apache.maven.plugins</groupId> |
132 | <artifactId>maven-resources-plugin</artifactId> |
133 | <version>2.5</version> |
134 | </plugin> |
135 | |
136 | <plugin> |
137 | <artifactId>maven-antrun-plugin</artifactId> |
138 | <version>1.3</version> |
139 | |
140 | <executions> |
141 | <execution> |
142 | <phase>compile</phase> |
143 | <goals> |
144 | <goal>run</goal> |
145 | </goals> |
146 | <configuration> |
147 | |
148 | <tasks> |
149 | <taskdef resource="net/sf/antcontrib/antlib.xml"> |
150 | <classpath refid="maven.dependency.classpath" /> |
151 | </taskdef> |
152 | |
153 | <typedef name="native2ascii" |
154 | classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii"> |
155 | <classpath refid="maven.dependency.classpath" /> |
156 | </typedef> |
157 | |
158 | <for param="file" |
159 | description="Alle .properties nach .propertieNative umbenennen"> |
160 | <path> |
161 | <fileset dir="src" includes="**/*.properties" /> |
162 | </path> |
163 | <sequential> |
164 | <move file="@{file}" overwrite="true" tofile="@{file}Native" |
165 | verbose="false" preservelastmodified="true" /> |
166 | </sequential> |
167 | </for> |
168 | |
169 | <native2ascii encoding="UTF8" src="src" |
170 | includes="**/*.propertiesNative" dest="src" ext=".properties" /> |
171 | |
172 | <for param="file"> |
173 | <path> |
174 | <fileset dir="src" includes="**/*.propertiesNative" /> |
175 | </path> |
176 | <sequential> |
177 | <delete file="@{file}" quiet="true" /> |
178 | </sequential> |
179 | </for> |
180 | |
181 | </tasks> |
182 | </configuration> |
183 | </execution> |
184 | </executions> |
185 | </plugin> |
186 | |
187 | <plugin> |
188 | <groupId>org.apache.maven.plugins</groupId> |
189 | <artifactId>maven-compiler-plugin</artifactId> |
190 | <version>3.0</version> |
191 | <configuration> |
192 | <source>1.7</source> |
193 | <target>1.7</target> |
194 | |
195 | <showDeprecation>true</showDeprecation> |
196 | <showWarnings>true</showWarnings> |
197 | <executable>${env.JAVA_HOME}/bin/javac</executable> |
198 | <fork>true</fork> |
199 | |
200 | <excludes> |
201 | <exclude>**/.svn</exclude> |
202 | </excludes> |
203 | </configuration> |
204 | </plugin> |
205 | </plugins> |
206 | <pluginManagement> |
207 | <plugins> |
208 | <!--This plugin's configuration is used to store Eclipse m2e settings |
209 | only. It has no influence on the Maven build itself. --> |
210 | <plugin> |
211 | <groupId>org.eclipse.m2e</groupId> |
212 | <artifactId>lifecycle-mapping</artifactId> |
213 | <version>1.0.0</version> |
214 | <configuration> |
215 | <lifecycleMappingMetadata> |
216 | <pluginExecutions> |
217 | <pluginExecution> |
218 | <pluginExecutionFilter> |
219 | <groupId> |
220 | org.apache.maven.plugins |
221 | </groupId> |
222 | <artifactId> |
223 | maven-antrun-plugin |
224 | </artifactId> |
225 | <versionRange> |
226 | [1.3,) |
227 | </versionRange> |
228 | <goals> |
229 | <goal>run</goal> |
230 | </goals> |
231 | </pluginExecutionFilter> |
232 | <action> |
233 | <ignore></ignore> |
234 | </action> |
235 | </pluginExecution> |
236 | </pluginExecutions> |
237 | </lifecycleMappingMetadata> |
238 | </configuration> |
239 | </plugin> |
240 | </plugins> |
241 | </pluginManagement> |
242 | |
243 | |
244 | |
245 | |
246 | |
247 | |
248 | |
249 | </build> |
250 | |
251 | |
252 | |
253 | <repositories> |
254 | |
255 | <repository> |
256 | <snapshots> |
257 | <enabled>false</enabled> |
258 | </snapshots> |
259 | <id>central</id> |
260 | <name>libs-releases</name> |
261 | <url>http://artifactory.wikisquare.de/artifactory/libs-releases</url> |
262 | </repository> |
263 | |
264 | <repository> |
265 | <snapshots /> |
266 | <id>snapshots</id> |
267 | <name>libs-snapshots</name> |
268 | <url>http://artifactory.wikisquare.de/artifactory/libs-snapshots |
269 | </url> |
270 | </repository> |
271 | |
272 | </repositories> |
273 | |
274 | <distributionManagement> |
275 | |
276 | <repository> |
277 | <id>artifactory.wikisquare.de</id> |
278 | <name>artifactory.wikisquare.de-releases</name> |
279 | <url>http://artifactory.wikisquare.de/artifactory/libs-releases-local |
280 | </url> |
281 | </repository> |
282 | |
283 | <snapshotRepository> |
284 | <id>artifactory.wikisquare.de</id> |
285 | <name>artifactory.wikisquare.de-snapshots</name> |
286 | <url>http://artifactory.wikisquare.de/artifactory/libs-snapshots-local |
287 | </url> |
288 | </snapshotRepository> |
289 | |
290 | </distributionManagement> |
291 | |
292 | <profiles> |
293 | <profile> |
294 | <id>tweakJdk7Path</id> |
295 | |
296 | <build> |
297 | <plugins> |
298 | |
299 | <plugin> |
300 | <groupId>org.apache.maven.plugins</groupId> |
301 | <artifactId>maven-compiler-plugin</artifactId> |
302 | <version>3.0</version> |
303 | <configuration> |
304 | <source>1.7</source> |
305 | <target>1.7</target> |
306 | |
307 | <showDeprecation>true</showDeprecation> |
308 | <showWarnings>true</showWarnings> |
309 | <executable>/usr/lib/jvm/java-7-oracle/bin/javac</executable> |
310 | <fork>true</fork> |
311 | |
312 | <excludes> |
313 | <exclude>**/.svn</exclude> |
314 | </excludes> |
315 | </configuration> |
316 | </plugin> |
317 | </plugins> |
318 | |
319 | |
320 | </build> |
321 | |
322 | </profile> |
323 | </profiles> |
324 | </project> |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Id URL |
svn:mime-type | text/xml |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |