[Schmitzm-commits] r2263 - in trunk: schmitzm-excelcsv schmitzm-mail

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Fri Mar 1 01:00:42 CET 2013


Author: mojays
Date: 2013-03-01 01:00:40 +0100 (Fri, 01 Mar 2013)
New Revision: 2263

Modified:
   trunk/schmitzm-excelcsv/pom.xml
   trunk/schmitzm-mail/pom.xml
Log:
schmitzm-excelcsv/pom.xml: Execution of ResourceProviderOperator added to handle CSVResourceBundle
schmitzm-mail/pom.xml: Execution of ResourceProviderOperator added to handle MailGUIResourceBundle


Modified: trunk/schmitzm-excelcsv/pom.xml
===================================================================
--- trunk/schmitzm-excelcsv/pom.xml	2013-02-28 23:53:35 UTC (rev 2262)
+++ trunk/schmitzm-excelcsv/pom.xml	2013-03-01 00:00:40 UTC (rev 2263)
@@ -42,4 +42,39 @@
 		</dependency>
 	</dependencies>
 
+	<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>de.schmitzm.lang.ResourceProviderOperator</mainClass>
+									<arguments>
+										<argument>-s</argument>
+										<argument>${basedir}/src/main/resources</argument>
+										<argument>-b</argument>
+										<argument>de.schmitzm.csv.resource.locales.CSVResourceBundle
+										</argument>
+									</arguments>
+								</configuration>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
 </project>

Modified: trunk/schmitzm-mail/pom.xml
===================================================================
--- trunk/schmitzm-mail/pom.xml	2013-02-28 23:53:35 UTC (rev 2262)
+++ trunk/schmitzm-mail/pom.xml	2013-03-01 00:00:40 UTC (rev 2263)
@@ -42,4 +42,40 @@
 		</dependency>
 	</dependencies>
 
+	<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>de.schmitzm.lang.ResourceProviderOperator</mainClass>
+									<arguments>
+										<argument>-s</argument>
+										<argument>${basedir}/src/main/resources</argument>
+										<argument>-b</argument>
+										<argument>de.schmitzm.net.mail.gui.resource.locales.MailGUIResourceBundle
+										</argument>
+									</arguments>
+								</configuration>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
+
 </project>



More information about the Schmitzm-commits mailing list