changeset 313:9e2f9c85e7fe

Added system properties to maven surefire plugin to have them available in tests.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 21 Aug 2013 08:56:46 +0200
parents fb47c445af20
children 9b4d417f1064
files pom.xml
diffstat 1 files changed, 31 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pom.xml	Tue Aug 20 16:21:55 2013 +0200
+++ b/pom.xml	Wed Aug 21 08:56:46 2013 +0200
@@ -243,15 +243,43 @@
             <activation>
                 <activeByDefault>true</activeByDefault>
             </activation>
+            <dependencies>
+             <dependency>
+                   <groupId>junit</groupId>
+                   <artifactId>junit</artifactId>
+                   <version>4.10</version>
+            </dependency>
+            <dependency>
+                   <groupId>org.jboss.resteasy</groupId>
+                   <artifactId>resteasy-jaxrs</artifactId>
+                   <version>2.2.2.GA</version>
+            </dependency>
+            <dependency>
+                   <groupId>org.apache.httpcomponents</groupId>
+                   <artifactId>httpcore</artifactId>
+                   <version>4.1.4</version>
+            </dependency>
+            </dependencies>
             <build>
                 <plugins>
                     <plugin>
                         <artifactId>maven-surefire-plugin</artifactId>
                         <version>2.4.3</version>
                         <configuration>
-                            <!--
-                            <skip>true</skip>
-                            -->
+                            <systemProperties>
+                                <property>
+                                    <name>de.intevation.lada.test.singleprobe</name>
+                                    <value>/home/rrenkert/single.laf</value>
+                                </property>
+                                <property>
+                                    <name>de.intevation.lada.test.incompleteprobe</name>
+                                    <value>/home/rrenkert/incomplete.laf</value>
+                                </property>
+                                <property>
+                                    <name>de.intevation.lada.import</name>
+                                    <value>/opt/lada/config/import.json</value>
+                                </property>
+                            </systemProperties>
                         </configuration>
                     </plugin>
                 </plugins>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)