4 |
|
|
5 |
<groupId>de.schmitzm</groupId> |
<groupId>de.schmitzm</groupId> |
6 |
<artifactId>schmitzm-parent</artifactId> |
<artifactId>schmitzm-parent</artifactId> |
7 |
<version>2.6-SNAPSHOT</version> |
<version>2.7-SNAPSHOT</version> |
8 |
<packaging>pom</packaging> |
<packaging>pom</packaging> |
9 |
<description>Describes maven pom settings for all schmitz modules</description> |
<description>Describes maven pom settings for all schmitz modules</description> |
10 |
|
|
13 |
|
|
14 |
<properties> |
<properties> |
15 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
16 |
<geotools.version>2.6.5</geotools.version> |
<schmitzm.version>${project.version}</schmitzm.version> |
17 |
|
<!-- <geotools.version>8-SNAPSHOT</geotools.version> --> |
18 |
|
<geotools.version>2.7.5</geotools.version> |
19 |
</properties> |
</properties> |
20 |
|
|
21 |
<issueManagement> |
<issueManagement> |
92 |
<scope>system</scope> |
<scope>system</scope> |
93 |
<systemPath>${java.home}/../lib/tools.jar</systemPath> |
<systemPath>${java.home}/../lib/tools.jar</systemPath> |
94 |
</dependency> |
</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> |
</dependencies> |
112 |
|
|
113 |
<build> |
<build> |
136 |
<plugin> |
<plugin> |
137 |
<groupId>org.apache.maven.plugins</groupId> |
<groupId>org.apache.maven.plugins</groupId> |
138 |
<artifactId>maven-compiler-plugin</artifactId> |
<artifactId>maven-compiler-plugin</artifactId> |
139 |
<version>2.2</version> |
<version>2.3.2</version> |
140 |
<configuration> |
<configuration> |
141 |
<source>1.6</source> |
<source>1.6</source> |
142 |
<target>1.6</target> |
<target>1.6</target> |
146 |
</configuration> |
</configuration> |
147 |
</plugin> |
</plugin> |
148 |
|
|
149 |
<plugin> |
<!-- <plugin> --> |
150 |
<artifactId>maven-antrun-plugin</artifactId> |
<!-- <artifactId>maven-antrun-plugin</artifactId> --> |
151 |
<version>1.3</version> |
<!-- <version>1.3</version> --> |
152 |
|
|
153 |
<executions> |
<!-- <executions> --> |
154 |
<execution> |
<!-- <execution> --> |
155 |
<phase>compile</phase> |
<!-- <phase>compile</phase> --> |
156 |
<goals> |
<!-- <goals> --> |
157 |
<goal>run</goal> |
<!-- <goal>run</goal> --> |
158 |
</goals> |
<!-- </goals> --> |
159 |
<configuration> |
<!-- <configuration> --> |
160 |
|
|
161 |
<tasks> |
<!-- <tasks> --> |
162 |
<taskdef resource="net/sf/antcontrib/antlib.xml"> |
<!-- <taskdef resource="net/sf/antcontrib/antlib.xml"> --> |
163 |
<classpath refid="maven.dependency.classpath" /> |
<!-- <classpath refid="maven.dependency.classpath" /> --> |
164 |
</taskdef> |
<!-- </taskdef> --> |
165 |
|
|
166 |
<typedef name="native2ascii" |
<!-- <typedef name="native2ascii" --> |
167 |
classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii"> |
<!-- classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii"> --> |
168 |
<classpath refid="maven.dependency.classpath" /> |
<!-- <classpath refid="maven.dependency.classpath" /> --> |
169 |
</typedef> |
<!-- </typedef> --> |
170 |
|
|
171 |
<for param="file" |
<!-- <for param="file" --> |
172 |
description="Alle .properties nach .propertieNative umbenennen"> |
<!-- description="Alle .properties nach .propertieNative umbenennen"> --> |
173 |
<path> |
<!-- <path> --> |
174 |
<fileset dir="src" includes="**/*.properties" /> |
<!-- <fileset dir="src" includes="**/*.properties" /> --> |
175 |
</path> |
<!-- </path> --> |
176 |
<sequential> |
<!-- <sequential> --> |
177 |
<move file="@{file}" overwrite="true" tofile="@{file}Native" |
<!-- <move file="@{file}" overwrite="true" tofile="@{file}Native" --> |
178 |
verbose="false" preservelastmodified="true" /> |
<!-- verbose="false" preservelastmodified="true" /> --> |
179 |
</sequential> |
<!-- </sequential> --> |
180 |
</for> |
<!-- </for> --> |
181 |
|
|
182 |
<native2ascii encoding="UTF8" src="src" |
<!-- <native2ascii encoding="UTF8" src="src" --> |
183 |
includes="**/*.propertiesNative" dest="src" ext=".properties" /> |
<!-- includes="**/*.propertiesNative" dest="src" ext=".properties" /> --> |
184 |
|
|
185 |
<for param="file"> |
<!-- <for param="file"> --> |
186 |
<path> |
<!-- <path> --> |
187 |
<fileset dir="src" includes="**/*.propertiesNative" /> |
<!-- <fileset dir="src" includes="**/*.propertiesNative" /> --> |
188 |
</path> |
<!-- </path> --> |
189 |
<sequential> |
<!-- <sequential> --> |
190 |
<delete file="@{file}" quiet="true" /> |
<!-- <delete file="@{file}" quiet="true" /> --> |
191 |
</sequential> |
<!-- </sequential> --> |
192 |
</for> |
<!-- </for> --> |
193 |
|
|
194 |
</tasks> |
<!-- </tasks> --> |
195 |
</configuration> |
<!-- </configuration> --> |
196 |
</execution> |
<!-- </execution> --> |
197 |
</executions> |
<!-- </executions> --> |
198 |
</plugin> |
<!-- </plugin> --> |
199 |
|
|
200 |
</plugins> |
</plugins> |
201 |
|
<pluginManagement> |
202 |
|
<plugins> |
203 |
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
204 |
|
<plugin> |
205 |
|
<groupId>org.eclipse.m2e</groupId> |
206 |
|
<artifactId>lifecycle-mapping</artifactId> |
207 |
|
<version>1.0.0</version> |
208 |
|
<configuration> |
209 |
|
<lifecycleMappingMetadata> |
210 |
|
<pluginExecutions> |
211 |
|
<pluginExecution> |
212 |
|
<pluginExecutionFilter> |
213 |
|
<groupId> |
214 |
|
org.apache.maven.plugins |
215 |
|
</groupId> |
216 |
|
<artifactId> |
217 |
|
maven-antrun-plugin |
218 |
|
</artifactId> |
219 |
|
<versionRange> |
220 |
|
[1.3,) |
221 |
|
</versionRange> |
222 |
|
<goals> |
223 |
|
<goal>run</goal> |
224 |
|
</goals> |
225 |
|
</pluginExecutionFilter> |
226 |
|
<action> |
227 |
|
<ignore></ignore> |
228 |
|
</action> |
229 |
|
</pluginExecution> |
230 |
|
</pluginExecutions> |
231 |
|
</lifecycleMappingMetadata> |
232 |
|
</configuration> |
233 |
|
</plugin> |
234 |
|
</plugins> |
235 |
|
</pluginManagement> |
236 |
</build> |
</build> |
237 |
|
|
238 |
|
|
275 |
</snapshotRepository> |
</snapshotRepository> |
276 |
|
|
277 |
</distributionManagement> |
</distributionManagement> |
|
<profiles> |
|
|
<profile> |
|
|
<id>resourceOperationRemove</id> |
|
|
<!-- When this profile is activated (e.g with "mavn install -P resourceOperationRemove" |
|
|
the build will remove any lines in the resource bundes that are tagged with |
|
|
REMOVEME_ --> |
|
|
<build> |
|
|
<plugins> |
|
|
<plugin> |
|
|
<groupId>org.codehaus.mojo</groupId> |
|
|
<artifactId>exec-maven-plugin</artifactId> |
|
|
<version>1.2</version> |
|
|
<executions> |
|
|
<execution> |
|
|
<phase>generate-sources</phase> |
|
|
<goals> |
|
|
<goal>java</goal> |
|
|
</goals> |
|
|
<configuration> |
|
|
<mainClass>schmitzm.lang.ResourceProviderOperator</mainClass> |
|
|
<arguments> |
|
|
<argument>-s</argument> |
|
|
<argument>${project.build.directory}/../src</argument> |
|
|
<argument>-b</argument> |
|
|
<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 |
|
|
</argument> |
|
|
</arguments> |
|
|
</configuration> |
|
|
</execution> |
|
|
</executions> |
|
|
</plugin> |
|
|
</plugins> |
|
|
</build> |
|
|
</profile> |
|
|
</profiles> |
|
|
|
|
278 |
</project> |
</project> |