/[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 1393 by alfonx, Wed Jan 26 15:38:44 2011 UTC
# Line 170  Line 170 
170                          <scope>test</scope>                          <scope>test</scope>
171                  </dependency>                  </dependency>
172          </dependencies>          </dependencies>
173    
174            <build>
175                    <plugins>
176    
177                            <plugin>
178                                    <groupId>org.apache.maven.plugins</groupId>
179                                    <artifactId>maven-jar-plugin</artifactId>
180                                    <version>2.3.1</version>
181                                    <executions>
182                                            <execution>
183                                                    <goals>
184                                                            <goal>test-jar</goal>
185                                                            <goal>jar</goal>
186                                                    </goals>
187                                            </execution>
188                                    </executions>
189                            </plugin>
190    
191                            <plugin>
192                                    <groupId>org.apache.maven.plugins</groupId>
193                                    <artifactId>maven-resources-plugin</artifactId>
194                                    <version>2.4.2</version>
195                            </plugin>
196    
197                            <plugin>
198                                    <groupId>org.apache.maven.plugins</groupId>
199                                    <artifactId>maven-compiler-plugin</artifactId>
200                                    <version>2.2</version>
201                                    <configuration>
202                                            <source>1.6</source>
203                                            <target>1.6</target>
204                                            <excludes>
205                                                    <exclude>**/.svn</exclude> <!-- ??? -->
206                                            </excludes>
207                                    </configuration>
208                            </plugin>
209    
210                            <plugin>
211                                    <artifactId>maven-antrun-plugin</artifactId>
212                                    <version>1.3</version>
213    
214                                    <executions>
215                                            <execution>
216                                                    <phase>compile</phase>
217                                                    <goals>
218                                                            <goal>run</goal>
219                                                    </goals>
220                                                    <configuration>
221    
222                                                            <tasks>
223                                                                    <taskdef resource="net/sf/antcontrib/antlib.xml">
224                                                                            <classpath refid="maven.dependency.classpath" />
225                                                                    </taskdef>
226    
227                                                                    <typedef name="native2ascii"
228                                                                            classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii">
229                                                                            <classpath refid="maven.dependency.classpath" />
230                                                                    </typedef>
231    
232                                                                    <for param="file"
233                                                                            description="Alle .properties nach .propertieNative umbenennen">
234                                                                            <path>
235                                                                                    <fileset dir="src" includes="**/*.properties" />
236                                                                            </path>
237                                                                            <sequential>
238                                                                                    <move file="@{file}" overwrite="true" tofile="@{file}Native"
239                                                                                            verbose="false" preservelastmodified="true" />
240                                                                            </sequential>
241                                                                    </for>
242    
243                                                                    <native2ascii encoding="UTF8" src="src"
244                                                                            includes="**/*.propertiesNative" dest="src" ext=".properties" />
245    
246                                                                    <for param="file">
247                                                                            <path>
248                                                                                    <fileset dir="src" includes="**/*.propertiesNative" />
249                                                                            </path>
250                                                                            <sequential>
251                                                                                    <delete file="@{file}" quiet="true" />
252                                                                            </sequential>
253                                                                    </for>
254    
255                                                            </tasks>
256                                                    </configuration>
257                                            </execution>
258                                    </executions>
259                            </plugin>
260    
261                    </plugins>
262            </build>
263    
264    
265    
266            <repositories>
267    
268                    <repository>
269                            <snapshots>
270                                    <enabled>false</enabled>
271                            </snapshots>
272                            <id>central</id>
273                            <name>libs-releases</name>
274                            <url>http://artifactory.wikisquare.de/artifactory/libs-releases</url>
275                    </repository>
276    
277                    <repository>
278                            <snapshots />
279                            <id>snapshots</id>
280                            <name>libs-snapshots</name>
281                            <url>http://artifactory.wikisquare.de/artifactory/libs-snapshots
282                            </url>
283                    </repository>
284    
285            </repositories>
286    
287            <distributionManagement>
288    
289                    <repository>
290                            <id>artifactory.wikisquare.de</id>
291                            <name>artifactory.wikisquare.de-releases</name>
292                            <url>http://artifactory.wikisquare.de/artifactory/libs-releases-local
293                            </url>
294                    </repository>
295    
296                    <snapshotRepository>
297                            <id>artifactory.wikisquare.de</id>
298                            <name>artifactory.wikisquare.de-snapshots</name>
299                            <url>http://artifactory.wikisquare.de/artifactory/libs-snapshots-local
300                            </url>
301                    </snapshotRepository>
302    
303            </distributionManagement>
304            <profiles>
305                    <profile>
306                            <id>resourceOperationRemove</id>
307                            <!-- When this profile is activated (e.g with "mavn install -P resourceOperationRemove"
308                                    the build will remove any lines in the resource bundes that are tagged with
309                                    REMOVEME_ -->
310                            <build>
311                                    <plugins>
312                                            <plugin>
313                                                    <groupId>org.codehaus.mojo</groupId>
314                                                    <artifactId>exec-maven-plugin</artifactId>
315                                                    <version>1.2</version>
316                                                    <executions>
317                                                            <execution>
318                                                                    <phase>generate-sources</phase>
319                                                                    <goals>
320                                                                            <goal>java</goal>
321                                                                    </goals>
322                                                                    <configuration>
323                                                                            <mainClass>schmitzm.lang.ResourceProviderOperator</mainClass>
324                                                                            <arguments>
325                                                                                    <argument>-s</argument>
326                                                                                    <argument>${project.build.directory}/../src</argument>
327                                                                                    <argument>-b</argument>
328                                                                                    <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
329                                                                                    </argument>
330                                                                            </arguments>
331                                                                    </configuration>
332                                                            </execution>
333                                                    </executions>
334                                            </plugin>
335                                    </plugins>
336                            </build>
337                    </profile>
338            </profiles>
339    
340  </project>  </project>

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26