[Schmitzm-commits] r1393 - in trunk: schmitzm-core/src/main/resources schmitzm-core/src/main/resources/de schmitzm-core/src/test/resources schmitzm-core/src/test/resources/de schmitzm-gt/src/main/java/de/schmitzm schmitzm-gt/src/main/resources schmitzm-gt/src/main/resources/de schmitzm-gt/src/test/java/de/schmitzm schmitzm-gt/src/test/resources schmitzm-gt/src/test/resources/de schmitzm-jfree/src/main/resources schmitzm-jfree/src/main/resources/de schmitzm-jfree/src/test/resources schmitzm-jfree/src/test/resources/de schmitzm-jfree-gt/src/main/resources schmitzm-jfree-gt/src/main/resources/de schmitzm-jfree-gt/src/test/resources schmitzm-jfree-gt/src/test/resources/de schmitzm-net/src/main/resources schmitzm-net/src/main/resources/de schmitzm-net/src/test/resources schmitzm-net/src/test/resources/de schmitzm-parent

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jan 26 16:38:45 CET 2011


Author: alfonx
Date: 2011-01-26 16:38:44 +0100 (Wed, 26 Jan 2011)
New Revision: 1393

Added:
   trunk/schmitzm-core/src/main/resources/de/
   trunk/schmitzm-core/src/main/resources/de/schmitzm/
   trunk/schmitzm-core/src/test/resources/de/
   trunk/schmitzm-core/src/test/resources/de/schmitzm/
   trunk/schmitzm-gt/src/main/resources/de/
   trunk/schmitzm-gt/src/main/resources/de/schmitzm/
   trunk/schmitzm-gt/src/test/resources/de/
   trunk/schmitzm-gt/src/test/resources/de/schmitzm/
   trunk/schmitzm-jfree-gt/src/main/resources/de/
   trunk/schmitzm-jfree-gt/src/main/resources/de/schmitzm/
   trunk/schmitzm-jfree-gt/src/test/resources/de/
   trunk/schmitzm-jfree-gt/src/test/resources/de/schmitzm/
   trunk/schmitzm-jfree/src/main/resources/de/
   trunk/schmitzm-jfree/src/main/resources/de/schmitzm/
   trunk/schmitzm-jfree/src/test/resources/de/
   trunk/schmitzm-jfree/src/test/resources/de/schmitzm/
   trunk/schmitzm-net/src/main/resources/de/
   trunk/schmitzm-net/src/main/resources/de/schmitzm/
   trunk/schmitzm-net/src/test/resources/de/
   trunk/schmitzm-net/src/test/resources/de/schmitzm/
Removed:
   trunk/schmitzm-gt/src/main/java/de/schmitzm/App.java
   trunk/schmitzm-gt/src/test/java/de/schmitzm/AppTest.java
Modified:
   trunk/schmitzm-parent/pom.xml
Log:
22

Deleted: trunk/schmitzm-gt/src/main/java/de/schmitzm/App.java
===================================================================
--- trunk/schmitzm-gt/src/main/java/de/schmitzm/App.java	2011-01-26 15:27:58 UTC (rev 1392)
+++ trunk/schmitzm-gt/src/main/java/de/schmitzm/App.java	2011-01-26 15:38:44 UTC (rev 1393)
@@ -1,13 +0,0 @@
-package de.schmitzm;
-
-/**
- * Hello world!
- *
- */
-public class App 
-{
-    public static void main( String[] args )
-    {
-        System.out.println( "Hello World!" );
-    }
-}

Deleted: trunk/schmitzm-gt/src/test/java/de/schmitzm/AppTest.java
===================================================================
--- trunk/schmitzm-gt/src/test/java/de/schmitzm/AppTest.java	2011-01-26 15:27:58 UTC (rev 1392)
+++ trunk/schmitzm-gt/src/test/java/de/schmitzm/AppTest.java	2011-01-26 15:38:44 UTC (rev 1393)
@@ -1,38 +0,0 @@
-package de.schmitzm;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest 
-    extends TestCase
-{
-    /**
-     * Create the test case
-     *
-     * @param testName name of the test case
-     */
-    public AppTest( String testName )
-    {
-        super( testName );
-    }
-
-    /**
-     * @return the suite of tests being tested
-     */
-    public static Test suite()
-    {
-        return new TestSuite( AppTest.class );
-    }
-
-    /**
-     * Rigourous Test :-)
-     */
-    public void testApp()
-    {
-        assertTrue( true );
-    }
-}

Modified: trunk/schmitzm-parent/pom.xml
===================================================================
--- trunk/schmitzm-parent/pom.xml	2011-01-26 15:27:58 UTC (rev 1392)
+++ trunk/schmitzm-parent/pom.xml	2011-01-26 15:38:44 UTC (rev 1393)
@@ -170,4 +170,171 @@
 			<scope>test</scope>
 		</dependency>
 	</dependencies>
+
+	<build>
+		<plugins>
+
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-jar-plugin</artifactId>
+				<version>2.3.1</version>
+				<executions>
+					<execution>
+						<goals>
+							<goal>test-jar</goal>
+							<goal>jar</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-resources-plugin</artifactId>
+				<version>2.4.2</version>
+			</plugin>
+
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<version>2.2</version>
+				<configuration>
+					<source>1.6</source>
+					<target>1.6</target>
+					<excludes>
+						<exclude>**/.svn</exclude> <!-- ??? -->
+					</excludes>
+				</configuration>
+			</plugin>
+
+			<plugin>
+				<artifactId>maven-antrun-plugin</artifactId>
+				<version>1.3</version>
+
+				<executions>
+					<execution>
+						<phase>compile</phase>
+						<goals>
+							<goal>run</goal>
+						</goals>
+						<configuration>
+
+							<tasks>
+								<taskdef resource="net/sf/antcontrib/antlib.xml">
+									<classpath refid="maven.dependency.classpath" />
+								</taskdef>
+
+								<typedef name="native2ascii"
+									classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii">
+									<classpath refid="maven.dependency.classpath" />
+								</typedef>
+
+								<for param="file"
+									description="Alle .properties nach .propertieNative umbenennen">
+									<path>
+										<fileset dir="src" includes="**/*.properties" />
+									</path>
+									<sequential>
+										<move file="@{file}" overwrite="true" tofile="@{file}Native"
+											verbose="false" preservelastmodified="true" />
+									</sequential>
+								</for>
+
+								<native2ascii encoding="UTF8" src="src"
+									includes="**/*.propertiesNative" dest="src" ext=".properties" />
+
+								<for param="file">
+									<path>
+										<fileset dir="src" includes="**/*.propertiesNative" />
+									</path>
+									<sequential>
+										<delete file="@{file}" quiet="true" />
+									</sequential>
+								</for>
+
+							</tasks>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+
+		</plugins>
+	</build>
+
+
+
+	<repositories>
+
+		<repository>
+			<snapshots>
+				<enabled>false</enabled>
+			</snapshots>
+			<id>central</id>
+			<name>libs-releases</name>
+			<url>http://artifactory.wikisquare.de/artifactory/libs-releases</url>
+		</repository>
+
+		<repository>
+			<snapshots />
+			<id>snapshots</id>
+			<name>libs-snapshots</name>
+			<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots
+			</url>
+		</repository>
+
+	</repositories>
+
+	<distributionManagement>
+
+		<repository>
+			<id>artifactory.wikisquare.de</id>
+			<name>artifactory.wikisquare.de-releases</name>
+			<url>http://artifactory.wikisquare.de/artifactory/libs-releases-local
+			</url>
+		</repository>
+
+		<snapshotRepository>
+			<id>artifactory.wikisquare.de</id>
+			<name>artifactory.wikisquare.de-snapshots</name>
+			<url>http://artifactory.wikisquare.de/artifactory/libs-snapshots-local
+			</url>
+		</snapshotRepository>
+
+	</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>
+
 </project>



More information about the Schmitzm-commits mailing list