/[schmitzm]/trunk/schmitzm-parent/pom.xml
ViewVC logotype

Diff of /trunk/schmitzm-parent/pom.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1391 by alfonx, Wed Jan 26 15:25:32 2011 UTC revision 1396 by alfonx, Wed Jan 26 15:58:31 2011 UTC
# Line 4  Line 4 
4    
5          <groupId>de.schmitzm</groupId>          <groupId>de.schmitzm</groupId>
6          <artifactId>schmitzm-parent</artifactId>          <artifactId>schmitzm-parent</artifactId>
7          <version>1.0-SNAPSHOT</version>          <version>2.6-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    
# Line 16  Line 16 
16                  <geotools.version>2.6.5</geotools.version>                  <geotools.version>2.6.5</geotools.version>
17          </properties>          </properties>
18    
   
19          <issueManagement>          <issueManagement>
20                  <system>gforge</system>                  <system>gforge</system>
21                  <url>http://wald.intevation.org/tracker/?group_id=47</url>                  <url>http://wald.intevation.org/tracker/?group_id=47</url>
# Line 170  Line 169 
169                          <scope>test</scope>                          <scope>test</scope>
170                  </dependency>                  </dependency>
171          </dependencies>          </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>  </project>

Legend:
Removed from v.1391  
changed lines
  Added in v.1396

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26